Jonathan
315ab418d2
fix warning
...
only enable the clock counter errors in debug
2022-10-02 16:20:27 -04:00
Jonathan
f51ab9b75e
Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp
2022-09-30 18:30:50 -04:00
Jonathan
09447178f5
error on -onlyents in Q2 mode
2022-09-30 18:30:46 -04:00
Eric Wasylishen
72ad52647b
cmdlib.hh: add missing include
2022-09-30 00:37:18 -06:00
Eric Wasylishen
df46f7af82
cmdlib.hh: add missing include
2022-09-30 00:36:03 -06:00
Eric Wasylishen
45fae91a0f
cmdlib.hh: add missing include
2022-09-30 00:34:56 -06:00
Eric Wasylishen
cb3467b049
log.hh: add missing include
2022-09-30 00:34:17 -06:00
Eric Wasylishen
e8aeab3a55
test_qbsp.cc: split out q2 tests to a new file
2022-09-30 00:10:01 -06:00
Eric Wasylishen
73713c8666
common: try precompiling some std headers
2022-09-29 22:24:22 -06:00
Eric Wasylishen
d9d4ee99ad
include only needed catch2 headers
2022-09-29 19:49:53 -06:00
Eric Wasylishen
1726f95484
use <fmt/core.h> instead of <fmt/format.h>
...
Should lighten compile times.
The only loss here is we'll no longer inherit e.g. "float" format specifiers for qvec3f.
2022-09-29 19:49:48 -06:00
Eric Wasylishen
1160352a24
qbsp: make -debugleafvolumes only write out solid leafs
2022-09-28 19:23:57 -06:00
Eric Wasylishen
7a014819f0
qbsp: keep bspbrushes around if -debugbspbrushes is used
2022-09-27 09:55:02 -06:00
Eric Wasylishen
8bfd11ba13
testqbsp: add a obj2map terrain test case
...
some terrain I created in Blender
2022-09-26 22:40:09 -06:00
Eric Wasylishen
4807744d06
ci: give build artifacts better names with github.sha
2022-09-25 11:32:13 -06:00
Eric Wasylishen
e477962516
appveyor.yml: remove deploy step, we use GitHub Actions
2022-09-25 11:25:13 -06:00
Eric Wasylishen
363f337e17
ci: fix test paths in build-windows.ps1
2022-09-25 00:12:32 -06:00
Eric Wasylishen
460a30bbac
ci: workaround docs build error
...
workaround for
https://github.com/readthedocs/sphinx_rtd_theme/issues/1343
2022-09-24 20:56:08 -06:00
Eric Wasylishen
b405eb892a
ci: add missing GitHub Actions setup
...
(Windows build, upload artifacts, create releases)
2022-09-24 20:20:49 -06:00
Eric Wasylishen
4369cd6313
tests: suppress colors when running tests
2022-09-22 00:11:37 -06:00
Eric Wasylishen
99ddaf4926
update gitignore
2022-09-21 21:22:56 -06:00
Jonathan
af2f88b93c
Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp
2022-09-21 05:35:18 -04:00
Jonathan
25cbbd42aa
fix phong calculation
...
obj output adjustment
2022-09-21 05:35:11 -04:00
Eric Wasylishen
8d5d3233b7
qbsp: call CountLeafs at the end of hull processing
2022-09-19 21:00:36 -06:00
Eric Wasylishen
5d1dc0d882
bsputil: better naming of decompiled .map's
2022-09-19 20:59:47 -06:00
Eric Wasylishen
ed4e4d1327
qbsp: use tree_split_t::PRECISE on second BrushBSP for hulls
2022-09-18 18:05:28 -06:00
Eric Wasylishen
acf334daee
cleanup: rename surfflags_t::is_skip to is_nodraw
...
This is a break to the .json format
2022-09-18 15:47:14 -06:00
Eric Wasylishen
addf621074
tests: simple_worldspawn_detail passing now
2022-09-17 21:49:22 -06:00
Eric Wasylishen
09f0e2a0c5
qbsp: preserve brush side texinfo in collision hulls
...
17k -> 9.8k clipnodes on testmaps\retrojam1_ericw.map
setting the texinfo to 0 was defeating the bsp heuristic, because
texinfo 0 was marked as is_skip, which makes side_t::is_visible()
return false (which makes us not care about splitting those brush sides)
2022-09-17 21:46:02 -06:00
Eric Wasylishen
04df42f8e0
qbsp: CreateSingleHull: remove unnecessary side.visible clearing (now done in CreateBrushWindings)
2022-09-17 21:00:01 -06:00
Eric Wasylishen
cea123f955
qbsp: Brush_LoadEntity: print source brush side stats (visible/invisible)
2022-09-17 20:27:21 -06:00
Eric Wasylishen
8ee39cf874
qbsp: CountLeafs: also measure avg/max bsp height
2022-09-17 19:53:49 -06:00
Eric Wasylishen
e081e36d28
testmaps: add retrojam1_ericw.map
2022-09-16 23:19:32 -06:00
Eric Wasylishen
c2e455e5b0
testqbsp: fix incorrect test expectation
2022-09-12 22:18:27 -06:00
Eric Wasylishen
9c46699b60
qbsp: experiment with fixing micro-leaks
2022-09-12 02:10:04 -06:00
Eric Wasylishen
b17fc3eab1
qbsp: address missing "faceCopy.tested = false"
2022-09-12 00:56:10 -06:00
Eric Wasylishen
c90c16ee45
qbsp: add -debugleafvolumes
2022-09-12 00:36:33 -06:00
Eric Wasylishen
a926e5c397
qbsp: add -debugbspbrushes
2022-09-12 00:18:32 -06:00
Eric Wasylishen
4567f9b4b9
qbsp: add -debugleak for saving more info about leaks
2022-09-11 23:56:29 -06:00
Eric Wasylishen
ae37a4e667
qbsp: write .leak.prt files in addition to .pts to aid leak debugging
2022-09-11 20:35:51 -06:00
Jonathan
6713fedcbc
allow changing a brushes' lightmap color scale with `lightcolorscale`
2022-09-10 19:04:17 -04:00
Jonathan
b3f4bad84a
Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp
2022-09-10 18:01:01 -04:00
Eric Wasylishen
68e2f97fbf
qbsp: sync FindAreas to Quake-2-Tools version
...
fixes area portals in cases when area has no point entities in it
2022-09-10 15:49:17 -06:00
Jonathan
4ecd945587
use kmq2 flag instead of 33 | 66, which no engine supports
2022-09-10 07:49:06 -04:00
Eric Wasylishen
a8a8966e28
test_qbsp: add failing test for 0.125 unit wide faces (currently not generated)
2022-09-08 23:51:51 -06:00
Eric Wasylishen
b19527c3fd
qbsp: don't use brush sides to texture a portal if they're not coplanar
2022-09-08 21:20:49 -06:00
Jonathan
d4dde8350c
always mark leaked maps' nodes/leaves areas
2022-09-06 14:44:44 -04:00
Jonathan
986f7da366
adjust default bouncescale to match older compiles
2022-09-03 14:06:11 -04:00
Jonathan
b77dfbc7f9
Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp
2022-08-31 12:58:56 -04:00
Jonathan
075481a36f
add -nocolor for TB, etc
...
fix crashes on vis and light for invalid options
fix TB and others not receiving output
2022-08-31 12:58:04 -04:00