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

Function FreeTelComOnBitmaps

Descent3/TelCom.cpp:930–939  ·  view source on GitHub ↗

frees up on-state bitmaps

Source from the content-addressed store, hash-verified

928
929// frees up on-state bitmaps
930void FreeTelComOnBitmaps(chunked_bitmap *array) {
931 if (!array)
932 return;
933 int count;
934
935 // the first hotspot bitmap doesn't exist, so we can skip it
936 for (count = 1; count < hotspotmap.num_of_hotspots; count++) {
937 bm_DestroyChunkedBitmap(&array[count]);
938 }
939}
940
941// This deactivates the TelCom system
942void TelComDeactivate(void) {

Callers 1

TelComDeactivateFunction · 0.85

Calls 1

bm_DestroyChunkedBitmapFunction · 0.85

Tested by

no test coverage detected