Factor out the allocation of new light styles - slightly increases the code size, but we get two benefits; first is that we now don't allocate the style 0 lightmap unless we actually need it; second, we get warnings if sunlight or minlight is unable to be applied due to lack of a style 0 lightmap. Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net> |
||
|---|---|---|
| .. | ||
| entities.c | ||
| light.c | ||
| litfile.c | ||
| ltface.c | ||
| trace.c | ||