Posted by cardoow.
herez some shizzle
Code:
void SendCommandToConsole(char* szCommand)
{
static DWORD dwSend = 0x41B070;
__asm push szCommand
__asm call [dwSend]
__asm add esp, 0x4
}
Code:
void RegisterFont(const char* font)
{
static DWORD dwCall = 0x4766F0;
__asm push font
__asm call [dwCall]
__asm add esp, 0x4
}
Code:
void Con_printf(const char* text)
{
static DWORD dwCall = 0x41BB90;
__asm push text
__asm call [dwCall]
__asm add esp, 0x4
}
Code:
void RegisterSkin(const char* skin)
{
static DWORD dwCall = 0x4700E0;
__asm push skin
__asm call [dwCall]
__asm add esp, 0x4
}
Code:
void drawEngineText(const char* text, Vec4 Color, int x, int y, float fSize)
{
static DWORD dwCall = 0x410B70;
__asm PUSH 1
__asm PUSH Color
__asm PUSH text
__asm PUSH fSize
__asm PUSH y
__asm PUSH x
__asm CALL [dwCall]
__asm ADD ESP,0x18
}
for RE_RegisterFont i logged 2 fonts:
font: fonts/fontImage_0_20t
font: fonts/bigfont
but when i try to register it i get this error:
RE_RegisterFont: FreeType code not available, in console.....
i tried to jump over it but then my game crashes...
anyone got the samen problem?