From cb128162e6bd647c10978363e1371d329c7a5edf Mon Sep 17 00:00:00 2001 From: Peace-Maker Date: Thu, 5 Sep 2013 22:31:44 -0400 Subject: [PATCH] Added missing DispatchKeyValues and SDKHooks gamedata for HL2CTF (bug 5114, r=psychonic). --HG-- extra : amend_source : d84f37e83a223a5fbc1b71f70c8ba0076c7c1cf4 --- gamedata/sdkhooks.games/game.hl2ctf.txt | 115 +++++++++++++++++++++++ gamedata/sdkhooks.games/master.games.txt | 5 + gamedata/sdktools.games/game.hl2ctf.txt | 17 +++- 3 files changed, 136 insertions(+), 1 deletion(-) create mode 100644 gamedata/sdkhooks.games/game.hl2ctf.txt diff --git a/gamedata/sdkhooks.games/game.hl2ctf.txt b/gamedata/sdkhooks.games/game.hl2ctf.txt new file mode 100644 index 00000000..f381bea3 --- /dev/null +++ b/gamedata/sdkhooks.games/game.hl2ctf.txt @@ -0,0 +1,115 @@ +"Games" +{ + /* HL2:CTF 2.1 */ + "hl2ctf" + { + "Offsets" + { + "EndTouch" + { + "windows" "83" + "linux" "84" + } + "FireBullets" + { + "windows" "93" + "Linux" "94" + } + "GroundEntChanged" + { + "windows" "146" + "linux" "147" + } + "OnTakeDamage" + { + "windows" "54" + "linux" "55" + } + "PreThink" + { + "windows" "247" + "linux" "248" + } + "PostThink" + { + "windows" "248" + "linux" "249" + } + "SetTransmit" + { + "windows" "21" + "linux" "22" + } + "ShouldCollide" + { + "windows" "17" + "linux" "18" + } + "Spawn" + { + "windows" "23" + "linux" "24" + } + "StartTouch" + { + "windows" "81" + "linux" "82" + } + "Think" + { + "windows" "45" + "linux" "46" + } + "Touch" + { + "windows" "82" + "linux" "83" + } + "TraceAttack" + { + "windows" "53" + "linux" "54" + } + "VPhysicsUpdate" + { + "windows" "130" + "linux" "131" + } + "Weapon_CanSwitchTo" + { + "windows" "205" + "linux" "206" + } + "Weapon_CanUse" + { + "windows" "199" + "linux" "200" + } + "Weapon_Drop" + { + "windows" "202" + "linux" "203" + } + "Weapon_Equip" + { + "windows" "200" + "linux" "201" + } + "Weapon_Switch" + { + "windows" "203" + "linux" "204" + } + "Reload" + { + "windows" "213" + "linux" "214" + } + "Use" + { + "windows" "80" + "linux" "81" + } + } + } +} \ No newline at end of file diff --git a/gamedata/sdkhooks.games/master.games.txt b/gamedata/sdkhooks.games/master.games.txt index 4e565942..f8b78532 100644 --- a/gamedata/sdkhooks.games/master.games.txt +++ b/gamedata/sdkhooks.games/master.games.txt @@ -164,4 +164,9 @@ { "game" "synergy" } + + "game.hl2ctf.txt" + { + "game" "hl2ctf" + } } diff --git a/gamedata/sdktools.games/game.hl2ctf.txt b/gamedata/sdktools.games/game.hl2ctf.txt index 211f12a0..13411869 100644 --- a/gamedata/sdktools.games/game.hl2ctf.txt +++ b/gamedata/sdktools.games/game.hl2ctf.txt @@ -11,7 +11,7 @@ "Games" { - /* HL2:CTF 2.0 RC1 */ + /* HL2:CTF 2.1 */ "hl2ctf" { @@ -87,6 +87,21 @@ "windows" "0" "linux" "0" } + "DispatchKeyValue" + { + "windows" "30" + "linux" "29" + } + "DispatchKeyValueFloat" + { + "windows" "29" + "linux" "30" + } + "DispatchKeyValueVector" + { + "windows" "28" + "linux" "31" + } } "Signatures" {