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

Function ShowCompass

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

Source from the content-addressed store, hash-verified

2149 DisplayMap* map = dynamic_cast<DisplayMap*>(GWorld->Map());
2150 if (map)
2151 {
2152 map->ShowWatch(oper1);
2153 }
2154 return NOTHING;
2155}
2156
2157GameValue ShowCompass(const GameState* state, GameValuePar oper1)
2158{
2159 DisplayMap* map = dynamic_cast<DisplayMap*>(GWorld->Map());
2160 if (map)
2161 {
2162 map->ShowCompass(oper1);

Callers 2

DisplayGetReadyMethod · 0.85
DisplayMapMethod · 0.85

Calls 2

MapMethod · 0.45
ShowCompassMethod · 0.45

Tested by

no test coverage detected