returns a lightmaps width else -1 if something is wrong
| 114 | } |
| 115 | // returns a lightmaps width else -1 if something is wrong |
| 116 | int lm_w(int handle) { |
| 117 | int w; |
| 118 | if (!GameLightmaps[handle].used) { |
| 119 | Int3(); |
| 120 | return -1; |
| 121 | } |
| 122 | w = GameLightmaps[handle].width; |
| 123 | |
| 124 | return (w); |
| 125 | } |
| 126 | // returns a lightmaps height , else -1 if something is wrong |
| 127 | int lm_h(int handle) { |
| 128 | int h; |
no outgoing calls
no test coverage detected