diff --git a/cl_dll/wscript b/cl_dll/wscript index b7bf76e9..39dcc654 100644 --- a/cl_dll/wscript +++ b/cl_dll/wscript @@ -23,22 +23,6 @@ def build(bld): source += bld.path.ant_glob([ '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 += [ 'GameStudioModelRenderer.cpp', 'MOTD.cpp', @@ -94,7 +78,8 @@ def build(bld): '../pm_shared', '../game_shared', '../public', - '../utils/false_vgui/include' + '../utils/false_vgui/include', + '../dlls/hunger' ] defines = ['CLIENT_DLL'] diff --git a/dlls/wscript b/dlls/wscript index 5f17aefc..516ce3db 100644 --- a/dlls/wscript +++ b/dlls/wscript @@ -25,7 +25,9 @@ def build(bld): source = bld.path.parent.ant_glob([ 'pm_shared/*.c', ]) - + source += bld.path.ant_glob([ + 'hunger/*.cpp', + ]) source += [ 'agrunt.cpp', 'airtank.cpp', @@ -74,7 +76,7 @@ def build(bld): 'healthkit.cpp', 'hgrunt.cpp', 'hornet.cpp', - 'hornetgun.cpp', +# 'hornetgun.cpp', 'houndeye.cpp', 'ichthyosaur.cpp', 'islave.cpp', @@ -142,7 +144,8 @@ def build(bld): '../engine', '../pm_shared', '../game_shared', - '../public' + '../public', + 'hunger' ] libs = [] diff --git a/wscript b/wscript index b01647df..b57bbd85 100644 --- a/wscript +++ b/wscript @@ -270,7 +270,7 @@ def configure(conf): if conf.env.cxxshlib_PATTERN.startswith('lib'): 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: conf.define('MOBILE_HACKS', '1')