| 470 | bump_InitBumpmaps(); |
| 471 | } |
| 472 | void 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 | } |
| 482 | int bm_AllocateMemoryForIndex(int n, int w, int h, int add_mem) { |
| 483 | // If no go on the malloc, bail out with -1 |
| 484 |
nothing calls this directly
no test coverage detected