returns a lightmaps height , else -1 if something is wrong
| 125 | } |
| 126 | // returns a lightmaps height , else -1 if something is wrong |
| 127 | int 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 |
| 138 | uint16_t *lm_data(int handle) { |
| 139 | uint16_t *d; |
no outgoing calls
no test coverage detected