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

Function PlayAward

engine/Poseidon/UI/OptionsUI.cpp:1634–1644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1632 {
1633 const ParamEntry& missionCls = battleCls >> CurrentMission;
1634
1635 /*
1636 // enable / disable HUD, radio, map etc.
1637 if (GWorld->UI())
1638 {
1639 int showHUD = missionCls >> "showHUD";
1640 bool bShowHUD = showHUD != 0;
1641 GWorld->UI()->ShowAll(bShowHUD);
1642 GWorld->UI()->ShowMessage(UIMsgCenter, bShowHUD);
1643 GWorld->UI()->ShowMessage(UIMsgGroup, bShowHUD);
1644 GWorld->UI()->ShowMessage(UIMsgVehicle, bShowHUD);
1645 GWorld->UI()->ShowMessage(UIMsgHelp, bShowHUD);
1646 }
1647 */

Callers 1

CheckAwardFunction · 0.85

Calls 3

GetTmpSaveDirectoryFunction · 0.85
SaveMissionFunction · 0.70
CreateChildMethod · 0.45

Tested by

no test coverage detected