Revision 0c01a955
Added by danij almost 16 years ago
Files
- added
- modified
- copied
- renamed
- deleted
- doomsday
- engine
- api
- portable
- include
- m_vector.h (diff)
- mapdata.hs (diff)
- p_mapdata.h (diff)
- p_maptypes.h (diff)
- r_data.h (diff)
- r_world.h (diff)
- rend_bias.h (diff)
- src
- dam_main.c (diff)
- edit_map.c (diff)
- m_vector.c (diff)
- p_data.c (diff)
- r_data.c (diff)
- r_world.c (diff)
- rend_bias.c (diff)
- rend_main.c (diff)
- include
- engine
Revised memory management for bias lighting. Tracker, affection and vertexillum data is now contained within new struct biassurface_t. biassurface_t structs are allocated separately to the world map surfaces and links to them are stored in seg_t and subsector_t instead. A linked list of biassurface_ts are managed in rend_bias.c which allows for faster traversal in SB_BeginFrame.
Todo: Now that this data is seperate from the world map data it would be possible to not allocate them at all for dedicated servers, since they will not be needed anyway.