From b41340587681428befdd94803486d2923ef9a8e9 Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Fri, 4 Jun 2010 17:14:52 -0500 Subject: [PATCH] Added gamedata for CS:S Beta (ep2v) on Mac OS X. (bug 4399, r=dvander). --- gamedata/core.games/common.games.txt | 1 + gamedata/core.games/engine.ep2valve.txt | 2 ++ gamedata/sdktools.games/engine.ep2valve.txt | 14 ++++++++++++++ gamedata/sdktools.games/game.cstrike.txt | 19 ++++++++++++++++++- gamedata/sm-cstrike.games.txt | 4 +++- 5 files changed, 38 insertions(+), 2 deletions(-) diff --git a/gamedata/core.games/common.games.txt b/gamedata/core.games/common.games.txt index 3282e957..116fd00a 100644 --- a/gamedata/core.games/common.games.txt +++ b/gamedata/core.games/common.games.txt @@ -98,6 +98,7 @@ { "windows" "11" "linux" "12" + "mac" "12" } } } diff --git a/gamedata/core.games/engine.ep2valve.txt b/gamedata/core.games/engine.ep2valve.txt index ac377394..4423c0be 100644 --- a/gamedata/core.games/engine.ep2valve.txt +++ b/gamedata/core.games/engine.ep2valve.txt @@ -34,6 +34,7 @@ { "windows" "4" "linux" "4" + "mac" "4" } } @@ -48,6 +49,7 @@ { "library" "server" "linux" "@gEntList" + "mac" "@gEntList" } } } diff --git a/gamedata/sdktools.games/engine.ep2valve.txt b/gamedata/sdktools.games/engine.ep2valve.txt index b7bb9a42..9a754b67 100644 --- a/gamedata/sdktools.games/engine.ep2valve.txt +++ b/gamedata/sdktools.games/engine.ep2valve.txt @@ -33,16 +33,19 @@ { "windows" "4" "linux" "4" + "mac" "4" } "GetTENext" { "windows" "8" "linux" "8" + "mac" "8" } "TE_GetServerClass" { "windows" "0" "linux" "0" + "mac" "0" } } @@ -57,6 +60,7 @@ { "library" "server" "linux" "@_ZN15CBaseTempEntity15s_pTempEntitiesE" + "mac" "@_ZN15CBaseTempEntity15s_pTempEntitiesE" } } } @@ -78,12 +82,14 @@ { "library" "server" "linux" "@_Z13DispatchSpawnP11CBaseEntity" + "mac" "@_Z13DispatchSpawnP11CBaseEntity" "windows" "\x53\x55\x56\x8B\x74\x24\x10\x85\xF6\x57\x0F\x84\x2A\x2A\x2A\x2A\x8B\x1D\x2A\x2A\x2A\x2A\x8B\x03\x8B\x50\x64\x8B\xCB" } "CreateEntityByName" { "library" "server" "linux" "@_Z18CreateEntityByNamePKci" + "mac" "@_Z18CreateEntityByNamePKci" "windows" "\x56\x8B\x74\x24\x0C\x83\xFE\xFF\x57\x8B\x7C\x24\x0C\x74\x27\x8B\x0D\x2A\x2A\x2A\x2A\x8B\x01\x8B\x50\x54\x56\xFF\xD2" } } @@ -108,6 +114,7 @@ "library" "server" "windows" "\x53\x55\x56\x8B\xF1\x8B\x4C\x24\x10\x85\xC9\x57\x74\x19\x8B\x01\x8B\x50\x08\xFF\xD2\x8B\x00\x25\xFF\x0F\x00\x00\x83\xC0\x01\xC1\xE0\x04\x8B\x3C\x30\xEB\x06\x8B\xBE\x2A\x2A\x2A\x2A\x85\xFF\x74\x39\x8B\x5C\x24\x18\x8B\x2D\x2A\x2A\x2A\x2A\xEB\x03" "linux" "@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc" + "mac" "@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc" } } } @@ -151,6 +158,7 @@ { "library" "server" "linux" "@g_pGameRules" + "mac" "@g_pGameRules" } } } @@ -187,6 +195,7 @@ { "library" "engine" "linux" "@sv" + "mac" "@sv" } } } @@ -201,6 +210,7 @@ "library" "server" "windows" "\xB8\x01\x00\x00\x00\x84\x2A\x2A\x2A\x2A\x2A\x75\x1D\x09\x2A\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x68\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x83\xC4\x04\xB8\x2A\x2A\x2A\x2A\xC3" "linux" "@_Z23EntityFactoryDictionaryv" + "mac" "@_Z23EntityFactoryDictionaryv" } } } @@ -222,6 +232,7 @@ "library" "server" "windows" "\x81\xEC\x1C\x01\x00\x00\x53\x55\x56\x8B\x71\x14\x85\xF6" "linux" "@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f" + "mac" "@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f" } } "Offsets" @@ -230,6 +241,7 @@ { "windows" "6" "linux" "12" + "mac" "6" } } } @@ -249,6 +261,7 @@ { "windows" "17" "linux" "56" + "mac" "56" } /** * Offset into CBaseClient - Used by CBaseServer::UpdateUserSettings to determine when changes have been made. @@ -260,6 +273,7 @@ { "windows" "140" "linux" "140" + "mac" "140" } } } diff --git a/gamedata/sdktools.games/game.cstrike.txt b/gamedata/sdktools.games/game.cstrike.txt index 64e4641b..c0d84f09 100644 --- a/gamedata/sdktools.games/game.cstrike.txt +++ b/gamedata/sdktools.games/game.cstrike.txt @@ -142,87 +142,104 @@ { "windows" "386" "linux" "387" + "mac" "387" } "RemovePlayerItem" { "windows" "259" "linux" "260" + "mac" "260" } "Weapon_GetSlot" { "windows" "257" "linux" "258" + "mac" "258" } "Ignite" { "windows" "202" "linux" "203" + "mac" "203" } "Extinguish" { "windows" "206" "linux" "207" + "mac" "207" } "Teleport" { "windows" "105" "linux" "106" + "mac" "106" } "CommitSuicide" { "windows" "426" "linux" "426" + "mac" "426" } "GetVelocity" { "windows" "137" "linux" "138" + "mac" "138" } "EyeAngles" { "windows" "128" "linux" "129" + "mac" "129" } "AcceptInput" { "windows" "34" "linux" "35" + "mac" "35" } "DispatchKeyValue" { "windows" "29" "linux" "28" + "mac" "28" } "DispatchKeyValueFloat" { "windows" "28" "linux" "29" + "mac" "29" } "DispatchKeyValueVector" { "windows" "27" "linux" "30" + "mac" "30" } "SetEntityModel" { "windows" "23" "linux" "24" + "mac" "24" } "WeaponEquip" { "windows" "250" "linux" "251" + "mac" "251" } "Activate" { "windows" "31" "linux" "32" + "mac" "32" } "PlayerRunCmd" { "windows" "404" "linux" "405" + "mac" "405" } } } -} \ No newline at end of file +} diff --git a/gamedata/sm-cstrike.games.txt b/gamedata/sm-cstrike.games.txt index 39f7c379..0cc7dcf2 100644 --- a/gamedata/sm-cstrike.games.txt +++ b/gamedata/sm-cstrike.games.txt @@ -52,13 +52,15 @@ "library" "server" "windows" "\x56\x8B\xF1\x8B\x06\x8B\x2A\x2A\x2A\x2A\x2A\xFF\xD2\x8B\x2A\x2A\x2A\x2A\x2A\x85" "linux" "@_ZN9CCSPlayer12RoundRespawnEv" + "mac" "@_ZN9CCSPlayer12RoundRespawnEv" } "SwitchTeam" { "library" "server" "windows" "\x83\xEC\x10\x56\x57\x8B\x7C\x24\x1C\x57\x8B\xF1\xE8\x2A\x2A\x2A\x2A\x83\xC4\x04\x85\xC0\x0F\x2A\x2A\x2A\x2A\x2A\x83\xFF\x03\x74\x09\x83\xFF\x02\x0F\x2A\x2A\x2A\x2A\x2A\x8B\xCE\xE8\x2A\x2A\x2A\x2A\x3B" "linux" "@_ZN9CCSPlayer10SwitchTeamEi" + "mac" "@_ZN9CCSPlayer10SwitchTeamEi" } } } -} \ No newline at end of file +}