From aab395c4efc8c8ecde3ce9a018bef6fbe004bd4f Mon Sep 17 00:00:00 2001 From: Jari van der Kaap Date: Fri, 3 Feb 2023 00:02:47 +0100 Subject: [PATCH] Fix rebase changes --- src/client/game/structs.hpp | 14 ++------------ src/client/game/symbols.hpp | 5 ++--- 2 files changed, 4 insertions(+), 15 deletions(-) diff --git a/src/client/game/structs.hpp b/src/client/game/structs.hpp index b965f430..91a93028 100644 --- a/src/client/game/structs.hpp +++ b/src/client/game/structs.hpp @@ -4,11 +4,6 @@ namespace game { #endif - enum XAssetType - { - ASSET_TYPE_LEADERBOARD = 0x32, - ASSET_TYPE_DDL = 0x33, - }; enum ControllerIndex_t { @@ -539,12 +534,6 @@ namespace game const char* buffer; }; - union XAssetHeader - { - void* data; - LuaFile* luaFile; - }; - struct XZoneBuffer { const void* data; @@ -1664,7 +1653,8 @@ namespace game LaserDef* laserDef; BeamDef* beamDef; StreamerHint* streamerHint;*/ - void* data; + void* data; + LuaFile* luaFile; }; struct XAsset diff --git a/src/client/game/symbols.hpp b/src/client/game/symbols.hpp index bc32cdb0..44505a57 100644 --- a/src/client/game/symbols.hpp +++ b/src/client/game/symbols.hpp @@ -28,7 +28,7 @@ namespace game WEAK symbol Cbuf_AddText{0x1420EC8B0, 0x1404F75B0}; WEAK symbol Cbuf_ExecuteBuffer{ - 0x0, 0x1404F78D0 + 0x14133BE10, 0x1404F78D0 }; WEAK symbol Cmd_AddCommandInternal{ 0x1420ED530, 0x1404F8210 @@ -43,7 +43,6 @@ namespace game 0x1420EDC20 }; WEAK symbol Con_GetTextCopy{0x14133A7D0, 0x140182C40}; - WEAK symbol Cbuf_ExecuteBuffer{0x14133BE10}; // DB WEAK symbol DB_LoadXAssets{ @@ -76,7 +75,7 @@ namespace game WEAK symbol Sys_IsDatabaseReady{0x1421844C0}; // Dvar - WEAK symbol Dvar_FindVar{0x1422BD730, 0x140575540}; + WEAK symbol Dvar_FindVar{0x1422BD730, 0x140575540}; WEAK symbol Dvar_GenerateHash{0x14133DBF0}; WEAK symbol Dvar_FindMalleableVar{0x1422BD6A0}; WEAK symbol Dvar_GetDebugName{0x1422BDCB0};