game/client: fix messagemode, add acceleration for touch, GameUI: add touch options

This commit is contained in:
nillerusr
2022-04-16 12:58:59 +03:00
parent 0feeab91dd
commit ab5c1c0b3a
12 changed files with 505 additions and 76 deletions

View File

@@ -15,6 +15,7 @@ games = {
'hl2': ['client_base.vpc', 'client_hl2.vpc'],
'hl2mp': ['client_base.vpc', 'client_hl2mp.vpc'],
'hl1': ['client_base.vpc', 'client_hl1.vpc'],
'episodic': ['client_base.vpc', 'client_episodic.vpc'],
'portal': ['client_base.vpc', 'client_portal.vpc'],
'hl1mp': ['client_base.vpc', 'client_hl1.vpc'],
'cstrike': ['client_base.vpc', 'client_cstrike.vpc'],
@@ -25,6 +26,8 @@ def configure(conf):
game = conf.options.GAMES
conf.env.GAMES = game
conf.env.append_unique('DEFINES', ['DISABLE_STEAM=1'])
if game not in games.keys():
conf.fatal("Couldn't find game: ", game)
@@ -66,7 +69,7 @@ def build(bld):
if bld.env.DEST_OS != 'android':
install_path += '/'+bld.env.GAMES+'/bin'
source = [ 'touch.cpp' ]
source = [ 'touch.cpp', 'in_touch.cpp' ]
source += game["sources"]
includes += game["includes"]