mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 09:49:36 +00:00
Initial android support
This commit is contained in:
@@ -1006,26 +1006,18 @@ bool CEngineAPI::Connect( CreateInterfaceFn factory )
|
||||
// Store off the app system factory...
|
||||
g_AppSystemFactory = factory;
|
||||
|
||||
Warning( "CEngineAPI::Connect\n" );
|
||||
|
||||
if ( !BaseClass::Connect( factory ) )
|
||||
return false;
|
||||
|
||||
Warning( "CEngineAPI::Connect2\n" );
|
||||
|
||||
g_pFileSystem = g_pFullFileSystem;
|
||||
if ( !g_pFileSystem )
|
||||
return false;
|
||||
|
||||
Warning( "CEngineAPI::Connect3\n" );
|
||||
|
||||
g_pFileSystem->SetWarningFunc( Warning );
|
||||
|
||||
if ( !Shader_Connect( true ) )
|
||||
return false;
|
||||
|
||||
Warning( "CEngineAPI::Connect4\n" );
|
||||
|
||||
g_pPhysics = (IPhysics*)factory( VPHYSICS_INTERFACE_VERSION, NULL );
|
||||
|
||||
if ( !g_pStudioRender || !g_pDataCache || !g_pPhysics || !g_pMDLCache || !g_pMatSystemSurface || !g_pInputSystem /* || !g_pVideo */ )
|
||||
|
||||
+4
-4
@@ -324,14 +324,14 @@ def build(bld):
|
||||
'audio',
|
||||
'audio/public',
|
||||
'audio/private',
|
||||
'../thirdparty/openal-soft-android/include',
|
||||
'../thirdparty/curl/include'
|
||||
]
|
||||
|
||||
defines = []
|
||||
|
||||
#libs = ['tier0','vgui_controls','dmxloader','tier1','tier2','tier3','bitmap','vstdlib','appframework','datamodel','vtf','mathlib','steam_api','matsys_controls','BZ2','SDL2','JPEG','ZLIB','OPENAL','CURL'] linux
|
||||
libs = ['tier0','vgui_controls','dmxloader','tier1','tier2','tier3','bitmap','vstdlib','appframework','datamodel','vtf','mathlib','steam_api','matsys_controls','BZ2','sdl2','jpeg','zlib','openal','curl','ssl','crypto']
|
||||
libs = ['tier0','vgui_controls','dmxloader','tier1','tier2','tier3','bitmap','vstdlib','appframework','datamodel','vtf','mathlib','steam_api','matsys_controls','BZ2','SDL2','JPEG','ZLIB','OPENAL','CURL' ]
|
||||
|
||||
if bld.env.DEST_OS == 'android':
|
||||
libs += ['SSL', 'CRYPTO'] # android curl was built with openssl
|
||||
|
||||
install_path = bld.env.LIBDIR
|
||||
|
||||
|
||||
Reference in New Issue
Block a user