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

Function EfxClose

Descent3/TelComEffects.cpp:177–184  ·  view source on GitHub ↗

Shutdown of effects

Source from the content-addressed store, hash-verified

175
176// Shutdown of effects
177void EfxClose(void) {
178 for (int i = 0; i < MAX_TCEFFECTS; i++) {
179 if (TCEffects[i].type != EFX_NONE) {
180 tceffect *tce = &TCEffects[i];
181 EfxFreeEffect(tce);
182 }
183 }
184}
185
186// Destroys all the screens
187void EfxDestroyAllScreens(void) {

Callers 1

TelComMainFunction · 0.85

Calls 1

EfxFreeEffectFunction · 0.85

Tested by

no test coverage detected