Project

General

Profile

« Previous | Next » 

Revision 28d1c5ef

Added by danij almost 13 years ago

Reimplement Gridmap as a sparse region quadtree

All map data blockmaps have been replaced with quadtrees (i.e., LineDefs
Mobjs, Polyobjs, Subsectors and the "obj-link" structures) and all are
constructed piece-wise, with the objects of each cell managed using
ring linked lists.

Cleaned up the unfinished code I left behind during the floating point
switch over.

Todo: Replace/reimplement P_PathTraverse with an algorithm that removes
the assumption that all blockmaps use the same block size dimensions.

Todo: Improve Map_LinkLineDefInBlockmap to avoid traversing the whole
blockmap (straight forward; clip work set to LineDef's AABB in cell
coords).

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences