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

Function TelComDeactivate

Descent3/TelCom.cpp:942–949  ·  view source on GitHub ↗

This deactivates the TelCom system

Source from the content-addressed store, hash-verified

940
941// This deactivates the TelCom system
942void TelComDeactivate(void) {
943 mprintf(0, "TelCom System being deactivated\n");
944 FreeTelComOnBitmaps(hotspot_bitmaps);
945 FreeHotSpotMapInternals(&hotspotmap);
946 FreeViewports();
947 if (windowmap.wm)
948 mem_free(windowmap.wm);
949}
950
951// draws a hotspot with the on bitmap
952void DrawHotSpotOn(int hotspot) {

Callers 1

TelComShowFunction · 0.85

Calls 3

FreeTelComOnBitmapsFunction · 0.85
FreeHotSpotMapInternalsFunction · 0.85
FreeViewportsFunction · 0.85

Tested by

no test coverage detected