ios compilation

This commit is contained in:
2026-05-05 18:20:20 +03:00
parent 386c2fc045
commit c5aef33171
23 changed files with 71 additions and 41 deletions

View File

@@ -22,13 +22,17 @@ DECLARE_BUILD_STAGE(engine)
"cvar.cpp",
"localnetwork.cpp",
"socketnetwork.cpp",
"steamnetwork.cpp",
"humandevice.cpp",
"sv_dll.cpp",
"cl_dll.cpp",
};
if ( GET_PROJECT_VALUE(config, "static") == "true" )
{
compileProject.files.AppendTail("steamnetwork.cpp");
}
compileProject.includeDirectories = {
"../public",
"../external/SDL/include",

View File

@@ -36,10 +36,12 @@ static void CallAxisEvent( EInputDeviceType eDevice, EInputAxis eAxis, float fVa
g_pHumanDeviceManager->AxisEventRelative(eDevice, eAxis, fValue );
}
#ifdef STEAM
extern "C" void __cdecl SteamAPIDebug( ESteamNetworkingSocketsDebugOutputType nType, const char *pszMsg )
{
V_printf("STEAM: %s\n", pszMsg);
}
#endif
extern "C" void FunnyMain( int argc, char **argv )
{