mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-03-12 05:22:55 +00:00
wscript: update.
This commit is contained in:
parent
5b003023b7
commit
70f2b7610c
@ -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']
|
||||
|
@ -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 = []
|
||||
|
2
wscript
2
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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user