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

Function EfxDestroyAllScreens

Descent3/TelComEffects.cpp:187–195  ·  view source on GitHub ↗

Destroys all the screens

Source from the content-addressed store, hash-verified

185
186// Destroys all the screens
187void EfxDestroyAllScreens(void) {
188 for (int i = 0; i < MAX_TCEFFECTS; i++) {
189 if (TCEffects[i].type != EFX_NONE) {
190 tceffect *tce = &TCEffects[i];
191 EfxFreeEffect(tce);
192 }
193 }
194 EfxInit();
195}
196
197// Destroys the screens within a monitor
198void EfxDestroyScreen(int screen) {

Callers

nothing calls this directly

Calls 2

EfxFreeEffectFunction · 0.85
EfxInitFunction · 0.85

Tested by

no test coverage detected