toggle the hud between cockput & fullscreen modes
| 773 | |
| 774 | // toggle the hud between cockput & fullscreen modes |
| 775 | void ToggleHUDMode() { |
| 776 | if (GetHUDMode() == HUD_COCKPIT) |
| 777 | SetHUDMode(HUD_FULLSCREEN); |
| 778 | else if (GetHUDMode() == HUD_FULLSCREEN) |
| 779 | SetHUDMode(HUD_COCKPIT); |
| 780 | } |
| 781 | |
| 782 | // sets the hud item state(what's visible, how it's drawn, etc) |
| 783 | void SetHUDState(uint16_t hud_mask, uint16_t hud_gr_mask) { |
no test coverage detected