code/modules/lighting/lighting_source.dm 
| SETUP_CORNERS_REMOVAL_CACHE | Copies the vars ADD_CORNER_LUM() needs into locals, since reading a local is faster than reading src's vars for every corner. For procs that only remove light. |
|---|---|
| SETUP_CORNERS_CACHE | Copies the vars LUM_FALLOFF() and ADD_CORNER_LUM() need into locals. Has to come before either of them is used. |
| LUM_FALLOFF | This is the define used to calculate falloff. |
| ADD_CORNER_LUM | Adds the given amount of light to a corner, and queues the corner for an update if it changed. |
| GATHER_CORNER | Adds a corner to the corners list, unless it's already been added this update. |
Define Details
ADD_CORNER_LUM 
Adds the given amount of light to a corner, and queues the corner for an update if it changed.
GATHER_CORNER 
Adds a corner to the corners list, unless it's already been added this update.
LUM_FALLOFF 
This is the define used to calculate falloff.
SETUP_CORNERS_CACHE 
Copies the vars LUM_FALLOFF() and ADD_CORNER_LUM() need into locals. Has to come before either of them is used.
SETUP_CORNERS_REMOVAL_CACHE 
Copies the vars ADD_CORNER_LUM() needs into locals, since reading a local is faster than reading src's vars for every corner. For procs that only remove light.