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

Function lm_data

bitmap/lightmap.cpp:138–147  ·  view source on GitHub ↗

returns a lightmaps data else NULL if something is wrong

Source from the content-addressed store, hash-verified

136}
137// returns a lightmaps data else NULL if something is wrong
138uint16_t *lm_data(int handle) {
139 uint16_t *d;
140 if (!GameLightmaps[handle].used) {
141 Int3();
142 return NULL;
143 }
144
145 d = GameLightmaps[handle].data;
146 return (d);
147}

Callers 15

ShowLevelStatsFunction · 0.85
CopySqueezeDataForRoomsFunction · 0.85
CopySqueezeDataForObjectFunction · 0.85
SqueezeLightmapsFunction · 0.85
BlendLightingEdgesFunction · 0.85
ApplyLightingToSubmodelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected