engine: rework timer stuff, move to platform. Move debugger present checks to platform

This commit is contained in:
Alibek Omarov
2018-11-16 16:32:16 +03:00
parent f0d0861160
commit 7c772d6bfd
8 changed files with 198 additions and 110 deletions

View File

@@ -74,6 +74,9 @@ def build(bld):
libs += ['USER32', 'SHELL32', 'GDI32', 'ADVAPI32', 'DBGHELP']
source += bld.path.ant_glob(['platform/win32/*.c'])
if bld.env.DEST_OS == 'linux':
source += bld.path.ant_glob(['platform/linux/*.c'])
# add client files and sdl2 library
if not bld.env.DEDICATED:
libs.append( 'SDL2' )