mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-08-26 13:51:56 +00:00
maintui: first blood
This commit is contained in:
parent
0a5f175431
commit
a85bd0c864
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -37,3 +37,6 @@
|
||||
[submodule "3rdparty/libbacktrace/libbacktrace"]
|
||||
path = 3rdparty/libbacktrace/libbacktrace
|
||||
url = https://github.com/ianlancetaylor/libbacktrace
|
||||
[submodule "3rdparty/maintui"]
|
||||
path = 3rdparty/maintui
|
||||
url = https://github.com/numas13/xash3d-maintui.git
|
||||
|
1
3rdparty/maintui
vendored
Submodule
1
3rdparty/maintui
vendored
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 074876cccea55d377c1fdbc6793b11a02bd85fad
|
8
wscript
8
wscript
@ -99,7 +99,8 @@ SUBDIRS = [
|
||||
Subproject('3rdparty/libogg', lambda x: x.env.CLIENT and not x.env.HAVE_SYSTEM_OGG),
|
||||
Subproject('3rdparty/vorbis', lambda x: x.env.CLIENT and (not x.env.HAVE_SYSTEM_VORBIS or not x.env.HAVE_SYSTEM_VORBISFILE)),
|
||||
Subproject('3rdparty/opusfile', lambda x: x.env.CLIENT and not x.env.HAVE_SYSTEM_OPUSFILE),
|
||||
Subproject('3rdparty/mainui', lambda x: x.env.CLIENT),
|
||||
Subproject('3rdparty/mainui', lambda x: x.env.CLIENT and not x.env.TUI),
|
||||
Subproject('3rdparty/maintui', lambda x: x.env.CLIENT and x.env.TUI),
|
||||
Subproject('3rdparty/vgui_support', lambda x: x.env.CLIENT),
|
||||
Subproject('3rdparty/MultiEmulator',lambda x: x.env.CLIENT),
|
||||
# Subproject('3rdparty/freevgui', lambda x: x.env.CLIENT),
|
||||
@ -137,6 +138,9 @@ def options(opt):
|
||||
grp.add_option('--enable-dedicated', action = 'store_true', dest = 'ENABLE_DEDICATED', default = False,
|
||||
help = 'enable building Xash Dedicated Server alongside client [default: %(default)s]')
|
||||
|
||||
grp.add_option('--enable-tui', action = 'store_true', dest = 'ENABLE_TUI', default = False,
|
||||
help = 'enable TUI main menu [default: %(default)s]')
|
||||
|
||||
grp.add_option('--gamedir', action = 'store', dest = 'GAMEDIR', default = 'valve',
|
||||
help = 'engine default (base) game directory [default: %(default)s]')
|
||||
|
||||
@ -415,6 +419,8 @@ def configure(conf):
|
||||
conf.env.CLIENT = False
|
||||
conf.env.LAUNCHER = False
|
||||
|
||||
conf.env.TUI = conf.options.ENABLE_TUI
|
||||
|
||||
conf.define_cond('SUPPORT_HL25_EXTENDED_STRUCTS', conf.options.SUPPORT_HL25_EXTENDED_STRUCTS)
|
||||
|
||||
if conf.env.SAILFISH == 'aurora':
|
||||
|
Loading…
x
Reference in New Issue
Block a user