TombEngine/TR5Main/Game/text.cpp
TokyoSU 713c992d76 Added Sophia
- 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)
2019-12-02 14:49:19 +01:00

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);
}