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

Method ResetHUD

engine/Poseidon/UI/Map/UIMapDisplay.cpp:855–868  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

853}
854
855void DisplayMap::ResetHUD()
856{
857 if (_map)
858 {
859 _map->Reset();
860 }
861 if (_briefing)
862 {
863 UpdateWeaponsInBriefing();
864 UpdateUnitsInBriefing();
865 // UpdateDebriefing();
866 }
867 InputSubsystem::Instance().ResetCursorPosition();
868}
869
870ControlObject* DisplayMap::OnCreateObject(int type, int idc, const ParamEntry& cls)
871{

Callers 2

DisplayGetReadyMethod · 0.45
ProcessCheatsMethod · 0.45

Calls 3

UpdateWeaponsInBriefingFunction · 0.85
ResetCursorPositionMethod · 0.80
ResetMethod · 0.45

Tested by

no test coverage detected