Removed cstrike ep1 and cstrike_beta builds and references.
This commit is contained in:
@@ -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']:
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user