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

Function FreeAllModels

model/polymodel.cpp:3043–3051  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3041}
3042
3043void FreeAllModels() {
3044 for (int i = 0; i < MAX_POLY_MODELS; i++) {
3045 if (Poly_models[i].used > 0) {
3046 Poly_models[i].used = 1;
3047
3048 FreePolyModel(i);
3049 }
3050 }
3051}
3052
3053// Inits our models array and loads our ship pof
3054int InitModels() {

Callers

nothing calls this directly

Calls 1

FreePolyModelFunction · 0.85

Tested by

no test coverage detected