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

Function bm_DestroyChunkedBitmap

bitmap/bitmain.cpp:1518–1524  ·  view source on GitHub ↗

destroys a chunked bitmap.

Source from the content-addressed store, hash-verified

1516}
1517// destroys a chunked bitmap.
1518void bm_DestroyChunkedBitmap(chunked_bitmap *chunk) {
1519 int i, num_bmps = chunk->w * chunk->h;
1520 for (i = 0; i < num_bmps; i++)
1521 bm_FreeBitmap(chunk->bm_array[i]);
1522 mem_free(chunk->bm_array);
1523 chunk->bm_array = NULL;
1524}
1525// Changes the size of a bitmap to a new size
1526void bm_ChangeSize(int handle, int new_w, int new_h) {
1527 int mipped = bm_mipped(handle);

Callers 15

FontKernFunction · 0.85
LoadGameDialogCBFunction · 0.85
LoadGameDialogFunction · 0.85
TelComFreeFunction · 0.85
FreeTelComOnBitmapsFunction · 0.85
TelcomFreeCornersFunction · 0.85
EfxFreeEffectFunction · 0.85
ShutdownMethod · 0.85
FreeMethod · 0.85
TelComGoalStatusFunction · 0.85

Calls 1

bm_FreeBitmapFunction · 0.85

Tested by

no test coverage detected