Removed cstrike ep1 and cstrike_beta builds and references.

This commit is contained in:
Nicholas Hastings 2010-06-23 23:49:06 -04:00
parent 92d3fc3d8c
commit 9fe2e8e31a
11 changed files with 3 additions and 201 deletions

View File

@ -1,26 +1,6 @@
# vim: set ts=2 sw=2 tw=99 noet ft=python:
import os
sdk = SM.sdkInfo['ep1']
if AMBuild.target['platform'] in sdk['platform']:
compiler = SM.DefaultHL2Compiler('extensions/cstrike', 'ep1')
name = 'game.cstrike.ext.' + sdk['ext']
extension = AMBuild.AddJob(name)
binary = Cpp.LibraryBuilder(name, AMBuild, extension, compiler)
SM.PreSetupHL2Job(extension, binary, 'ep1')
binary.AddSourceFiles('extensions/cstrike', [
'extension.cpp',
'natives.cpp',
'RegNatives.cpp',
'timeleft.cpp',
'sdk/smsdk_ext.cpp'
])
SM.PostSetupHL2Job(extension, binary, 'ep1')
SM.AutoVersion('extensions/cstrike', binary)
binary.SendToJob()
sdk = SM.sdkInfo['ep2v']
if AMBuild.target['platform'] in sdk['platform']:

View File

