mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-13 05:57:05 +03:00

- deleted all the __cdecl except for the #define function. because /Gd enable the __cdecl for function by default. - added the commented code in FireWeapon for TR3 entity (some function is missing)
17 lines
No EOL
588 B
C
17 lines
No EOL
588 B
C
#pragma once
|
|
|
|
#include "..\Global\global.h"
|
|
|
|
//#define DisableBaddieAI ((void (__cdecl*)(short)) 0x0045B150)
|
|
//#define CreateZone ((void (__cdecl*)(ITEM_INFO*)) 0x0045B5E0)
|
|
//#define ClearLOT ((void (__cdecl*)(LOT_INFO*)) 0x0045B740)
|
|
//#define SameZoneAIObject ((int (__cdecl*)(CREATURE_INFO*, short)) 0x0040C070)
|
|
|
|
void InitialiseLOTarray(int allocMem);
|
|
int EnableBaddieAI(short itemNum, int always);
|
|
void InitialiseSlot(short itemNum, short slot);
|
|
void DisableBaddieAI(short itemNumber);
|
|
void ClearLOT(LOT_INFO* LOT);
|
|
void CreateZone(ITEM_INFO* item);
|
|
|
|
void Inject_Lot(); |