#pragma once #define WEAK __declspec(selectany) namespace game { /*************************************************************** * Functions **************************************************************/ WEAK symbol Com_Quit_f{ 0xBADC90 }; WEAK symbol Cbuf_AddText{ 0xB7C290 }; WEAK symbol Cmd_ExecuteSingleCommand{ 0xB7D040 }; WEAK symbol Cmd_AddCommandInternal{ 0xB7C8F0 }; WEAK symbol Cmd_RemoveCommand{ 0xB7D630 }; WEAK symbol Cmd_TokenizeString{ 0xB7D850 }; WEAK symbol Cmd_EndTokenizeString{ 0xB7CC90 }; WEAK symbol DB_GetXAssetHeaderName{ 0x9E5BA0 }; WEAK symbol DB_EnumXAssets_FastFile{ 0xA76CE0 }; WEAK symbol DB_IsXAssetDefault{ 0xA780D0 }; WEAK symbol Dvar_RegisterBool{ 0xCEB380 }; WEAK symbol Dvar_RegisterInt{ 0xCEB920 }; WEAK symbol Dvar_RegisterFloat{ 0xCEB890 }; WEAK symbol Dvar_RegisterString{ 0xCEBD50 }; WEAK symbol Dvar_RegisterVec2{ 0xCEBF50 }; WEAK symbol Dvar_RegisterVec3{ 0xCEBFE0 }; WEAK symbol Dvar_RegisterVec4{ 0xCEC110 }; WEAK symbol Dvar_SetCommand{ 0xCECB30 }; WEAK symbol Dvar_FindVar{ 0xCEA460 }; WEAK symbol Dvar_GetCombinedString{ 0xBB1F30 }; WEAK symbol Dvar_ValueToString{ 0xCEED00 }; WEAK symbol Dvar_GenerateChecksum{ 0xCEA520 }; #define Dvar_GenerateHash(name) \ Dvar_GenerateChecksum(name); WEAK symbol Live_SyncOnlineDataFlags{ 0xDC5CE0 }; WEAK symbol Material_RegisterHandle{ 0xE11CE0 }; WEAK symbol R_RegisterFont{ 0xDFC670 }; WEAK symbol R_TextWidth{ 0xDFC770 }; WEAK symbol R_GetFontHeight{ 0x12727B0 }; WEAK symbol R_DrawSomething{ 0xDFBD00 }; WEAK symbol R_SyncRenderThread{ 0xE27EE0 }; WEAK symbol R_AddCmdDrawStretchPic{ 0xE24DC0 }; WEAK symbol IW7_AddBaseDrawTextCmd{ 0xE23D90 }; #define R_AddCmdDrawText(TXT, MC, F, X, Y, XS, YS, R, C, S) \ IW7_AddBaseDrawTextCmd(TXT, MC, F, game::R_GetFontHeight(F), X, Y, XS, YS, R, C,-1, 0, game::R_DrawSomething(S), 0, 0, 0, 0) #define R_AddCmdDrawTextWithCursor(TXT, MC, F, UNK, X, Y, XS, YS, R, C, S, CP, CC) \ IW7_AddBaseDrawTextCmd(TXT, MC, F, game::R_GetFontHeight(F), X, Y, XS, YS, R, C, CP, CC, game::R_DrawSomething(S), 0, 0, 0, 0) WEAK symbol ScrPlace_GetViewPlacement{ 0x9E4090 }; WEAK symbol SV_GameSendServerCommand{ 0xC54780 }; /*************************************************************** * Variables **************************************************************/ WEAK symbol sv_cmd_args{ 0x5D65C20 }; WEAK symbol cmd_args{ 0x5D65B70 }; WEAK symbol cmd_functions{ 0x5D65CC8 }; WEAK symbol keyCatchers{ 0x2246C34 }; WEAK symbol playerKeys{ 0x523BA0C }; WEAK symbol dvarCount{ 0x7595E54 }; WEAK symbol dvarPool{ 0x7595E60 }; }