Commit Graph

2875 Commits

Author SHA1 Message Date
Eric Wasylishen 4957622c50 Merge branch 'type-cleanup' into brushbsp 2022-05-13 01:24:14 -06:00
Eric Wasylishen 2195a3f5a4 testqbsp: adjust testmaps_q2.detail to accept extra solid leafs generated on type-cleanup branch 2022-05-13 01:18:30 -06:00
Eric Wasylishen b2e78376cb qbsp: require nonzero intersection between leaf/brush in order to add a leafbrush
removes some unnecessary leafbrushes in testmaps_q2.detail
2022-05-13 01:17:45 -06:00
Eric Wasylishen b3f35b28ad testqbsp: relax node count requirement in simple_worldspawn_sky 2022-05-13 00:27:40 -06:00
Eric Wasylishen f9242f51d6 bspinfo: .json: output readable node plane 2022-05-13 00:27:10 -06:00
Eric Wasylishen b6ce6ae527 testqbsp: simple_worldspawn_sky: fix expectation so sky leafs don't fill outwards 2022-05-12 23:51:05 -06:00
Eric Wasylishen 8f0034565d qbsp: surfaces.cc: don't output inside faces of sky brushes
Can't see them anyway
2022-05-12 23:43:32 -06:00
Eric Wasylishen a02a4b1b5a Update googletest 2022-05-12 00:38:28 -06:00
Eric Wasylishen 0c27c92e41 vis: fix 32-bit shift warning
"result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)"
2022-05-12 00:37:22 -06:00
Eric Wasylishen 15a136a742 light/CMakeLists.txt: fix vcpkg builds
improve tbb12.dll hack, which is only desired for the embree binary releases
2022-05-12 00:25:18 -06:00
Jonathan 59db5bfdc5 Merge branch 'type-cleanup' of https://github.com/Paril/ericw-tools into type-cleanup
# Conflicts:
#	include/qbsp/qbsp.hh
#	qbsp/map.cc
#	qbsp/qbsp.cc
2022-05-11 09:50:46 -04:00
Jonathan cbdb5c0c73 slight bit of cleaning 2022-05-11 09:46:39 -04:00
Eric Wasylishen 26196b25bf Merge branch 'type-cleanup' into brushbsp 2022-05-11 02:19:16 -06:00
Eric Wasylishen a1b8a38283 merge non-brush bsp specific changes from brushbsp branch 2022-05-11 01:58:53 -06:00
Eric Wasylishen 87fa3e08e3 build: link all test targets against gmock
enable ctest in root CMakeLists.txt
2022-05-11 00:54:23 -06:00
Eric Wasylishen 4a711908c8 Merge branch 'pr/322' into brushbsp 2022-05-11 00:29:58 -06:00
Eric Wasylishen 6e3bb91d98 build: fix build on macOS/clang 2022-05-11 00:21:14 -06:00
Eric Wasylishen 0147e51658 build: fix testcommon on clang-cl 2022-05-10 23:32:56 -06:00
Eric Wasylishen e9abb212bb settings: allow setting_enum to parse numeric representation of enums
use it for light forumla. disallow enums in setting_numeric.
2022-05-10 22:55:41 -06:00
Eric Wasylishen d390ac2030 build: restore !enum check on setting_numeric constructor and boolValue()
with non-MSVC workaround
2022-05-10 22:08:41 -06:00
Eric Wasylishen abc799554d build: fix all clang-cl warnings 2022-05-10 21:57:17 -06:00
Eric Wasylishen d763b2e336 build: support clang-cl 2022-05-10 21:39:58 -06:00
Eric Wasylishen f916fe3c6a build: workaround for clang-cl 2022-05-10 20:48:32 -06:00
Eric Wasylishen aed5ebe439 qbsp: fix settings clearing between test runs 2022-05-10 00:59:18 -06:00
Eric Wasylishen 66ba184083 Merge branch 'type-cleanup' into brushbsp 2022-05-10 00:47:41 -06:00
Eric Wasylishen 0c4833226a settings: implement reset(). Fix setting_mangle::copyFrom()
We can't use the string serialization/deserialization trick because setting_mangle transforms
the value upon parsing
2022-05-10 00:43:22 -06:00
Eric Wasylishen 768e4a0ff7 Merge branch 'master' into type-cleanup 2022-05-09 23:37:48 -06:00
Eric Wasylishen 4042f1c7b9 light: fix compile after previous change 2022-05-09 23:27:33 -06:00
Eric Wasylishen 081d63a64c settings: add setting_container::copyFrom, setting_base::copyFrom
disable copy constructors on setting_container/setting_base, which were previously available but broken
2022-05-09 22:32:09 -06:00
Eric Wasylishen a7e98d81d2 cmake: hacks to copy .dll's 2022-05-08 19:52:39 -06:00
Eric Wasylishen 4021d71700 polylib: make operator[] un-bounds-checked 2022-05-08 15:20:21 -06:00
Eric Wasylishen a93eff23bc testqbsp: expand base1leak test 2022-05-05 01:29:52 -06:00
Eric Wasylishen b06736dea4 qbsp: fix leak in base1leak test 2022-05-05 01:01:33 -06:00
Eric Wasylishen 235c6cb025 ci: try enabling on all branches 2022-05-04 23:38:28 -06:00
Eric Wasylishen 8416da7423 gitignore: ignore .chop.map 2022-05-04 23:32:49 -06:00
Eric Wasylishen 56844e4349 testqbsp: leak test case extracted from base1.map 2022-05-04 23:32:45 -06:00
Eric Wasylishen 095fb62c17 qbsp: fix -debugchop on q2 2022-05-04 22:52:02 -06:00
Eric Wasylishen 93d3a5f4c8 qbsp: fix areaportal crash 2022-05-04 22:51:54 -06:00
Eric Wasylishen 5cae1919ce qbsp: fix areaportals 2022-05-04 21:04:36 -06:00
Eric Wasylishen 7275155d62 qbsp: remove obsolete/wrong comment 2022-05-04 20:53:41 -06:00
Eric Wasylishen 1df848cfc1 testqbsp: areaportal test 2022-05-04 17:47:14 -06:00
Eric Wasylishen 6d221502b0 testqbsp: add playerclip test case 2022-05-04 02:06:18 -06:00
Eric Wasylishen 5bf0a8b2c7 testqbsp: experiment with adding nanobench 2022-05-04 01:16:29 -06:00
Eric Wasylishen 8d6c59a00e qbsp: rewrite SplitFace in terms of clip() 2022-05-03 23:55:22 -06:00
Eric Wasylishen f5806076ff qbsp: ChopBrushes: skip brushes that are just touching 2022-05-03 19:28:40 -06:00
Eric Wasylishen c8125a2c95 testqbsp: add chop_no_change test map 2022-05-03 19:24:36 -06:00
Eric Wasylishen e0d0d5246f aabb: add disjoint_or_touching 2022-05-03 19:22:14 -06:00
Eric Wasylishen 893b0b080e qbsp: move to unique_ptr<brush_t> vectors 2022-05-03 02:35:43 -06:00
Eric Wasylishen 0049449075 build: workaround for clang-cl 2022-05-03 02:32:36 -06:00
Eric Wasylishen b76cae3967 testqbsp: add stats goal for base1.bsp 2022-05-03 00:24:44 -06:00