1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-01-19 08:52:34 +01:00

Update for hl2sdk-nd changes.

This commit is contained in:
Nicholas Hastings 2014-04-20 11:59:39 -04:00
parent c9d17a6ca7
commit 10e3815f73
2 changed files with 5 additions and 5 deletions

View File

@ -259,9 +259,9 @@ class MMSConfig(object):
else:
compiler.defines += ['COMPILER_GCC']
if sdk.name in ['css', 'hl2dm', 'dods', '2013', 'tf2', 'l4d2', 'dota']:
if sdk.name in ['css', 'hl2dm', 'dods', '2013', 'tf2', 'nd', 'l4d2', 'dota']:
if builder.target_platform in ['linux', 'mac']:
compiler.defines += ['NO_MALLOC_OVERRIDE']
compiler.defines += ['NO_HOOK_MALLOC', 'NO_MALLOC_OVERRIDE']
for path in paths:
compiler.cxxincludes += [os.path.join(sdk.path, *path)]
@ -319,9 +319,9 @@ class MMSConfig(object):
dynamic_libs = []
if builder.target_platform == 'linux':
compiler.linkflags[0:0] = ['-lm']
if sdk.name in ['css', 'hl2dm', 'dods', 'tf2', '2013', 'l4d2']:
if sdk.name in ['css', 'hl2dm', 'dods', 'tf2', '2013', 'nd', 'l4d2']:
dynamic_libs = ['libtier0_srv.so', 'libvstdlib_srv.so']
elif sdk.name in ['l4d', 'nd', 'blade', 'insurgency', 'csgo', 'dota']:
elif sdk.name in ['l4d', 'blade', 'insurgency', 'csgo', 'dota']:
dynamic_libs = ['libtier0.so', 'libvstdlib.so']
else:
dynamic_libs = ['tier0_i486.so', 'vstdlib_i486.so']

View File

@ -304,7 +304,7 @@ mm_DetermineBackend(QueryValveInterface engineFactory, QueryValveInterface serve
}
else if (engineFactory("VPrecacheSystem001", NULL) != NULL)
{
if (strcmp(game_name, "nucleardawn") == 0)
if (engineFactory("ServerGameTags002", NULL) != NULL)
{
return MMBackend_NuclearDawn;
}