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

Function bm_ShutdownBitmaps

bitmap/bitmain.cpp:472–481  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

470 bump_InitBumpmaps();
471}
472void bm_ShutdownBitmaps(void) {
473 int i;
474 mprintf(0, "Freeing all bitmap memory.\n");
475 bm_FreeBitmapMain(0);
476 for (i = 0; i < MAX_BITMAPS; i++) {
477 while (GameBitmaps[i].used > 0)
478 bm_FreeBitmap(i);
479 }
480 bm_DeleteHashTable();
481}
482int bm_AllocateMemoryForIndex(int n, int w, int h, int add_mem) {
483 // If no go on the malloc, bail out with -1
484

Callers

nothing calls this directly

Calls 3

bm_FreeBitmapMainFunction · 0.85
bm_FreeBitmapFunction · 0.85
bm_DeleteHashTableFunction · 0.85

Tested by

no test coverage detected