Commit Graph

2553 Commits

Author SHA1 Message Date
Eric Wasylishen b04a6e9a30 qbsp: csg: re-add checking of map file order 2022-02-21 12:00:26 -07:00
Eric Wasylishen 3b348af301 qbsp: wip mirroring faces 2022-02-21 00:47:57 -07:00
Eric Wasylishen 019fa63361 qbsp: remove unnecessary Entity_SortBrushes 2022-02-21 00:15:45 -07:00
Eric Wasylishen 91f7d9adaa qbsp: remove surface_t 2022-02-21 00:05:48 -07:00
Eric Wasylishen 70ea752587 qbsp: restore MergeAll 2022-02-20 23:57:42 -07:00
Eric Wasylishen 50ef495000 qbsp: remove completed fixmes 2022-02-20 21:33:13 -07:00
Eric Wasylishen b22e90585b qbsp: fix brush.outputnumber assignment 2022-02-20 17:07:11 -07:00
Eric Wasylishen c4ae506cb6 Merge branch 'type-cleanup' into brushbsp 2022-02-20 17:01:31 -07:00
Eric Wasylishen 44468037d7 build: copy tbb .dll for vis/bspinfo targets 2022-02-20 16:59:35 -07:00
Eric Wasylishen 1e79abafa0 qbsp: q2: fix empty optional access when compiling q2 map lacking extended flags 2022-02-20 16:25:46 -07:00
Eric Wasylishen ebe07ca510 qbsp: q2: fix empty optional access when compiling q2 map lacking extended flags 2022-02-20 16:25:23 -07:00
Eric Wasylishen cb464031da qbsp: track original brushes, populate q2 leafbrushes accurately 2022-02-20 16:10:44 -07:00
Eric Wasylishen 8c84871129 qbsp: wip: add CSG-ing back in 2022-02-20 01:19:55 -07:00
Eric Wasylishen 7903914b3e testmaps: adjust qbsp_func_detail.map 2022-02-19 15:04:06 -07:00
Eric Wasylishen 35d938607c testmaps: move lightstest1.map -> light_general.map 2022-02-19 14:03:43 -07:00
xDShot 5780ce4bd6
Include some headers for brushbsp branch files (#325)
* include <vector> for std::vector definition

* include <algorithm> for std::clamp definition
2022-02-19 11:17:20 -07:00
Eric Wasylishen f7c3148f70 ci: attempt fixing sphinx install 2022-02-18 23:26:45 -07:00
Eric Wasylishen 6f43336270 ci: install sphinx on appveyor 2022-02-18 20:18:07 -07:00
Eric Wasylishen 2a257693c6 Merge branch 'type-cleanup' into brushbsp 2022-02-17 00:43:08 -07:00
Eric Wasylishen 60e7080e00 qbsp: remove FreeNodes call, double-free (?) on pwr1.map 2022-02-16 23:44:14 -07:00
Jonathan 542e6d63ad fix detail (again) 2022-02-16 19:54:12 -05:00
Jonathan 000fa217d8 Merge branch 'type-cleanup' of https://github.com/Paril/ericw-tools into type-cleanup 2022-02-16 19:23:25 -05:00
Jonathan b0ece93f83 Fix/implement animated textures for Q2 2022-02-16 19:23:19 -05:00
Jonathan 5c4b2c7323 Fix q1 decompile 2022-02-16 18:32:21 -05:00
Eric Wasylishen ac3fb7801f automated_tests.sh: disable hash checks until they stabilize 2022-02-15 00:55:42 -07:00
Eric Wasylishen 466d9adaa6 light: fix backwards interpretation of _bouncecolorscale 2022-02-15 00:54:02 -07:00
Eric Wasylishen b94afcdd08 qbsp: SplitBrush: fix backwards midwinding 2022-02-13 22:03:20 -07:00
Eric Wasylishen 5b85a34ad2 qbsp: don't error on all-liquid worldspawn 2022-02-13 20:08:13 -07:00
Eric Wasylishen 055f865ef0 qbsp: add very rough pass of building visible faces
- faces are subdivided where neeed
- markfaces not calculated accurately
- overlaps/clipping not handled
2022-02-13 19:51:59 -07:00
Eric Wasylishen 1fbfd199c5 qbsp: wip port of BrushBSP from Q2 tools
currently can compile qbsp_simple.map (2 brushes)
no faces, but generates leafs/nodes which seem OK
2022-02-13 12:03:27 -07:00
Jonathan 77d0e58084 Fix broken SubdividePolygon 2022-02-08 17:23:42 -05:00
Eric Wasylishen dc10d90c36 add missing <list> include 2022-02-07 00:35:27 -07:00
Eric Wasylishen 6b5b426636 qbsp: remove internal list in face_t 2022-02-07 00:02:51 -07:00
Eric Wasylishen fefc0fc662 automated_tests.sh: fix bash syntax errors, don't run vis in parallel
makes it difficult to tell which map caused a vis crash
2022-02-06 15:00:29 -07:00
Jonathan ed325eedea surface faces now use list/vector 2022-02-06 11:39:22 -07:00
Eric Wasylishen 10b592f64d docs: qbsp: document -threads option 2022-02-06 11:35:04 -07:00
Jonathan 4cf6bc9e28 Merge branch 'type-cleanup' of https://github.com/Paril/ericw-tools into type-cleanup 2022-02-05 13:32:11 -05:00
Jonathan b7a06f4bb3 Don't automatically assign SOLID to brushes that have a valid trace type
Fix mixed contents warning displaying the wrong contents
2022-02-05 13:32:06 -05:00
Jonathan 0392698bd3 Fix for engines that require edges reference valid vertices (edge 0 references vertex 0 but it might not be set in some cases)
Change `Brush_GetContents` again so that clip works
2022-02-05 13:18:21 -05:00
Eric Wasylishen 8531286777 qbsp: replace `-nothreads` with `-threads 1` for consistency with light/vis 2022-01-30 17:50:21 -07:00
Eric Wasylishen e0981b356b testmaps: add qbsp_leaf_contents_bug.map 2022-01-29 22:10:10 -07:00
Eric Wasylishen 81f69b40f7 ci: add --continue-on-failure option to automated_tests.sh 2022-01-29 20:27:42 -07:00
Eric Wasylishen 5c897000f3 qbsp: make -nofill still write out .prt file, for diagnosis 2022-01-29 19:22:30 -07:00
Eric Wasylishen 0d25b8b1fa docs: setup Sphinx build on Ubuntu 2022-01-29 17:23:42 -07:00
Eric Wasylishen baf9e64b27 docs: make Sphinx optional 2022-01-29 17:13:57 -07:00
Eric Wasylishen ebf385d382 docs: build and package new Sphinx docs on macOS 2022-01-29 17:09:15 -07:00
Eric Wasylishen aa71025970 cmake: add some hacks to copy TBB .dll's 2022-01-29 15:57:00 -07:00
Jonathan 686cdf4217 add entity lump replacement to bsputil 2022-01-29 10:15:50 -05:00
Jonathan 15484b55f8 Use better tjunction vertex addition
Parallel MergeAll
Allow modifyable iterators from polylib; resizing may invalidate them however
2022-01-28 09:45:29 -05:00
Jonathan c7d48e9c11 Remove entity bounds print 2022-01-27 04:08:58 -05:00