| 36 | static uint16_t *Free_lmi_list = NULL; |
| 37 | |
| 38 | void CloseLightmapInfos() { |
| 39 | bool final_lightmap = true; |
| 40 | |
| 41 | if (LightmapInfo) |
| 42 | mem_free(LightmapInfo); |
| 43 | |
| 44 | if (Free_lmi_list) |
| 45 | mem_free(Free_lmi_list); |
| 46 | |
| 47 | LightmapInfo = NULL; |
| 48 | Free_lmi_list = NULL; |
| 49 | } |
| 50 | |
| 51 | // Sets all the lightmaps to unused |
| 52 | void InitLightmapInfo(int nummaps) { |