Use size_t for representing the length of HEdge lists. Subsector creation moved out of edit_map.c and into the BSP code for now. We no longer need global records of segs/subsectors in editmap_t so have been removed. We no longer need a record of subsector indices in the BSP build data so have been removed. This currently requires one extra traversal of the BSP to determine the number of leaves (once I've finished wrapping the BSP, this property will be tracked in linear time so the traversal will be removed).
Use size_t for representing the length of HEdge lists.
Subsector creation moved out of edit_map.c and into the BSP code for now.
We no longer need global records of segs/subsectors in editmap_t so have been removed.
We no longer need a record of subsector indices in the BSP build data so have been removed. This currently requires one extra traversal of the BSP to determine the number of leaves (once I've finished wrapping the BSP, this property will be tracked in linear time so the traversal will be removed).