Encapsulated the grid component of the blockmap concept into a reusable object called gridmap_t. Re-implemented the subsector blockmap to use a gridmap internally for storage. Soon the line and polyobj blockmaps will receive the same treatment.
Also, removed R_RationalizeSectors() and the selfrefroot stuff. It is no-longer useful as detection of these kind of hacks is already rationalized in the gl node building logic. Instead, constructs such as the one-sided window will be supported by new map data flags and detected during the node-build phase.
Encapsulated the grid component of the blockmap concept into a reusable object called gridmap_t. Re-implemented the subsector blockmap to use a gridmap internally for storage. Soon the line and polyobj blockmaps will receive the same treatment.
Also, removed R_RationalizeSectors() and the selfrefroot stuff. It is no-longer useful as detection of these kind of hacks is already rationalized in the gl node building logic. Instead, constructs such as the one-sided window will be supported by new map data flags and detected during the node-build phase.