Frees all the memory used by vclips
| 178 | #define VCLIP_VERSION 1 |
| 179 | // Frees all the memory used by vclips |
| 180 | void FreeAllVClips() { |
| 181 | mprintf(0, "Freeing all vclips!\n"); |
| 182 | |
| 183 | for (int i = 0; i < MAX_VCLIPS; i++) { |
| 184 | if (GameVClips[i].used > 0) { |
| 185 | GameVClips[i].used = 1; |
| 186 | FreeVClip(i); |
| 187 | } |
| 188 | } |
| 189 | } |
| 190 | |
| 191 | // Simply sets all vclips to unused |
| 192 | void InitVClips() { |
nothing calls this directly
no test coverage detected