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

Function ResetHUDLevelItems

Descent3/hud.cpp:644–651  ·  view source on GitHub ↗

clears out HUD level items

Source from the content-addressed store, hash-verified

642
643// clears out HUD level items
644void ResetHUDLevelItems() {
645 int i;
646 for (i = 0; i < MAX_HUD_ITEMS; i++) {
647 if (HUD_array[i].stat && (HUD_array[i].flags & HUD_FLAG_LEVEL)) {
648 FreeHUDItem(i);
649 }
650 }
651}
652
653// from game.cpp
654extern void InitGameScreen(int, int);

Callers 1

ResetHUDMessagesFunction · 0.85

Calls 1

FreeHUDItemFunction · 0.85

Tested by

no test coverage detected