fixes for physics

This commit is contained in:
2026-03-17 01:01:10 +02:00
parent f3ed144fb5
commit 0a506f7185
24 changed files with 179 additions and 74 deletions

View File

@@ -117,6 +117,7 @@ extern "C" void FunnyMain( int argc, char **argv )
SteamAPI_RunCallbacks();
#endif
double fCurrent = Plat_GetTime();
double fStart = Plat_GetTime();
double fDelta = fCurrent-fPrevious;
fPrevious = fCurrent;
@@ -124,15 +125,23 @@ extern "C" void FunnyMain( int argc, char **argv )
g_pHumanDeviceManager->Frame();
g_pServerGame->m_pBridge->Frame(fDelta);
fCurrent = Plat_GetTime();
if (!stConstants.m_bIsDedicated)
{
g_pWindowManager->Frame(fDelta);
g_pClientGame->m_pBridge->Frame(fDelta);
g_pRenderContext->Frame(fDelta);
fCurrent = Plat_GetTime();
}
Console()->Execute();
fCurrent = Plat_GetTime();
};
};