wscript: update.

This commit is contained in:
Andrey Akhmichin 2020-08-09 03:18:02 +05:00
parent 5b003023b7
commit 70f2b7610c
3 changed files with 9 additions and 21 deletions

View File

@ -23,22 +23,6 @@ def build(bld):
source += bld.path.ant_glob([ source += bld.path.ant_glob([
'hl/*.cpp' 'hl/*.cpp'
]) ])
source += bld.path.parent.ant_glob([
'dlls/crossbow.cpp',
'dlls/crowbar.cpp',
'dlls/egon.cpp',
'dlls/gauss.cpp',
'dlls/glock.cpp',
'dlls/handgrenade.cpp',
'dlls/hornetgun.cpp',
'dlls/mp5.cpp',
'dlls/python.cpp',
'dlls/rpg.cpp',
'dlls/satchel.cpp',
'dlls/shotgun.cpp',
'dlls/squeakgrenade.cpp',
'dlls/tripmine.cpp'
])
source += [ source += [
'GameStudioModelRenderer.cpp', 'GameStudioModelRenderer.cpp',
'MOTD.cpp', 'MOTD.cpp',
@ -94,7 +78,8 @@ def build(bld):
'../pm_shared', '../pm_shared',
'../game_shared', '../game_shared',
'../public', '../public',
'../utils/false_vgui/include' '../utils/false_vgui/include',
'../dlls/hunger'
] ]
defines = ['CLIENT_DLL'] defines = ['CLIENT_DLL']

View File

@ -25,7 +25,9 @@ def build(bld):
source = bld.path.parent.ant_glob([ source = bld.path.parent.ant_glob([
'pm_shared/*.c', 'pm_shared/*.c',
]) ])
source += bld.path.ant_glob([
'hunger/*.cpp',
])
source += [ source += [
'agrunt.cpp', 'agrunt.cpp',
'airtank.cpp', 'airtank.cpp',
@ -74,7 +76,7 @@ def build(bld):
'healthkit.cpp', 'healthkit.cpp',
'hgrunt.cpp', 'hgrunt.cpp',
'hornet.cpp', 'hornet.cpp',
'hornetgun.cpp', # 'hornetgun.cpp',
'houndeye.cpp', 'houndeye.cpp',
'ichthyosaur.cpp', 'ichthyosaur.cpp',
'islave.cpp', 'islave.cpp',
@ -142,7 +144,8 @@ def build(bld):
'../engine', '../engine',
'../pm_shared', '../pm_shared',
'../game_shared', '../game_shared',
'../public' '../public',
'hunger'
] ]
libs = [] libs = []

View File

@ -270,7 +270,7 @@ def configure(conf):
if conf.env.cxxshlib_PATTERN.startswith('lib'): if conf.env.cxxshlib_PATTERN.startswith('lib'):
conf.env.cxxshlib_PATTERN = conf.env.cxxshlib_PATTERN[3:] conf.env.cxxshlib_PATTERN = conf.env.cxxshlib_PATTERN[3:]
conf.define('CLIENT_WEAPONS', '1') conf.define('CLIENT_WEAPONS', '0')
if conf.env.DEST_OS == 'android' or conf.options.ENABLE_MOD_HACKS: if conf.env.DEST_OS == 'android' or conf.options.ENABLE_MOD_HACKS:
conf.define('MOBILE_HACKS', '1') conf.define('MOBILE_HACKS', '1')