MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / SimulateScripts

Method SimulateScripts

engine/Poseidon/World/WorldSetup.cpp:1394–1407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1392}
1393
1394void World::SimulateScripts()
1395{
1396 for (int i = 0; i < _scripts.Size();)
1397 {
1398 if (_scripts[i]->OnSimulate())
1399 {
1400 _scripts.Delete(i);
1401 }
1402 else
1403 {
1404 i++;
1405 }
1406 }
1407}
1408
1409void World::SetCameraScript(Script* script)
1410{

Callers 12

SimulateMethod · 0.80
OnSimulateMethod · 0.80
InitMethod · 0.80
DisplayCampaignIntroMethod · 0.80
RunInitScriptFunction · 0.80
RunMissionScriptFunction · 0.80
OnKeyUpMethod · 0.80
OnLButtonUpMethod · 0.80
OnKeyUpMethod · 0.80
OnLButtonUpMethod · 0.80
OnKeyUpMethod · 0.80
OnLButtonUpMethod · 0.80

Calls 3

SizeMethod · 0.45
OnSimulateMethod · 0.45
DeleteMethod · 0.45

Tested by

no test coverage detected