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
Eric Wasylishen
089c2eebc4
testmaps: add base1.map
...
from http://svn.icculus.org/*checkout*/gtkradiant-gamepacks/Q2Pack/trunk/install/baseq2/maps/base1.map
2022-05-02 20:59:57 -06:00
Eric Wasylishen
ec20072440
testqbsp: expand q2 detail test
2022-05-02 20:24:18 -06:00
Eric Wasylishen
bec0357352
qbsp: proper marksurfaces population
2022-05-02 02:35:13 -06:00
Eric Wasylishen
f30ea71850
switch back to git submodule for GTest.
...
gmock.h include doesn't work when using FetchContent
(possibly https://gitlab.kitware.com/cmake/cmake/-/issues/22659 ?)
2022-05-02 02:14:01 -06:00
Eric Wasylishen
fa97116d12
testqbsp: wip markfaces test
2022-05-02 02:13:54 -06:00
Eric Wasylishen
e1eb0e8cbd
qbsp: fix noclipfaces issues
2022-05-02 00:05:50 -06:00
Eric Wasylishen
3a30891476
testqbsp: add more detail_illusionary tests
2022-05-01 21:44:58 -06:00
Eric Wasylishen
59684a1c5d
Merge remote-tracking branch 'Paril/type-cleanup' into brushbsp
2022-05-01 01:21:01 -06:00
Eric Wasylishen
2ad9e27d3b
qbsp: remove unused face csg code
2022-05-01 01:13:03 -06:00
Eric Wasylishen
13612f18d0
qbsp: factor out 'chops' condition in BrushGE
2022-05-01 00:48:58 -06:00
Eric Wasylishen
fb0fcfa535
qbsp: fix water_detail_illusionary
2022-05-01 00:34:27 -06:00
Eric Wasylishen
ab59f5ea3e
testmaps: expand water_detail_illusionary test (failing)
2022-05-01 00:13:33 -06:00
Eric Wasylishen
81e0da4d62
qbsp: mark invisible sides on brush entities
...
fixes brush_clipping_order test failure
2022-05-01 00:01:11 -06:00
Jonathan
d6377acff9
-q2rtx implies -q2bsp now
2022-04-30 23:30:18 -04:00
Jonathan
cc0e1a5561
move Face_IsLightmapped to light
...
Fix q2rtx, needs to include lightstyle for nodraw for emissive invisibles with lightstyles
fix wal (for the 900th time)
auto-set -nolighting for -q2rtx
2022-04-30 23:27:21 -04:00
Jonathan
1b852e3a20
fix WINDOW issue
...
surflight_subdivide minimum 1.0, to allow for people breaking their computers
2022-04-30 22:26:08 -04:00