ericw-tools/qbsp
Jonathan 097b564cc6 remove bspbrush_t::original; it is no longer required since mapbrush_t is what the output is being written to
use some explicit types (bspbrush_t::ptr for pointer, bspbrush_t::container for container of pointers, and bspbrush_t::make_ptr to create one) so that we can swap it out with different pointers easier later
swap out bspbrush_t::ptr from unique_ptr to shared_ptr; it's not important yet, but it does not increase compilation time and will allow us to pass things to functions like SplitBrush without destroying the original as long as we still have a reference to it somewhere (important for ChopBrushes)
add get_positive_plane to mapface_t
instead of creating a whole copy of the bspbrush_t list, BrushBSP now just creates copies of the shared_ptrs which are then filtered down the tree; the originals are never modified by SplitBrushList and friends, only split into new brushes, so this is safe from what I can tell
portals now directly reference the mapface_ts
original_brushes now directly reference the mapbrush_ts
early exit in `BrushBSP` if brush list is empty (moved to top)
2022-08-10 16:02:16 -04:00
..
CMakeLists.txt build: add tbbmalloc 2022-08-09 00:19:39 -06:00
brush.cc remove bspbrush_t::original; it is no longer required since mapbrush_t is what the output is being written to 2022-08-10 16:02:16 -04:00
brushbsp.cc remove bspbrush_t::original; it is no longer required since mapbrush_t is what the output is being written to 2022-08-10 16:02:16 -04:00
csg.cc remove bspbrush_t::original; it is no longer required since mapbrush_t is what the output is being written to 2022-08-10 16:02:16 -04:00
exportobj.cc qbsp: keep a pool of node_t's in tree_t in a tbb::concurrent_vector 2022-08-08 23:43:36 -06:00
faces.cc remove bspbrush_t::original; it is no longer required since mapbrush_t is what the output is being written to 2022-08-10 16:02:16 -04:00
main.cc clang-format pass 2022-07-28 06:14:54 -04:00
map.cc remove bspbrush_t::original; it is no longer required since mapbrush_t is what the output is being written to 2022-08-10 16:02:16 -04:00
merge.cc move lmshift to mapface_t 2022-08-10 00:53:58 -04:00
outside.cc remove bspbrush_t::original; it is no longer required since mapbrush_t is what the output is being written to 2022-08-10 16:02:16 -04:00
portals.cc remove bspbrush_t::original; it is no longer required since mapbrush_t is what the output is being written to 2022-08-10 16:02:16 -04:00
prtfile.cc throw in percent logging for MakeTreePortals 2022-08-09 20:33:49 -04:00
qbsp.cc remove bspbrush_t::original; it is no longer required since mapbrush_t is what the output is being written to 2022-08-10 16:02:16 -04:00
tjunc.cc qbsp: keep a pool of node_t's in tree_t in a tbb::concurrent_vector 2022-08-08 23:43:36 -06:00
tree.cc remove bspbrush_t::original; it is no longer required since mapbrush_t is what the output is being written to 2022-08-10 16:02:16 -04:00
writebsp.cc qbsp: keep a pool of node_t's in tree_t in a tbb::concurrent_vector 2022-08-08 23:43:36 -06:00