1
0
forked from mirrors/0ad

# housekeeping and bugfix in Loader queue

remove old instrumentation, fix warnings, add measured timing results
Loader: bugfix: no more memory leak whenever callback returns a warning
code. this was a loophole in the callback return value docs.

This was SVN commit r4048.
This commit is contained in:
janwas
2006-06-29 22:52:50 +00:00
parent fd38387778
commit 600adac871
9 changed files with 49 additions and 43 deletions
+3 -1
View File
@@ -51,11 +51,13 @@ int CSimulation::Initialize(CGameAttributes* pAttribs)
// Call the game startup script
// TODO: Maybe don't do this if we're in Atlas
// [2006-06-26 20ms]
g_ScriptingHost.RunScript( "scripts/game_startup.js" );
// [2006-06-26 3647ms]
g_EntityManager.InitializeAll();
// 2006-03-04: ~33ms
// [2006-06-26: 61ms]
m_pWorld->GetLOSManager()->Initialize(pAttribs->m_LOSSetting);
return 0;