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

Function lm_h

bitmap/lightmap.cpp:127–136  ·  view source on GitHub ↗

returns a lightmaps height , else -1 if something is wrong

Source from the content-addressed store, hash-verified

125}
126// returns a lightmaps height , else -1 if something is wrong
127int lm_h(int handle) {
128 int h;
129 if (!GameLightmaps[handle].used) {
130 Int3();
131 return -1;
132 }
133 h = GameLightmaps[handle].height;
134
135 return (h);
136}
137// returns a lightmaps data else NULL if something is wrong
138uint16_t *lm_data(int handle) {
139 uint16_t *d;

Callers 9

ShowLevelStatsFunction · 0.85
WriteLightmapChunkFunction · 0.85
TCAMRenderRoomFunction · 0.85
RenderSpecularFacesFunction · 0.85
RenderSpecularFacesFlatFunction · 0.85
RenderFaceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected