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)
14 lines
No EOL
434 B
C
14 lines
No EOL
434 B
C
#pragma once
|
|
|
|
#define MallocBuffer VAR_U_(0x00E4B10C, char*)
|
|
#define MallocSize VAR_U_(0x00E4B058, int)
|
|
#define MallocPtr VAR_U_(0x00E4B0DC, char*)
|
|
#define MallocFree VAR_U_(0x00E4B0F4, int)
|
|
#define MallocUsed VAR_U_(0x00E4B0F0, int)
|
|
|
|
#define InitGameMalloc ((void (__cdecl*)()) 0x004A7CB0)
|
|
#define GameMallocReal ((char* (__cdecl*)(int)) 0x004A7D00)
|
|
|
|
char* GameMalloc(int size);
|
|
|
|
void Inject_Malloc(); |