MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / disableMask

Function disableMask

TheForceEngine/TFE_DarkForces/mission.cpp:1026–1040  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1024 }
1025
1026 void disableMask()
1027 {
1028 if (!s_wearingGasmask)
1029 {
1030 return;
1031 }
1032
1033 hud_sendTextMessage(19);
1034 s_wearingGasmask = JFALSE;
1035 if (s_gasmaskTask)
1036 {
1037 task_free(s_gasmaskTask);
1038 s_gasmaskTask = nullptr;
1039 }
1040 }
1041
1042 void enableMask()
1043 {

Callers 4

handleGeneralInputFunction · 0.85
player_createControllerFunction · 0.85
removeMaskFunction · 0.85

Calls 2

hud_sendTextMessageFunction · 0.85
task_freeFunction · 0.85

Tested by

no test coverage detected