mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-04 18:09:53 +03:00
game/client: fix messagemode, add acceleration for touch, GameUI: add touch options
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user