MCPcopy Create free account
hub / github.com/Svxy/The-Simpsons-Hit-and-Run / LoadScriptAsync

Method LoadScriptAsync

game/code/mission/missionscriptloader.cpp:648–654  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

646}
647
648void MissionScriptLoader::LoadScriptAsync( char* filename, LoadingManager::ProcessRequestsCallback* callback )
649{
650 mFirstObjective = true;
651 HeapMgr()->PushHeap (GMA_LEVEL_MISSION);
652 GetConsole()->ExecuteScript( filename, this, callback );
653 HeapMgr()->PopHeap(GMA_LEVEL_MISSION);
654}
655
656
657void MissionScriptLoader::OnExecuteScriptComplete( void* pUserData )

Callers 7

InitVehicleMethod · 0.80
LoadScriptDataMethod · 0.80
LoadLevelDataMethod · 0.80
PerformLoadingMethod · 0.80
LoadLevelDataMethod · 0.80
InitLevelDataMethod · 0.80
LoadScriptMethod · 0.80

Calls 5

HeapMgrFunction · 0.85
GetConsoleFunction · 0.85
PushHeapMethod · 0.80
ExecuteScriptMethod · 0.80
PopHeapMethod · 0.80

Tested by

no test coverage detected