mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-30 08:47:58 +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)
12 lines
No EOL
229 B
C++
12 lines
No EOL
229 B
C++
#include "text.h"
|
|
#include "draw.h"
|
|
|
|
void PrintString(int x, int y, int unk1, char* string, int unk2)
|
|
{
|
|
g_Renderer->PrintString(x, y, string, 0xFFFFFFFF, 0);
|
|
}
|
|
|
|
void Inject_Text()
|
|
{
|
|
INJECT(0x00480BC0, PrintString);
|
|
} |