2021-04-20 00:56:11 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#define WEAK __declspec(selectany)
|
|
|
|
|
|
|
|
namespace game
|
|
|
|
{
|
|
|
|
// Functions
|
|
|
|
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<void(int type, VariableUnion u)> AddRefToValue{0x1405C0EB0};
|
|
|
|
WEAK symbol<void(unsigned int id)> AddRefToObject{0x1405C0EA0};
|
|
|
|
WEAK symbol<unsigned int(unsigned int id)> AllocThread{0x1405C1200};
|
|
|
|
WEAK symbol<ObjectVariableValue*(unsigned int* id)> AllocVariable{0x1405C1260};
|
|
|
|
WEAK symbol<void(int type, VariableUnion u)> RemoveRefToValue{0x1405C29B0};
|
|
|
|
WEAK symbol<void(unsigned int id)> RemoveRefToObject{0x1405C28A0};
|
2021-04-23 03:46:11 +02:00
|
|
|
|
2021-09-17 00:12:54 +02:00
|
|
|
WEAK symbol<void(unsigned int weapon, bool isAlternate,
|
2022-03-18 22:02:44 +01:00
|
|
|
char* output, unsigned int maxStringLen)> BG_GetWeaponNameComplete{0x1406A0800};
|
2021-09-17 00:12:54 +02:00
|
|
|
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<void(int localClientNum, const char* text)> Cbuf_AddText{0x14059A050};
|
2021-04-20 00:56:11 +02:00
|
|
|
|
2022-08-30 02:23:07 +02:00
|
|
|
WEAK symbol<void(int localClientNum, const char* message, int style)> CG_GameMessage{0x14037F450};
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<void(int localClientNum, const char* message)> CG_GameMessageBold{0x14037F1B0};
|
2022-01-27 00:53:30 +01:00
|
|
|
WEAK symbol<char*(const unsigned int weapon,
|
2022-03-18 22:02:44 +01:00
|
|
|
bool isAlternate, char* outputBuffer, int bufferLen)> CG_GetWeaponDisplayName{0x1403B9210};
|
2021-05-09 09:37:02 +03:00
|
|
|
|
2022-07-18 19:20:09 +02:00
|
|
|
WEAK symbol<void(ScreenPlacement* place, float x, float y, float w, float h, int horzAlign, int vertAlign,
|
|
|
|
float t0, float s0, float t1, float s1, float* color, Material* material)> CL_DrawStretchPic{0x1403C9570};
|
|
|
|
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<void(const char* cmdName, void(), cmd_function_s* allocedCmd)> Cmd_AddCommandInternal{0x14059A5F0};
|
|
|
|
WEAK symbol<void(int localClientNum, int controllerIndex, const char* text)> Cmd_ExecuteSingleCommand{0x14059ABA0};
|
2021-04-20 00:56:11 +02:00
|
|
|
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<void(errorParm code, const char* message, ...)> Com_Error{0x1405A2D80};
|
2022-03-19 23:06:00 +01:00
|
|
|
WEAK symbol<void(char const* finalMessage)> Com_Shutdown{0x1405A62C0};
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<void()> Com_Quit_f{0x1405A50D0};
|
2022-03-19 23:06:00 +01:00
|
|
|
WEAK symbol<bool()> Com_InFrontend{0x140328BD0};
|
2022-09-03 02:24:46 +02:00
|
|
|
WEAK symbol<bool(const char* mapName, const char** pBaseMapName)> Com_IsAddonMap{0x140609570};
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<void()> Quit{0x1405A52A0};
|
2021-05-09 09:37:02 +03:00
|
|
|
|
2021-04-20 00:56:11 +02:00
|
|
|
WEAK symbol<void(XAssetType type, void(__cdecl* func)(game::XAssetHeader, void*), const void* inData, bool includeOverride)>
|
2022-03-18 22:02:44 +01:00
|
|
|
DB_EnumXAssets_Internal{0x1404129F0};
|
|
|
|
WEAK symbol<const char*(const XAsset* asset)> DB_GetXAssetName{0x1403E4090};
|
|
|
|
WEAK symbol<void(XZoneInfo* zoneInfo, unsigned int zoneCount, DBSyncMode syncMode)> DB_LoadXAssets{0x140414FF0};
|
|
|
|
WEAK symbol<XAssetHeader(XAssetType type, const char* name, int allowCreateDefault)> DB_FindXAssetHeader{0x140412F60};
|
2022-05-02 19:00:08 -04:00
|
|
|
WEAK symbol<DB_FileSysInterface*()> DB_FSInitialize{0x140272EC0};
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<int(const RawFile* rawfile)> DB_GetRawFileLen{0x140413D80};
|
|
|
|
WEAK symbol<int(const RawFile* rawfile, char* buf, int size)> DB_GetRawBuffer{0x140413C40};
|
2022-08-01 04:30:05 +02:00
|
|
|
WEAK symbol<XAssetEntry*(XAssetType type, XAssetHeader* header)> DB_LinkXAssetEntry1{0x140414900};
|
2022-08-17 03:05:45 +02:00
|
|
|
WEAK symbol<bool(const char* zoneName)> DB_IsLocalized{0x1404141E0};
|
2022-08-22 01:42:13 +02:00
|
|
|
WEAK symbol<size_t(XAssetType type)> DB_GetXAssetTypeSize{0x1403E40D0};
|
|
|
|
WEAK symbol<void(void* levelLoad, const char* name,
|
|
|
|
const unsigned int allocFlags, const unsigned __int64 sizeEst)> DB_LevelLoadAddZone{0x1404145D0};
|
2022-08-30 02:23:07 +02:00
|
|
|
WEAK symbol<int(game::XAssetType type, const char* name)> DB_IsXAssetDefault{0x1404143C0};
|
2022-08-30 23:30:55 +02:00
|
|
|
WEAK symbol<int(game::XAssetType type, const char* name)> DB_XAssetExists{0x140417FD0};
|
2022-08-17 03:05:45 +02:00
|
|
|
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<dvar_t*(const char* name)> Dvar_FindVar{0x140618F90};
|
2022-06-17 20:00:39 +02:00
|
|
|
WEAK symbol<dvar_t*(int hash)> Dvar_FindMalleableVar{0x140618F00};
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<void(char* buffer, int index)> Dvar_GetCombinedString{0x1405A75D0};
|
|
|
|
WEAK symbol<dvar_t*(int hash, const char* name, bool value, unsigned int flags)> Dvar_RegisterBool{0x140617BB0};
|
2022-04-15 12:54:49 -04:00
|
|
|
WEAK symbol<dvar_t*(int hash, const char* name, const char** valueList, int defaultIndex, unsigned int flags)> Dvar_RegisterEnum{0x140617E90};
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<dvar_t*(int hash, const char* name, int value, int min, int max, unsigned int flags)> Dvar_RegisterInt{0x140618090};
|
2022-01-07 01:22:05 +01:00
|
|
|
WEAK symbol<dvar_t*(int hash, const char* dvarName, float value, float min, float max, unsigned int flags)>
|
2022-03-18 22:02:44 +01:00
|
|
|
Dvar_RegisterFloat{0x140617F80};
|
2022-01-07 01:22:05 +01:00
|
|
|
WEAK symbol<dvar_t*(int hash, const char* dvarName, const char* value, unsigned int flags)>
|
2022-03-18 22:02:44 +01:00
|
|
|
Dvar_RegisterString{0x140618170};
|
2021-04-24 00:26:31 +02:00
|
|
|
WEAK symbol<dvar_t*(int dvarName, const char* a2, float x, float y, float z, float w, float min, float max,
|
2022-03-18 22:02:44 +01:00
|
|
|
unsigned int flags)> Dvar_RegisterVec4{0x1406185F0};
|
|
|
|
WEAK symbol<const char*(const dvar_t* dvar)> Dvar_DisplayableValue{0x140618EA0};
|
|
|
|
WEAK symbol<const char*(dvar_t* dvar, void* a2, void* value)> Dvar_ValueToString{0x14061B8F0};
|
|
|
|
WEAK symbol<void(int hash, const char* name, const char* buffer)> Dvar_SetCommand{0x14061A5C0};
|
|
|
|
WEAK symbol<void(const char* dvarName, const char* string, DvarSetSource source)> Dvar_SetFromStringFromSource{0x14061A910};
|
2022-06-28 12:33:49 +02:00
|
|
|
WEAK symbol<void(const dvar_t* dvar, const char* value)> Dvar_SetString{0x14061ABF0};
|
2022-07-18 19:20:09 +02:00
|
|
|
WEAK symbol<void(const dvar_t* dvar, DvarSetSource source)> Dvar_Reset{0x140619FE0};
|
2021-04-20 00:56:11 +02:00
|
|
|
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<int(const char* fname)> generateHashValue{0x140343D20};
|
2021-04-20 00:56:11 +02:00
|
|
|
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<bool()> CL_IsCgameInitialized{0x1403CA0C0};
|
2021-09-14 22:42:44 +02:00
|
|
|
WEAK symbol<void(const char* text, int maxChars, Font_s* font, float x, float y, float xScale, float yScale,
|
|
|
|
const float* color, int style, const float* glowColor, Material* fxMaterial, Material* fxMaterialGlow,
|
2022-03-18 22:02:44 +01:00
|
|
|
int fxBirthTime, int fxLetterTime, int fxDecayStartTime, int fxDecayDuration, int a17)> CL_DrawTextPhysicalWithEffects{0x1403D4990};
|
|
|
|
|
|
|
|
WEAK symbol<unsigned int(unsigned int parentId, unsigned int name)> FindVariable{0x1405C1D50};
|
|
|
|
WEAK symbol<unsigned int(int entnum, unsigned int classnum)> FindEntityId{0x1405C1C50};
|
|
|
|
WEAK symbol<void(VariableValue* result, unsigned int classnum, int entnum, int offset)> GetEntityFieldValue{0x1405C6100};
|
|
|
|
WEAK symbol<unsigned int(unsigned int parentId, unsigned int unsignedValue)> GetVariable{0x1405C2690};
|
|
|
|
WEAK symbol<unsigned int(unsigned int parentId, unsigned int unsignedValue)> GetNewVariable{0x1405C22B0};
|
|
|
|
WEAK symbol<unsigned int(unsigned int parentId, unsigned int unsignedValue)> GetNewArrayVariable{0x1405C2130};
|
|
|
|
WEAK symbol<void(unsigned int parentId, unsigned int id, VariableValue* value)> SetNewVariableValue{0x1405C5EA0};
|
|
|
|
WEAK symbol<void(unsigned int parentId, unsigned int index)> RemoveVariableValue{0x1405C2A50};
|
2023-03-07 19:34:33 +01:00
|
|
|
WEAK symbol<unsigned int(unsigned int)> GetObjectType{0x1405C25D0};
|
2022-03-18 22:02:44 +01:00
|
|
|
|
2023-04-14 19:53:17 +02:00
|
|
|
WEAK symbol<GamerProfileData*(GamerProfileData*, int controllerIndex,
|
|
|
|
const char* name, __int64 a4)> GamerProfile_GetDataByName{0x1403DCB70};
|
|
|
|
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<unsigned int(const char* name)> G_GetWeaponForName{0x14051B260};
|
2021-07-30 04:13:43 +02:00
|
|
|
WEAK symbol<int(void* ps, unsigned int weapon, int a3, int a4, __int64 a5, int a6)>
|
2022-03-18 22:02:44 +01:00
|
|
|
G_GivePlayerWeapon{0x14051B660};
|
|
|
|
WEAK symbol<void(void* ps, const unsigned int weapon, int hadWeapon)> G_InitializeAmmo{0x1404C4110};
|
2022-10-14 23:09:17 +01:00
|
|
|
WEAK symbol<void(int localClientNum, const unsigned int weapon)> G_SelectWeapon{0x14051C0D0};
|
2023-02-15 18:12:50 +01:00
|
|
|
WEAK symbol<void(trace_t* results, const float* start, const float* end,
|
|
|
|
const Bounds* bounds, int passEntityNum, int contentmask)> G_TraceCapsule{0x1404CBFE0};
|
|
|
|
WEAK symbol<void(int* hitNum, const float* start, const float* end,
|
|
|
|
int passEntityNum, int passEntityNum1, int contentmask)> G_SightTrace{0x1404CBCA0};
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<bool(int localClientNum, ScreenPlacement* screenPlacement, const float* worldDir, float* outScreenPos)> WorldPosToScreenPos{0x14036F310};
|
2021-07-30 04:13:43 +02:00
|
|
|
|
2022-11-11 22:04:24 +01:00
|
|
|
WEAK symbol<char*(const size_t size)> Hunk_AllocateTempMemoryHigh{0x140614790};
|
2023-02-15 18:12:50 +01:00
|
|
|
WEAK symbol<char*(const size_t size, const size_t alignment)> Hunk_AllocAlignInternal{0x140613D80};
|
2022-11-11 22:04:24 +01:00
|
|
|
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<char*(char* string)> I_CleanStr{0x140620660};
|
2021-04-24 00:26:31 +02:00
|
|
|
|
2022-01-07 01:22:05 +01:00
|
|
|
WEAK symbol<char*(GfxImage* image, uint32_t width, uint32_t height, uint32_t depth, uint32_t mipCount,
|
2022-03-18 22:02:44 +01:00
|
|
|
uint32_t imageFlags, DXGI_FORMAT imageFormat, int a8, const char* name, const void* initData)> Image_Setup{0x14074B2A0};
|
2021-08-23 17:11:45 +02:00
|
|
|
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<const char*(int, int, int)> Key_KeynumToString{0x1403D32D0};
|
2022-01-05 17:11:40 +01:00
|
|
|
|
2022-10-14 23:09:17 +01:00
|
|
|
WEAK symbol<void(int localClientNum, const char* menuName, int a3, int a4, unsigned int a5)> LUI_OpenMenu{0x1405F0EE0};
|
|
|
|
WEAK symbol<bool(int localClientNum, const char* name, hks::lua_State* s)> LUI_BeginEvent{0x1403155E0};
|
|
|
|
WEAK symbol<bool(int localClientNum, int lui_event_cache, hks::lua_State* s)> LUI_BeginCachedEvent{0x1403153E0};
|
2022-06-30 21:54:09 +02:00
|
|
|
WEAK symbol<void(const char* name, int value, hks::lua_State* s)> LUI_SetTableInt{0x140320060};
|
|
|
|
WEAK symbol<void(const char* name, const char* value, hks::lua_State* s)> LUI_SetTableString{0x1403201F0};
|
2022-03-22 20:27:20 +01:00
|
|
|
WEAK symbol<void(hks::lua_State* s)> LUI_EndEvent{0x140316890};
|
|
|
|
WEAK symbol<void()> LUI_EnterCriticalSection{0x140316980};
|
|
|
|
WEAK symbol<void()> LUI_LeaveCriticalSection{0x14031BC20};
|
2022-10-14 23:09:17 +01:00
|
|
|
WEAK symbol<bool(int localClientNum, const char* menuName)> Menu_IsMenuOpenAndVisible{0x1405EE1A0};
|
2021-04-29 23:47:05 +02:00
|
|
|
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<Material*(const char* material)> Material_RegisterHandle{0x140759BA0};
|
2021-04-20 00:56:11 +02:00
|
|
|
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<void(pathnode_t*, float* out)> PathNode_WorldifyPosFromParent{0x140525830};
|
2022-01-07 01:22:05 +01:00
|
|
|
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<const float*(const float* v)> Scr_AllocVector{0x1405C3220};
|
|
|
|
WEAK symbol<void()> Scr_ClearOutParams{0x1405C6E50};
|
|
|
|
WEAK symbol<scr_entref_t(unsigned int entId)> Scr_GetEntityIdRef{0x1405C56C0};
|
|
|
|
WEAK symbol<unsigned int(int entnum, unsigned int classnum)> Scr_GetEntityId{0x1405C5610};
|
|
|
|
WEAK symbol<int(unsigned int classnum, int entnum, int offset)> Scr_SetObjectField{0x140512190};
|
|
|
|
WEAK symbol<void(unsigned int id, scr_string_t stringValue, unsigned int paramcount)> Scr_NotifyId{0x1405C8240};
|
|
|
|
WEAK symbol<unsigned int(unsigned int threadId)> Scr_GetSelf{0x1405C57C0};
|
|
|
|
WEAK symbol<void()> Scr_ErrorInternal{0x1405C6EC0};
|
2022-07-17 21:33:07 +02:00
|
|
|
WEAK symbol<const char*(unsigned int index)> Scr_GetString{0x1405C7C20};
|
2022-07-31 23:59:01 +02:00
|
|
|
WEAK symbol<int(unsigned int index)> Scr_GetInt{0x1405C7890};
|
2022-11-29 00:54:04 +01:00
|
|
|
WEAK symbol<float(unsigned int index)> Scr_GetFloat{0x1405C7730};
|
2022-07-17 21:33:07 +02:00
|
|
|
WEAK symbol<void(int value)> Scr_AddInt{0x1405C69A0};
|
2022-07-31 23:59:01 +02:00
|
|
|
WEAK symbol<void(const char* value)> Scr_AddString{0x1405C6A80};
|
2022-08-24 19:07:14 +02:00
|
|
|
WEAK symbol<unsigned int(const char* name)> Scr_LoadScript{0x1405BCEC0};
|
2023-03-07 19:34:33 +01:00
|
|
|
WEAK symbol<unsigned int()> Scr_GetNumParam{0x1405C7940};
|
2022-08-24 19:07:14 +02:00
|
|
|
WEAK symbol<unsigned int(const char* script, unsigned int name)> Scr_GetFunctionHandle{0x1405BCD50};
|
|
|
|
WEAK symbol<unsigned int(int handle, unsigned int paramcount)> Scr_ExecThread{0x1405C6F40};
|
2022-08-26 03:59:50 +02:00
|
|
|
WEAK symbol<unsigned int(void* func, int type, unsigned int name)> Scr_RegisterFunction{0x1405BC7B0};
|
2023-03-07 19:34:33 +01:00
|
|
|
WEAK symbol<bool(VariableValue* value)> Scr_CastString{0x1405C33A0};
|
2021-04-23 03:46:11 +02:00
|
|
|
|
2022-11-11 22:04:24 +01:00
|
|
|
WEAK symbol<char*(unsigned int size, unsigned int alignment,
|
|
|
|
unsigned int type, int source)> PMem_AllocFromSource_NoDebug{0x14061E680};
|
|
|
|
WEAK symbol<int(char* buf, unsigned int size, unsigned int alignment,
|
|
|
|
unsigned int type, int source)> PMem_PopFromSource_NoDebug{0x14061EDF0};
|
2022-11-06 12:36:59 +00:00
|
|
|
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<unsigned int(unsigned int localId, const char* pos, unsigned int paramcount)> VM_Execute{0x1405C8DB0};
|
2021-08-29 22:53:20 +02:00
|
|
|
|
2021-04-20 00:56:11 +02:00
|
|
|
WEAK symbol<void(float x, float y, float width, float height, float s0, float t0, float s1, float t1,
|
2022-03-18 22:02:44 +01:00
|
|
|
float* color, Material* material)> R_AddCmdDrawStretchPic{0x1403C9710};
|
2021-09-10 03:21:51 +02:00
|
|
|
WEAK symbol<void(float x, float y, float width, float height, float s0, float t0, float s1, float t1,
|
2022-03-18 22:02:44 +01:00
|
|
|
float angle, float* color, Material* material)> R_AddCmdDrawStretchPicRotateXY{0x1403C99B0};
|
2021-09-22 00:57:41 +02:00
|
|
|
WEAK symbol<void*(const char* text, int maxChars, Font_s* font, float x, float y, float xScale, float yScale,
|
2022-03-18 22:02:44 +01:00
|
|
|
float rotation, float* color, int style)> R_AddCmdDrawText{0x14076C660};
|
2021-09-22 00:57:41 +02:00
|
|
|
WEAK symbol<void(const char* text, int maxChars, Font_s* font, float x, float y, float xScale, float yScale,
|
2022-03-18 22:02:44 +01:00
|
|
|
float rotation, float* color1, float* color2, int style)> R_AddCmdDrawText2{0x14076C860};
|
|
|
|
WEAK symbol<void(rectangle* rect, float a2, float a3, float a4, float a5, float* color, Material* material)> R_DrawRectangle{0x14076A280};
|
2021-04-23 16:45:33 +02:00
|
|
|
WEAK symbol<void(const char* text, int maxChars, Font_s* font, int fontSize, float x, float y, float xScale, float yScale, float rotation,
|
2022-07-15 00:12:27 +02:00
|
|
|
const float* color, int style, int cursorPos, char cursor, void* fontGlowStyle)> AddBaseDrawTextCmd{0x14076CAF0};
|
|
|
|
WEAK symbol<int(void* font)> R_GetFontHeight{0x1407470C0};
|
|
|
|
WEAK symbol<void*(int style)> R_GetFontGlowStyle{0x140746680};
|
2021-09-22 00:57:41 +02:00
|
|
|
WEAK symbol<void*(const char* text, int maxChars, Font_s* font, float x, float y, float xScale, float yScale,
|
2022-03-18 22:02:44 +01:00
|
|
|
int a8, float* color1, unsigned int style, rgba color2)> R_AddCmdDrawTextGradient{0x14076C570};
|
2022-07-15 00:12:27 +02:00
|
|
|
WEAK symbol<void(char const* text, int maxChars, Font_s* font, int height, float x, float y, float xScale, float yScale,
|
|
|
|
float rotation, float const* color, void* font_glow_style, int, char)> R_AddCmdDrawTextWithCursor{0x14076CAF0};
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<Font_s*(const char* font, int size)> R_RegisterFont{0x140746FE0};
|
|
|
|
WEAK symbol<int(const char* text, int maxChars, Font_s* font)> R_TextWidth{0x1407472A0};
|
|
|
|
WEAK symbol<void()> R_SyncRenderThread{0x14076E7D0};
|
2022-03-19 23:06:00 +01:00
|
|
|
WEAK symbol<void()> R_WaitWorkerCmds{0x140794330};
|
2021-08-23 17:11:45 +02:00
|
|
|
WEAK symbol<void(const void* obj, void* pose, unsigned int entnum, unsigned int renderFxFlags, float* lightingOrigin,
|
2022-03-18 22:02:44 +01:00
|
|
|
float materialTime, __int64 a7, __int64 a8)> R_AddDObjToScene{0x140775C40};
|
2022-05-02 19:00:08 -04:00
|
|
|
WEAK symbol<HANDLE(unsigned __int64* outUserData, void* dest, unsigned __int64 bytes)> R_Cinematic_SysIO_BinkRead{0x1407191B0};
|
2021-04-20 00:56:11 +02:00
|
|
|
|
2023-04-14 19:53:17 +02:00
|
|
|
WEAK symbol<void()> RB_SetIdentity{0x1407A0590};
|
|
|
|
WEAK symbol<void(Material* material,
|
|
|
|
MaterialTechniqueType tech)> RB_SetTessTechnique{0x1407B2B90};
|
|
|
|
WEAK symbol<void()> RB_TessOverflow{0x1407B2C00};
|
|
|
|
WEAK symbol<void()> RB_EndTessSurface{0x1407B2B70};
|
|
|
|
WEAK symbol<void(void*)> R_Set3D{0x14078B5D0};
|
|
|
|
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<ScreenPlacement*()> ScrPlace_GetViewPlacement{0x1403E16A0};
|
|
|
|
WEAK symbol<ScreenPlacement*()> ScrPlace_GetView{0x1403E1660};
|
2023-02-25 01:57:36 +01:00
|
|
|
WEAK symbol<void(const ScreenPlacement* scrPlace, float* x, float* y, float* w, float* h,
|
2022-07-18 19:20:09 +02:00
|
|
|
int horzAlign, int vertAlign)> ScrPlace_ApplyRect{0x1403E0BF0};
|
2021-04-20 00:56:11 +02:00
|
|
|
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<const char*(scr_string_t stringValue)> SL_ConvertToString{0x1405BFBB0};
|
|
|
|
WEAK symbol<scr_string_t(const char* str, unsigned int user)> SL_GetString{0x1405C0170};
|
2022-06-19 21:21:09 +02:00
|
|
|
WEAK symbol<unsigned int(const char* str)> SL_GetCanonicalString{0x1405BC970};
|
2021-04-23 03:46:11 +02:00
|
|
|
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<bool()> SV_Loaded{0x1406B3860};
|
2021-05-09 09:37:02 +03:00
|
|
|
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<void()> Sys_ShowConsole{0x140633080};
|
|
|
|
WEAK symbol<bool()> Sys_IsDatabaseReady2{0x1405A9FE0};
|
|
|
|
WEAK symbol<int()> Sys_Milliseconds{0x140650720};
|
|
|
|
WEAK symbol<bool()> Sys_IsMainThread{0x1405AA020};
|
2022-03-22 20:27:20 +01:00
|
|
|
WEAK symbol<void(int critSec)> Sys_EnterCriticalSection{0x140624240};
|
|
|
|
WEAK symbol<void(int critSec)> Sys_LeaveCriticalSection{0x1406242C0};
|
2021-04-20 00:56:11 +02:00
|
|
|
|
2022-07-15 02:02:50 +02:00
|
|
|
WEAK symbol<const char*()> SEH_GetCurrentLanguageCode{0x1405E5180};
|
2022-07-15 02:43:50 +02:00
|
|
|
WEAK symbol<const char*()> SEH_GetCurrentLanguageName{0x1405E5200};
|
2022-07-15 02:02:50 +02:00
|
|
|
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<const char*(const char* string)> UI_SafeTranslateString{0x1405A2930};
|
|
|
|
WEAK symbol<int(int localClientNum, const char* sound)> UI_PlayLocalSoundAlias{0x140606080};
|
2022-07-18 19:20:09 +02:00
|
|
|
WEAK symbol<void(ScreenPlacement* scrPlace, const char* text, rectDef_s* rect, Font_s* font, float x, float y,
|
|
|
|
float scale, const float* color, int style, int textAlignMode, rectDef_s* textRect, char a12)> UI_DrawWrappedText{0x1406055E0};
|
2021-04-25 04:09:13 +02:00
|
|
|
|
2021-12-22 21:32:09 +01:00
|
|
|
WEAK symbol<void(pmove_t* move, trace_t*, const float*, const float*,
|
2022-03-18 22:02:44 +01:00
|
|
|
const Bounds*, int, int)> PM_playerTrace{0x14068F0A0};
|
2021-12-22 21:32:09 +01:00
|
|
|
WEAK symbol<void(pmove_t*, trace_t*, const float*, const float*,
|
2022-03-18 22:02:44 +01:00
|
|
|
const Bounds*, int, int)> PM_trace{0x14068F1D0};
|
2021-12-22 21:32:09 +01:00
|
|
|
|
2023-02-15 18:12:50 +01:00
|
|
|
WEAK symbol<void(pmove_t*, pml_t*)> PM_WalkMove{0x14068EBB0};
|
|
|
|
WEAK symbol<void(pmove_t*, pml_t*)> PM_AirMove{0x140686BF0};
|
|
|
|
WEAK symbol<void(pmove_t*, pml_t*)> PM_GroundTrace{0x140689AA0};
|
|
|
|
|
|
|
|
WEAK symbol<float(float*)> Vec2Normalize{0x140611D80};
|
|
|
|
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<void*(jmp_buf* Buf, int Value)> longjmp{0x14089EED0};
|
|
|
|
WEAK symbol<int(jmp_buf* Buf)> _setjmp{0x1408EC2E0};
|
2021-04-23 03:46:11 +02:00
|
|
|
|
2021-04-20 00:56:11 +02:00
|
|
|
// Variables
|
|
|
|
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<cmd_function_s*> cmd_functions{0x14AD17BB8};
|
|
|
|
WEAK symbol<CmdArgs> cmd_args{0x14AD17A60};
|
|
|
|
WEAK symbol<const char*> command_whitelist{0x140BF84E0};
|
2021-04-20 00:56:11 +02:00
|
|
|
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<HWND> hWnd{0x14CCF81C0};
|
2021-12-19 17:42:37 +01:00
|
|
|
|
2023-03-10 09:58:53 +01:00
|
|
|
WEAK symbol<const char*> g_assetNames{0x140BEF280};
|
2022-08-22 01:42:13 +02:00
|
|
|
|
2023-03-10 09:58:53 +01:00
|
|
|
WEAK symbol<void*> g_assetPool{0x140BF3620};
|
2022-08-22 01:42:13 +02:00
|
|
|
|
2023-03-10 09:58:53 +01:00
|
|
|
WEAK symbol<unsigned int> g_zoneCount{0x1422F45F4};
|
|
|
|
WEAK symbol<unsigned short> g_zoneIndex{0x1422F8DC8};
|
|
|
|
WEAK symbol<XZone> g_zones{0x144176040};
|
2022-05-02 19:00:08 -04:00
|
|
|
|
2022-08-17 03:05:45 +02:00
|
|
|
WEAK symbol<int> g_compressor{0x142065E80};
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<int> g_poolSize{0x140BF2E40};
|
2023-04-14 19:53:17 +02:00
|
|
|
|
|
|
|
WEAK symbol<GfxWorld*> gfx_map{0x14EE49000};
|
2021-04-20 00:56:11 +02:00
|
|
|
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<gentity_s> g_entities{0x1452DDDA0};
|
2022-07-04 18:31:05 +02:00
|
|
|
WEAK symbol<gclient_s> g_clients{0x1455DA980};
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<int> num_entities{0x1455CC738};
|
|
|
|
WEAK symbol<PathData> pathData{0x1452CCDA0};
|
|
|
|
WEAK symbol<int> vehicle_pathnode_count{0x14D009A30};
|
2021-04-20 00:56:11 +02:00
|
|
|
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<DWORD> threadIds{0x14B11DC80};
|
2021-09-07 00:40:37 +02:00
|
|
|
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<GfxDrawMethod_s> gfxDrawMethod{0x14EDF9E00};
|
|
|
|
WEAK symbol<refdef_t> refdef{0x141BC2500};
|
2023-04-14 19:53:17 +02:00
|
|
|
WEAK symbol<materialCommands_t> tess{0x151854A30};
|
|
|
|
WEAK symbol<void> gfxCmdBufSourceState{0x151B65EA0};
|
2021-05-08 21:07:31 +02:00
|
|
|
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<int> keyCatchers{0x14203F3C0};
|
2021-04-20 00:56:11 +02:00
|
|
|
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<PlayerKeyState> playerKeys{0x141E8767C};
|
2021-04-20 00:56:11 +02:00
|
|
|
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<int> dvarCount{0x14BFBB310};
|
|
|
|
WEAK symbol<dvar_t> dvarPool{0x14BFBB320};
|
2021-04-23 03:46:11 +02:00
|
|
|
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<unsigned int> levelEntityId{0x14B5E0B30};
|
|
|
|
WEAK symbol<int> g_script_error_level{0x14BA9CC24};
|
|
|
|
WEAK symbol<jmp_buf> g_script_error{0x14BA9CD40};
|
|
|
|
WEAK symbol<scr_classStruct_t> g_classMap{0x140BF95C0};
|
2021-04-23 03:46:11 +02:00
|
|
|
|
2022-11-11 22:04:24 +01:00
|
|
|
WEAK symbol<physical_memory> g_scriptmem{0x14CC9FEC0};
|
|
|
|
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<scrVarGlob_t> scr_VarGlob{0x14B617C00};
|
|
|
|
WEAK symbol<scrVmPub_t> scr_VmPub{0x14BA9EE40};
|
|
|
|
WEAK symbol<function_stack_t> scr_function_stack{0x14BAA93C0};
|
2021-09-27 01:37:48 +02:00
|
|
|
|
2022-06-21 23:26:59 +02:00
|
|
|
WEAK symbol<int> gameTime{0x1455CC780};
|
|
|
|
|
2022-05-02 19:00:08 -04:00
|
|
|
WEAK symbol<DB_FileSysInterface*> g_fileSystem{0x1420B27E8};
|
|
|
|
|
2022-05-05 00:48:19 +02:00
|
|
|
WEAK symbol<map_t> maps{0x14097EE90};
|
|
|
|
|
2022-07-14 03:23:56 +02:00
|
|
|
WEAK symbol<language_values> languages{0x140BF9740};
|
|
|
|
|
2021-09-27 01:37:48 +02:00
|
|
|
namespace hks
|
|
|
|
{
|
2022-03-18 22:02:44 +01:00
|
|
|
WEAK symbol<lua_State*> lua_state{0x1419D83E8};
|
|
|
|
WEAK symbol<void(lua_State* s, const char* str, unsigned int l)> hksi_lua_pushlstring{0x140287410};
|
|
|
|
WEAK symbol<const char*(lua_State* s, const HksObject* obj, unsigned int* len)> hks_obj_tolstring{0x140287410};
|
|
|
|
WEAK symbol<int(lua_State* s, const HksObject* obj, HksObject* ret)> hks_obj_getmetatable{0x1402DA210};
|
|
|
|
WEAK symbol<HksObject*(HksObject* result, lua_State* s, const HksObject* table, const HksObject* key)> hks_obj_getfield{0x1402D9E20};
|
|
|
|
WEAK symbol<void(lua_State* s, const HksObject* tbl, const HksObject* key, const HksObject* val)> hks_obj_settable{0x1402DB040};
|
|
|
|
WEAK symbol<HksObject* (HksObject* result, lua_State* s, const HksObject* table, const HksObject* key)> hks_obj_gettable{0x1402DA300};
|
|
|
|
WEAK symbol<void(lua_State* s, int nargs, int nresults, const unsigned int* pc)> vm_call_internal{0x14030AB60};
|
|
|
|
WEAK symbol<void(lua_State* s, int index)> hksi_lua_pushvalue{0x1402DE040};
|
|
|
|
WEAK symbol<HashTable*(lua_State* s, unsigned int arraySize, unsigned int hashSize)> Hashtable_Create{0x1402C8290};
|
|
|
|
WEAK symbol<HksObject*(HashTable* t, HksObject* result, HksObject* key)> Hashtable_getNextHash{0x1402D5150};
|
|
|
|
WEAK symbol<void(lua_State* s, const HksObject* tbl, HksObject* key, HksObject* retval)> hks_obj_next{0x1402DA850};
|
2021-10-02 18:30:21 +02:00
|
|
|
WEAK symbol<cclosure*(lua_State* s, lua_function function, int num_upvalues,
|
2022-03-18 22:02:44 +01:00
|
|
|
int internal_, int profilerTreatClosureAsFunc)> cclosure_Create{0x1402C84B0};
|
|
|
|
WEAK symbol<int(lua_State* s, int t)> hksi_luaL_ref{0x1402E4520};
|
|
|
|
WEAK symbol<void(lua_State* s, int t, int ref)> hksi_luaL_unref{0x1402DCE50};
|
2022-03-22 20:27:20 +01:00
|
|
|
WEAK symbol<void(lua_State* s, int index, const char* k)> hksi_lua_setfield{0x1402DEA30};
|
|
|
|
WEAK symbol<int(lua_State* s, int nargs, int nresults, int errfunc)> hksi_lua_pcall{0x1402DDE50};
|
|
|
|
WEAK symbol<void(lua_State* s, HksObject* lfp)> closePendingUpvalues{0x1402CBAD0};
|
2022-04-28 22:41:29 +02:00
|
|
|
WEAK symbol<int(lua_State* s, const HksCompilerSettings* options, const char* buff,
|
|
|
|
unsigned __int64 sz, const char* name)> hksi_hksL_loadbuffer{0x1402DB8B0};
|
|
|
|
WEAK symbol<int(lua_State* s, const char* what, lua_Debug* ar)> hksi_lua_getinfo{0x1402DD1F0};
|
|
|
|
WEAK symbol<int(lua_State* s, int level, lua_Debug* ar)> hksi_lua_getstack{0x1402DD4C0};
|
|
|
|
WEAK symbol<void(lua_State* s, const char* fmt, ...)> hksi_luaL_error{0x1402E3E40};
|
2022-10-14 23:09:17 +01:00
|
|
|
WEAK symbol<const char*> s_compilerTypeName{0x140BE9F50};
|
2021-09-27 01:37:48 +02:00
|
|
|
}
|
2021-04-24 08:47:17 +02:00
|
|
|
}
|