Lighting optimizations.
Created by: PJB3005
- Less lists
- More optimized for() loops
- More turf ref usage
- Better turf ref handling when the resolution is 1 (through preprocessor defines)
- Pooling for lighting overlays
Keep in mind that these optimizations are NOT tested for actual performance, I mean they OBVIOUSLY run better, but I can't say how much.