From 6fd039925a537bf643bbd5292c28cc9e1bf95adc Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Mon, 14 Dec 2009 20:29:23 -0800 Subject: [PATCH] Added Neotokyo support (bug 4126, r=dvander). --- gamedata/core.games/common.games.txt | 2 + gamedata/core.games/engine.ep1.txt | 1 + gamedata/sdktools.games/engine.ep1.txt | 5 ++ gamedata/sdktools.games/game.neotokyo.txt | 85 +++++++++++++++++++++++ gamedata/sdktools.games/master.games.txt | 4 ++ 5 files changed, 97 insertions(+) create mode 100644 gamedata/sdktools.games/game.neotokyo.txt diff --git a/gamedata/core.games/common.games.txt b/gamedata/core.games/common.games.txt index 5433b8ce..6e2e58d4 100644 --- a/gamedata/core.games/common.games.txt +++ b/gamedata/core.games/common.games.txt @@ -133,6 +133,7 @@ "game" "obsidian" "game" "empires" "game" "gesource" + "game" "NeotokyoSource" } "Keys" @@ -150,6 +151,7 @@ "game" "synergy" "game" "dod" "game" "empires" + "game" "NeotokyoSource" } "Keys" diff --git a/gamedata/core.games/engine.ep1.txt b/gamedata/core.games/engine.ep1.txt index c58ec238..668bd3a8 100644 --- a/gamedata/core.games/engine.ep1.txt +++ b/gamedata/core.games/engine.ep1.txt @@ -28,6 +28,7 @@ "game" "synergy" "game" "hidden" "game" "zombie_master" + "game" "NeotokyoSource" } "Offsets" diff --git a/gamedata/sdktools.games/engine.ep1.txt b/gamedata/sdktools.games/engine.ep1.txt index fcaf0d8a..17b7c4b2 100644 --- a/gamedata/sdktools.games/engine.ep1.txt +++ b/gamedata/sdktools.games/engine.ep1.txt @@ -27,6 +27,7 @@ "game" "synergy" "game" "hidden" "game" "zombie_master" + "game" "NeotokyoSource" } "Offsets" @@ -84,6 +85,7 @@ "game" "FortressForever" "game" "synergy" "game" "hidden" + "game" "NeotokyoSource" } "Offsets" @@ -134,6 +136,7 @@ "game" "synergy" "game" "hidden" "game" "zombie_master" + "game" "NeotokyoSource" } "Signatures" @@ -161,6 +164,7 @@ "game" "synergy" "game" "hidden" "game" "FortressForever" + "game" "NeotokyoSource" } "Signatures" @@ -236,6 +240,7 @@ { "game" "cstrike" "game" "hl2mp" + "game" "NeotokyoSource" } "Signatures" { diff --git a/gamedata/sdktools.games/game.neotokyo.txt b/gamedata/sdktools.games/game.neotokyo.txt new file mode 100644 index 00000000..ebc3d423 --- /dev/null +++ b/gamedata/sdktools.games/game.neotokyo.txt @@ -0,0 +1,85 @@ +"Games" +{ + "NeotokyoSource" + { + "Offsets" + { + "GiveNamedItem" + { + "windows" "330" + } + "RemovePlayerItem" + { + "windows" "227" + } + "Weapon_GetSlot" + { + "windows" "225" + } + "Ignite" + { + "windows" "189" + } + "Extinguish" + { + "windows" "190" + } + "Teleport" + { + "windows" "99" + } + "CommitSuicide" + { + "windows" "360" + } + "GetVelocity" + { + "windows" "127" + } + "EyeAngles" + { + "windows" "119" + } + "AcceptInput" + { + "windows" "35" + } + "DispatchKeyValue" + { + "windows" "31" + } + "DispatchKeyValueFloat" + { + "windows" "30" + } + "DispatchKeyValueVector" + { + "windows" "29" + } + "SetEntityModel" + { + "windows" "25" + } + "WeaponEquip" + { + "windows" "218" + } + "Activate" + { + "windows" "32" + } + "PlayerRunCmd" + { + "windows" "348" + } + } + "Signatures" + { + "LevelShutdown" + { + "library" "server" + "windows" "\xE8\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x6A\x00" + } + } + } +} \ No newline at end of file diff --git a/gamedata/sdktools.games/master.games.txt b/gamedata/sdktools.games/master.games.txt index 6d2458bb..bc8c9251 100644 --- a/gamedata/sdktools.games/master.games.txt +++ b/gamedata/sdktools.games/master.games.txt @@ -135,4 +135,8 @@ { "game" "ageofchivalry" } + "game.neotokyo.txt" + { + "game" "NeotokyoSource" + } }