MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / ResetHUD

Function ResetHUD

Descent3/hud.cpp:633–641  ·  view source on GitHub ↗

resets hud

Source from the content-addressed store, hash-verified

631
632// resets hud
633void ResetHUD() {
634 int i;
635
636 for (i = 0; i < MAX_HUD_ITEMS; i++) {
637 if (HUD_array[i].stat && !(HUD_array[i].flags & HUD_FLAG_LEVEL) && !(HUD_array[i].flags & HUD_FLAG_PERSISTANT)) {
638 FreeHUDItem(i);
639 }
640 }
641}
642
643// clears out HUD level items
644void ResetHUDLevelItems() {

Callers 1

LoadHUDConfigFunction · 0.85

Calls 1

FreeHUDItemFunction · 0.85

Tested by

no test coverage detected