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

Method OnSimulate

engine/Poseidon/UI/Map/UIMapExtDisplay.cpp:1992–2000  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1990}
1991#endif
1992
1993void DisplayArcadeMap::OnSimulate(EntityAI* vehicle)
1994{
1995 DisplayMapEditor::OnSimulate(vehicle);
1996 _map->ProcessCheats();
1997#if _ENABLE_CHEATS
1998 if (InputSubsystem::Instance().GetCheat1ToDo(SDL_SCANCODE_Z) && _currentTemplate)
1999 ExportMission(*_currentTemplate, GetMissionDirectory() + RString("mission.sqf"));
2000#endif
2001}
2002
2003bool DisplayArcadeMap::OnUnregisteredAddonUsed(RString addon)

Callers

nothing calls this directly

Calls 5

ExportMissionFunction · 0.85
GetMissionDirectoryFunction · 0.85
GetCheat1ToDoMethod · 0.80
RStringClass · 0.50
ProcessCheatsMethod · 0.45

Tested by

no test coverage detected