@ -55,7 +55,7 @@ extern sp_nativeinfo_t g_CSNatives[];
bool CStrike::SDK_OnLoad(char *error, size_t maxlength, bool late)
{
if (strcmp(g_pSM->GetGameFolderName(), "cstrike") != 0 && strcmp(g_pSM->GetGameFolderName(), "cstrike_beta") != 0)
if (strcmp(g_pSM->GetGameFolderName(), "cstrike") != 0)
{
snprintf(error, maxlength, "Cannot Load Cstrike Extension on mods other than CS:S");
return false;

View File

@ -140,7 +140,6 @@
"game" "FortressForever"
"game" "zps"
"game" "gesource"
"game" "cstrike_beta"
"game" "RnLBeta"
}
@ -168,7 +167,6 @@
"game" "gesource"
"game" "obsidian"
"game" "cstrike"
"game" "cstrike_beta"
"game" "RnLBeta"
}
@ -211,7 +209,6 @@
"#supported"
{
"game" "cstrike"
"game" "cstrike_beta"
}
"Keys"
@ -219,20 +216,6 @@
"GameExtension" "game.cstrike"
}
}
"#default"
{
"#supported"
{
"game" "cstrike"
"engine" "original"
}
"Keys"
{
"HintTextPreByte" "yes"
}
}
"tf"
{

View File

@ -16,7 +16,6 @@
{
"#supported"
{
"game" "cstrike"
"game" "hl2mp"
"game" "ship"
"game" "insurgency"

View File

@ -19,7 +19,6 @@
"game" "dod"
"game" "tf"
"game" "cstrike"
"game" "cstrike_beta"
}
"Offsets"

View File

@ -16,7 +16,6 @@
{
"#supported"
{
"game" "cstrike"
"game" "hl2mp"
"game" "ship"
"game" "!Dystopia"
@ -74,7 +73,6 @@
{
"#supported"
{
"game" "cstrike"
"game" "garrysmod"
"game" "hl2mp"
"game" "ship"
@ -123,7 +121,6 @@
{
"#supported"
{
"game" "cstrike"
"game" "garrysmod"
"game" "hl2mp"
"game" "ship"
@ -152,7 +149,6 @@
{
"#supported"
{
"game" "cstrike"
"game" "hl2mp"
"game" "sourceforts"
"game" "synergy"
@ -232,7 +228,6 @@
{
"#supported"
{
"game" "cstrike"
"game" "hl2mp"
"game" "NeotokyoSource"
"game" "zombie_master"

View File

@ -19,7 +19,6 @@
"game" "dod"
"game" "tf"
"game" "cstrike"
"game" "cstrike_beta"
}
"Offsets"
@ -73,7 +72,6 @@
"game" "dod"
"game" "tf"
"game" "cstrike"
"game" "cstrike_beta"
}
"Signatures"
@ -103,7 +101,6 @@
"game" "dod"
"game" "tf"
"game" "cstrike"
"game" "cstrike_beta"
}
"Signatures"
@ -127,7 +124,6 @@
"game" "dod"
"game" "tf"
"game" "cstrike"
"game" "cstrike_beta"
}
"Offsets"
@ -223,7 +219,6 @@
"game" "dod"
"game" "tf"
"game" "cstrike"
"game" "cstrike_beta"
}
"Signatures"
{

View File

@ -12,122 +12,8 @@
"Games"
{
/* Counter-Strike: Source */
"#default"
"cstrike"
{
"#supported"
{
"engine" "original"
"game" "cstrike"
}
"Keys"
{
"SlapSoundCount" "3"
"SlapSound1" "player/damage1.wav"
"SlapSound2" "player/damage2.wav"
"SlapSound3" "player/damage3.wav"
}
"Offsets"
{
"GiveNamedItem"
{
"windows" "329"
"linux" "330"
}
"RemovePlayerItem"
{
"windows" "226"
"linux" "227"
}
"Weapon_GetSlot"
{
"windows" "224"
"linux" "225"
}
"Ignite"
{
"windows" "188"
"linux" "189"
}
"Extinguish"
{
"windows" "189"
"linux" "190"
}
"Teleport"
{
"windows" "98"
"linux" "99"
}
"CommitSuicide"
{
"windows" "357"
"linux" "358"
}
"GetVelocity"
{
"windows" "126"
"linux" "127"
}
"EyeAngles"
{
"windows" "118"
"linux" "119"
}
"AcceptInput"
{
"windows" "35"
"linux" "36"
}
"DispatchKeyValue"
{
"windows" "31"
"linux" "30"
}
"DispatchKeyValueFloat"
{
"windows" "30"
"linux" "31"
}
"DispatchKeyValueVector"
{
"windows" "29"
"linux" "32"
}
"SetEntityModel"
{
"windows" "25"
"linux" "26"
}
"WeaponEquip"
{
"windows" "217"
"linux" "218"
}
"Activate"
{
"windows" "32"
"linux" "33"
}
"PlayerRunCmd"
{
"windows" "347"
"linux" "348"
}
}
}
/* Counter-Strike: Source ORANGEBOX */
"#default"
{
"#supported"
{
"engine" "orangebox_valve"
"game" "cstrike"
"game" "cstrike_beta"
}
"Keys"
{
"SlapSoundCount" "3"

View File

@ -58,7 +58,6 @@
"game.cstrike.txt"
{
"game" "cstrike"
"game" "cstrike_beta"
}
"game.hl2mp.txt"

View File

@ -11,40 +11,8 @@
"Games"
{
"#default"
"cstrike"
{
"#supported"
{
"engine" "original"
"game" "cstrike"
}
"Signatures"
{
"RoundRespawn"
{
"library" "server"
"windows" "\x56\x8B\xF1\x8B\x06\xFF\x90\x2A\x04\x00\x00\x8B\x86\x2A\x0D\x00"
"linux" "@_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\x84\xEA\x00\x00\x00\x83\xFF\x03\x74\x09\x83\xFF\x02\x0F\x85\xDC\x00\x00\x00\x8B\xCE\xE8\x2A\x2A\x2A\x2A\x3B\xF8\x0F\x84\xDC\x00\x00\x00\x57\x8B\xCE\xC6\x86\x2A\x2A"
"linux" "@_ZN9CCSPlayer10SwitchTeamEi"
}
}
}
"#default"
{
"#supported"
{
"engine" "orangebox_valve"
"game" "cstrike"
"game" "cstrike_beta"
}
"Signatures"
{
"RoundRespawn"

View File

@ -214,8 +214,6 @@ AddNormalLibrary('sourcepawn.jit.x86', 'bin')
AddNormalLibrary('geoip.ext', 'extensions')
AddNormalLibrary('dbi.mysql.ext', 'extensions')
AddNormalLibrary('dbi.sqlite.ext', 'extensions')
if AMBuild.target['platform'] != 'darwin':
AddNormalLibrary('game.cstrike.ext.1.ep1', 'extensions')
AddNormalLibrary('game.cstrike.ext.2.ep2v', 'extensions')
AddNormalLibrary('game.tf2.ext.2.ep2v', 'extensions')
AddNormalLibrary('topmenus.ext', 'extensions')