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

Function HotSpotL

Descent3/TelCom.cpp:1003–1007  ·  view source on GitHub ↗

returns left edge of hotspot

Source from the content-addressed store, hash-verified

1001
1002// returns left edge of hotspot
1003int HotSpotL(int hotspot) {
1004 if (hotspot >= hotspotmap.num_of_hotspots)
1005 return -1;
1006 return hotspotmap.hs[hotspot].x[0].start;
1007}
1008
1009// returns width of hotspot
1010int HotSpotW(int hotspot) {

Callers 3

CompressTelComOnImageFunction · 0.85
DrawHotSpotOnFunction · 0.85
TelComHandleAllEventsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected