Update for hl2sdk-nd changes.
authorNicholas Hastings <skamonkey@gmail.com>
Sun Apr 20 11:59:39 2014 -0400 (2014-04-20)
changeset 91009101853db35
parent 909 57797db1d513
child 911 a2e053f9abe7
Update for hl2sdk-nd changes.
AMBuildScript
loader/loader.cpp
     1.1 --- a/AMBuildScript	Sun Mar 23 23:37:46 2014 -0400
     1.2 +++ b/AMBuildScript	Sun Apr 20 11:59:39 2014 -0400
     1.3 @@ -259,9 +259,9 @@
     1.4      else:
     1.5        compiler.defines += ['COMPILER_GCC']
     1.6  
     1.7 -    if sdk.name in ['css', 'hl2dm', 'dods', '2013', 'tf2', 'l4d2', 'dota']:
     1.8 +    if sdk.name in ['css', 'hl2dm', 'dods', '2013', 'tf2', 'nd', 'l4d2', 'dota']:
     1.9        if builder.target_platform in ['linux', 'mac']:
    1.10 -        compiler.defines += ['NO_MALLOC_OVERRIDE']
    1.11 +        compiler.defines += ['NO_HOOK_MALLOC', 'NO_MALLOC_OVERRIDE']
    1.12  
    1.13      for path in paths:
    1.14        compiler.cxxincludes += [os.path.join(sdk.path, *path)]
    1.15 @@ -319,9 +319,9 @@
    1.16      dynamic_libs = []
    1.17      if builder.target_platform == 'linux':
    1.18        compiler.linkflags[0:0] = ['-lm']
    1.19 -      if sdk.name in ['css', 'hl2dm', 'dods', 'tf2', '2013', 'l4d2']:
    1.20 +      if sdk.name in ['css', 'hl2dm', 'dods', 'tf2', '2013', 'nd', 'l4d2']:
    1.21          dynamic_libs = ['libtier0_srv.so', 'libvstdlib_srv.so']
    1.22 -      elif sdk.name in ['l4d', 'nd', 'blade', 'insurgency', 'csgo', 'dota']:
    1.23 +      elif sdk.name in ['l4d', 'blade', 'insurgency', 'csgo', 'dota']:
    1.24          dynamic_libs = ['libtier0.so', 'libvstdlib.so']
    1.25        else:
    1.26          dynamic_libs = ['tier0_i486.so', 'vstdlib_i486.so']
     2.1 --- a/loader/loader.cpp	Sun Mar 23 23:37:46 2014 -0400
     2.2 +++ b/loader/loader.cpp	Sun Apr 20 11:59:39 2014 -0400
     2.3 @@ -304,7 +304,7 @@
     2.4  		}
     2.5  		else if (engineFactory("VPrecacheSystem001", NULL) != NULL)
     2.6  		{
     2.7 -			if (strcmp(game_name, "nucleardawn") == 0)
     2.8 +			if (engineFactory("ServerGameTags002", NULL) != NULL)
     2.9  			{
    2.10  				return MMBackend_NuclearDawn;
    2.11  			}