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

Function HotSpotT

Descent3/TelCom.cpp:1017–1021  ·  view source on GitHub ↗

returns the top edge of a hotspot

Source from the content-addressed store, hash-verified

1015
1016// returns the top edge of a hotspot
1017int HotSpotT(int hotspot) {
1018 if (hotspot >= hotspotmap.num_of_hotspots)
1019 return -1;
1020 return hotspotmap.hs[hotspot].starting_y;
1021}
1022
1023// returns the height of a hotspot
1024int HotSpotH(int hotspot) {

Callers 3

CompressTelComOnImageFunction · 0.85
DrawHotSpotOnFunction · 0.85
TelComHandleAllEventsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected