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

Function TelCom_ClearCustomKeyEvents

Descent3/TelCom.cpp:4044–4054  ·  view source on GitHub ↗

Removes any custom key event translation masks */

Source from the content-addressed store, hash-verified

4042 Removes any custom key event translation masks
4043*/
4044void TelCom_ClearCustomKeyEvents(void) {
4045 tCustomKeyEventID *next, *curr = Telcom_custom_key_event_root;
4046
4047 while (curr) {
4048 next = curr->next;
4049
4050 mem_free(curr);
4051 curr = next;
4052 }
4053 Telcom_custom_key_event_root = NULL;
4054}
4055
4056/*
4057 Adds a custom key event translation mask

Callers 2

TelComMainMenuFunction · 0.85
TelComSingleShipSelectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected