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

Method GetPosition

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

Source from the content-addressed store, hash-verified

362 return clock;
363}
364
365bool DisplayArcadeMap::GetPosition(Point3& pos)
366{
367 ArcadeUnitInfo* me = _currentTemplate->FindPlayer();
368 if (me)
369 {
370 pos = me->position;
371 return true;
372 }
373 else
374 {
375 return false;
376 }
377}
378
379bool BreakIntro(unsigned nChar)

Callers 4

IssueCommandMethod · 0.45
SimulateHUDMethod · 0.45
CreateFieldMethod · 0.45
ObjGetBuildingPosFunction · 0.45

Calls 1

FindPlayerMethod · 0.80

Tested by

no test coverage detected