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

Function DrawHotSpotOn

Descent3/TelCom.cpp:952–958  ·  view source on GitHub ↗

draws a hotspot with the on bitmap

Source from the content-addressed store, hash-verified

950
951// draws a hotspot with the on bitmap
952void DrawHotSpotOn(int hotspot) {
953 if (!hotspot_bitmaps)
954 return;
955 if ((hotspot < 0) || (hotspot >= hotspotmap.num_of_hotspots))
956 return;
957 TelCom_BltToScreen(HotSpotL(hotspot), HotSpotT(hotspot), &hotspot_bitmaps[hotspot]);
958}
959
960// ---------------------------------------------------------------------------
961// performs 16-bit blts.

Callers 1

TelcomDrawScreenFunction · 0.85

Calls 3

TelCom_BltToScreenFunction · 0.85
HotSpotLFunction · 0.85
HotSpotTFunction · 0.85

Tested by

no test coverage detected