diff --git a/cl_dll/wscript b/cl_dll/wscript index e835fd7..4d9ade5 100644 --- a/cl_dll/wscript +++ b/cl_dll/wscript @@ -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():