Decompiled ControlGuard()

This commit is contained in:
Montagna Marco 2019-12-24 13:52:22 +01:00
parent b4e36a0e28
commit bf5aa5703b
2 changed files with 548 additions and 565 deletions

File diff suppressed because it is too large Load diff

View file

@ -1,7 +1,7 @@
#pragma once
#include "../Global/global.h"
#define ControlGuard ((void (__cdecl*)(short)) 0x0046F5E0)
//#define ControlGuard ((void (__cdecl*)(short)) 0x0046F5E0)
#define ControlSubmarine ((void (__cdecl*)(short)) 0x0045D3F0)
#define ControlDoberman ((void (__cdecl*)(short)) 0x00428A10)
#define ControlDog ((void (__cdecl*)(short)) 0x0043B730)
@ -53,4 +53,5 @@ void PushableBlockControl(short itemNumber);
void PushableBlockCollision(short itemNum, ITEM_INFO* laraitem, COLL_INFO* coll);
int TestBlockMovable(ITEM_INFO* item, int blokhite);
int TestBlockPush(ITEM_INFO* item, int blokhite, unsigned short quadrant);
int TestBlockPull(ITEM_INFO* item, int blokhite, short quadrant);
int TestBlockPull(ITEM_INFO* item, int blokhite, short quadrant);
void ControlGuard(short itemNum);