Transition all tools to access the BSP data via the bspdata struct instead of the shared globals. Remove the compatibility code from bspfile which copied the global values to/from the instanced bspdata struct. Mostly the changes just involved passing along the bspdata struct to the various functions which needed to reference the data. TraceLine and MakeTNodes in light got some extra changes so that we cache the node dplane pointer and remove the need to pass the bspdata struct to every trace operation! Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net> |
||
|---|---|---|
| .. | ||
| entities.c | ||
| light.c | ||
| litfile.c | ||
| ltface.c | ||
| trace.c | ||