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

Function ShowMap

engine/Poseidon/Game/Commands/GameStateExtUi.cpp:2131–2139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2129 }
2130
2131 RString name = GetSaveDirectory() + RString("autosave.fps");
2132 GWorld->SaveBin(name, IDS_AUTOSAVE_GAME);
2133 return NOTHING;
2134}
2135
2136GameValue ShowMap(const GameState* state, GameValuePar oper1)
2137{
2138 DisplayMap* map = dynamic_cast<DisplayMap*>(GWorld->Map());
2139 if (map)
2140 {
2141 map->ShowMap(oper1);
2142 }

Callers 2

DisplayGetReadyMethod · 0.85
DisplayMapMethod · 0.85

Calls 2

ShowMapMethod · 0.80
MapMethod · 0.45

Tested by

no test coverage detected