2018-08-19 09:46:58 +02:00
|
|
|
#pragma once
|
|
|
|
#include "..\Global\global.h"
|
|
|
|
|
2019-10-29 20:05:58 +01:00
|
|
|
//#define ItemNewRoom ((void (__cdecl*)(__int16, __int16)) 0x00440DA0)
|
|
|
|
//#define EffectNewRoom ((void (__cdecl*)(__int16, __int16)) 0x004412F0)
|
|
|
|
//#define KillEffect ((void (__cdecl*)(__int16)) 0x00441180)
|
|
|
|
//#define CreateNewEffect ((__int16 (__cdecl*)(__int16)) 0x004410F0)
|
|
|
|
//#define InitialiseFXArray ((void (__cdecl*)(__int32)) 0x00441080)
|
|
|
|
//#define AddActiveItem ((void (__cdecl*)(__int16)) 0x00440D10)
|
|
|
|
//#define RemoveActiveItem ((void (__cdecl*)(__int16)) 0x00440B60)
|
|
|
|
//#define RemoveDrawnItem ((void (__cdecl*)(__int16)) 0x00440C40)
|
|
|
|
//#define InitialiseItem ((void (__cdecl*)(__int16)) 0x004408B0)
|
2018-09-22 23:54:36 +02:00
|
|
|
//#define CreateItem ((__int16 (__cdecl*)()) 0x00440840)
|
2019-10-29 20:05:58 +01:00
|
|
|
//#define KillItem ((void (__cdecl*)(__int16)) 0x00440620)
|
2018-08-19 09:46:58 +02:00
|
|
|
#define ItemNearLara ((__int32 (__cdecl*)(PHD_3DPOS*, __int32)) 0x00432580)
|
|
|
|
#define TranslateItem ((void (__cdecl*)(ITEM_INFO*, __int32, __int32, __int32)) 0x00415960)
|
|
|
|
|
2019-10-29 20:05:58 +01:00
|
|
|
void __cdecl EffectNewRoom(__int16 fxNumber, __int16 roomNumber);
|
|
|
|
void __cdecl ItemNewRoom(__int16 itemNum, __int16 roomNumber);
|
|
|
|
void __cdecl AddActiveItem(__int16 itemNumber);
|
2018-09-08 18:43:59 +02:00
|
|
|
void __cdecl ClearItem(__int16 itemNum);
|
2018-09-22 23:54:36 +02:00
|
|
|
__int16 __cdecl CreateItem();
|
2018-11-27 11:15:30 +01:00
|
|
|
void __cdecl RemoveAllItemsInRoom(__int16 roomNumber, __int16 objectNumber);
|
2019-10-29 20:05:58 +01:00
|
|
|
void __cdecl RemoveActiveItem(__int16 itemNum);
|
|
|
|
void __cdecl RemoveDrawnItem(__int16 itemNum);
|
|
|
|
void __cdecl InitialiseFXArray(__int32 allocmem);
|
|
|
|
__int16 __cdecl CreateNewEffect(__int16 roomNum);
|
|
|
|
void __cdecl KillEffect(__int16 fxNumber);
|
|
|
|
void __cdecl InitialiseItem(__int16 itemNum);
|
|
|
|
__int16 __cdecl CreateItem();
|
|
|
|
void __cdecl InitialiseItemArray(__int32 numitems);
|
2019-11-01 08:35:01 +01:00
|
|
|
void __cdecl KillItem(__int16 itemNum);
|
2018-09-08 18:43:59 +02:00
|
|
|
|
2018-08-19 09:46:58 +02:00
|
|
|
void Inject_Items();
|