From 145d0ef37d2546af9617f2f9d7d9b6d04238fb4f Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Tue, 23 Mar 2010 19:42:19 -0400 Subject: [PATCH] Added Gamerules SDKCall support to CSPromod gamedata (bug 4320, r=pred) --- gamedata/sdktools.games/game.cspromod.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gamedata/sdktools.games/game.cspromod.txt b/gamedata/sdktools.games/game.cspromod.txt index be0ab562..7391c870 100644 --- a/gamedata/sdktools.games/game.cspromod.txt +++ b/gamedata/sdktools.games/game.cspromod.txt @@ -95,6 +95,10 @@ "windows" "6" "linux" "6" } + "g_pGameRules" + { + "windows" "2" + } } "Signatures" { @@ -122,6 +126,16 @@ "windows" "\x53\x55\x56\x8B\xF1\x8B\x4C\x24\x2A\x85\xC9\x57\x74\x2A\x8B\x01\x8B\x50\x2A\xFF\xD2\x8B\x00\x25\xFF\x2A\x2A\x2A\x83\xC0\x2A\xC1\xE0\x2A\x8B\x3C\x30\xEB\x2A\x8B\xBE\x2A\x2A\x2A\x2A\x85\xFF\x74\x2A\x8B\x5C\x2A\x2A\x8B\x2D\x2A\x2A\x2A\x2A\xEB\x2A\x8D\x2A\x2A\x8B\x37\x85\xF6\x75\x2A\x68\x2A\x2A\x2A\x2A\xFF\x2A\x83\xC4\x2A\xEB\x11\x39" "linux" "@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc" } + "CreateGameRulesObject" + { + "library" "server" + "windows" "\x8B\x0D\x2A\x2A\x2A\x2A\x85\xC9\x74\x2A\x8B\x01\x8B\x50\x2A\x6A\x01\xFF\xD2" + } + "g_pGameRules" + { + "library" "server" + "linux" "@g_pGameRules" + } } } }