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

Function OpenEditor

engine/Poseidon/UI/DisplayUIMenus.cpp:1968–1979  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1966
1967void OpenEditor()
1968{
1969 Display* options = dynamic_cast<Display*>(GWorld->Options());
1970 if (!options)
1971 {
1972 return;
1973 }
1974 GWorld->SwitchLandscape(GetWorldName(Glob.header.worldname));
1975 // Macrovision CD Protection
1976 CreateEditor(options);
1977 // options->CreateChild(new DisplayArcadeMap(options));
1978}
1979
1980void StartIntro()
1981{
1982 Display* options = dynamic_cast<Display*>(GWorld->Options());

Callers 1

StartIntroMethod · 0.85

Calls 4

GetWorldNameFunction · 0.85
CreateEditorFunction · 0.85
OptionsMethod · 0.80
SwitchLandscapeMethod · 0.80

Tested by

no test coverage detected