MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / CustomModel_FreeAll

Function CustomModel_FreeAll

src/Model.c:909–919  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

907}
908
909static void CustomModel_FreeAll(void) {
910 int i;
911#ifdef CC_BUILD_LOWMEM
912 if (!custom_models) return;
913#endif
914
915 for (i = 0; i < MAX_CUSTOM_MODELS; i++)
916 {
917 CustomModel_Undefine(&custom_models[i]);
918 }
919}
920#else
921static void CustomModel_FreeAll(void) { }
922#endif

Callers 2

OnFreeFunction · 0.85
OnResetFunction · 0.85

Calls 1

CustomModel_UndefineFunction · 0.85

Tested by

no test coverage detected