client: wscript: remove unused opts
This commit is contained in:
parent
add1d81cc1
commit
6672dee0e9
@ -6,27 +6,9 @@ from waflib import Utils
|
||||
import os
|
||||
|
||||
def options(opt):
|
||||
grp = opt.add_option_group('Client options')
|
||||
|
||||
grp.add_option('--enable-vgui', action = 'store_true', dest = 'USE_VGUI', default = False,
|
||||
help = 'Enable VGUI1')
|
||||
grp.add_option('--enable-vgui2', action = 'store_true', dest = 'USE_VGUI2', default = False,
|
||||
help = 'Enable VGUI2. UNDONE')
|
||||
grp.add_option('--enable-novgui-motd', action = 'store_true', dest = 'USE_NOVGUI_MOTD', default = False,
|
||||
help = 'Prefer non-VGUI MOTD when USE_VGUI is enabled')
|
||||
grp.add_option('--enable-novgui-scoreboard', action = 'store_true', dest = 'USE_NOVGUI_SCOREBOARD', default = False,
|
||||
help = 'Prefer non-VGUI Scoreboard when USE_VGUI is enabled')
|
||||
grp.add_option('--disable-goldsrc-support', action = 'store_false', dest = 'GOLDSOURCE_SUPPORT',
|
||||
default=True, help = 'disable GoldSource compatibility')
|
||||
|
||||
opt.load('vgui')
|
||||
|
||||
def configure(conf):
|
||||
conf.env.USE_VGUI = conf.options.USE_VGUI
|
||||
conf.env.USE_NOVGUI_MOTD = conf.options.USE_NOVGUI_MOTD
|
||||
conf.env.USE_NOVGUI_SCOREBOARD = conf.options.USE_NOVGUI_SCOREBOARD
|
||||
conf.env.USE_VOICEMGR = conf.options.USE_VOICEMGR
|
||||
conf.env.GOLDSOURCE_SUPPORT = conf.options.GOLDSOURCE_SUPPORT
|
||||
if conf.env.USE_VGUI:
|
||||
conf.load('vgui')
|
||||
if not conf.check_vgui():
|
||||
|
Loading…
Reference in New Issue
Block a user