Eric Wasylishen
cb0c97e163
test_common.cc: fix build
2021-10-05 23:43:49 -06:00
Eric Wasylishen
097f033eb8
testqbsp: fix build
2021-10-05 23:41:43 -06:00
Eric Wasylishen
fd28067b5c
fix gcc errors about reference to temporary
2021-10-05 23:28:33 -06:00
Eric Wasylishen
33745c3cb8
clang /macOS: un-constexpr things that were erroring
...
neither clang nor gcc like the qvec(Args..) constructor
being constexpr.
GCC's error says:
error: member ‘qvec<3, double>::v’ must be initialized by mem-initializer in ‘constexpr’ constructor
2021-10-05 23:18:52 -06:00
Eric Wasylishen
c54fea1e87
qbsp: face_t: use a std::vector for edges
...
shared_ptr of C arrays is not working on macOS,
but std::vector is also more correct semantically
2021-10-05 23:15:43 -06:00
Eric Wasylishen
07b24cce79
qvec: fix mat * mat on clang/gcc
2021-10-05 23:12:02 -06:00
Jonathan
cb9d90744f
More constexpr
2021-10-05 23:49:15 -04:00
Jonathan
75bcccada1
Fix more unused value warnings
...
Fix operator >= and <= for tuple of arrays
2021-10-05 23:40:40 -04:00
Jonathan
e72934de81
Hopefully resolve clang warnings here now
...
Fix iterator wrapper
Fix >= <= tuple<T&> operators
2021-10-05 23:24:05 -04:00
Jonathan
ca0111ce5d
Fix missing unordered_map
...
Maybe fix for tons of -Wunused-value
2021-10-05 23:00:13 -04:00
Jonathan
a2edc09018
Resolve GCC wanting `template` before emplacements
2021-10-05 22:54:25 -04:00
Jonathan
b4afc32e2b
Fix winding_edges using old get() name
...
Another attempted fix at VA_ARGS
Fix missing typename prefix
2021-10-05 22:44:13 -04:00
Jonathan
f4fc8bc72b
Remove unused functions, fix math issues
...
MacOSX potential fix for __VA_ARGS__
2021-10-05 22:35:30 -04:00
Jonathan
37cb535f1a
implement MSVC-style setp
2021-10-05 22:05:35 -04:00
Jonathan
2c9b59103f
Merge branch 'type-cleanup' of https://github.com/Paril/ericw-tools into type-cleanup
2021-10-05 21:38:19 -04:00
Jonathan
81b7fbf916
Fix MSVC extension for setp
...
Fix PointsAlongLine
2021-10-05 21:38:04 -04:00
Eric Wasylishen
f7ebe386f1
CI: require macOS 10.15 for std::filesystem
2021-10-05 18:24:11 -06:00
Eric Wasylishen
899f127806
CI: use Ubuntu 20.04 (for std::filesystem)
2021-10-05 18:21:44 -06:00
Eric Wasylishen
dc66c4d239
Revert change to JSON submodule commit
2021-10-05 18:07:53 -06:00
Eric Wasylishen
cbcf6c6be8
Trigger GitHub Actions
2021-10-05 18:04:39 -06:00
Eric Wasylishen
7b33b12146
Merge pull request #320 from Paril/qbsp-contentflags
...
Qbsp contentflags
2021-10-05 17:46:25 -06:00
Jonathan
52839d4e7f
Run clang-format pass
2021-10-05 15:54:06 -04:00
Jonathan
4ad798e29c
Fix origin brushes
...
Fix merge stuff from qbsp-contentflags
2021-10-05 15:50:18 -04:00
Jonathan
7590230111
Merge remote-tracking branch 'remotes/origin/qbsp-contentflags' into type-cleanup
...
# Conflicts:
# bspinfo/bspinfo.cc
# common/bspfile.cc
# include/common/bspfile.hh
# qbsp/brush.cc
# qbsp/csg4.cc
# qbsp/portals.cc
# qbsp/qbsp.cc
# qbsp/solidbsp.cc
# qbsp/surfaces.cc
# qbsp/writebsp.cc
# vis/vis.cc
2021-10-05 01:21:16 -04:00
Eric Wasylishen
a91bc56aaa
qbsp: outside.cc: match original behaviour
2021-10-05 01:07:26 -04:00
Jonathan
0833d84a7a
Calculate tangents and bitangents (need to clean this up)
...
Implement formatters for qvec
Add -nolighting, which skips all non-lightstyled lights
2021-10-05 01:07:13 -04:00
Eric Wasylishen
997a039b65
vis: fix test failure with Q1
2021-10-04 21:21:53 -06:00
Eric Wasylishen
5b62f61b29
qbsp: revert contents handling to be closer to master
2021-10-04 20:39:47 -06:00
Eric Wasylishen
d56418ae95
Merge remote-tracking branch 'origin/master' into qbsp-contentflags
2021-10-04 20:38:49 -06:00
Eric Wasylishen
a79772d988
testmaps: fix stale hash for qbsp_func_detail_illusionary_plus_water.map
2021-10-04 20:25:26 -06:00
Eric Wasylishen
60d9d4daf4
bspinfo: also output face vertices
2021-10-04 19:53:03 -06:00
Eric Wasylishen
a7c3e70766
testmaps: add qbsp_func_detail_illusionary_plus_water.map
2021-10-04 19:27:24 -06:00
Eric Wasylishen
590dd47890
bspinfo: export more lumps to JSON (faces, edges, leaffaces, surfedges)
2021-10-04 18:17:52 -06:00
Jonathan
3b1347a812
Add NO_ITERATOR_DEBUG for debug mode
2021-10-04 05:56:46 -04:00
Eric Wasylishen
ee8ee57cc1
qbsp: delete brushbsp.cc
2021-10-03 20:13:21 -06:00
Eric Wasylishen
1ed4dc71ad
Merge remote-tracking branch 'origin/master' into qbsp-contentflags
2021-10-03 20:04:19 -06:00
Eric Wasylishen
640befb4dc
qbsp: write portals as binary to avoid line ending differences
2021-10-03 19:47:00 -06:00
Eric Wasylishen
d132a44dbc
qbsp3: remove unused code
2021-10-03 19:41:56 -06:00
Eric Wasylishen
baf1bdf732
testmaps: also check hashes of .prt files. run vis processes in parallel.
2021-10-03 19:26:40 -06:00
Eric Wasylishen
b01e9ef7b1
testmaps: add a new simple func_detail testmap
2021-10-03 19:19:11 -06:00
Eric Wasylishen
2560603f9b
qbsp: csg4.cc: bring closer to original behaviour
2021-10-03 12:32:50 -06:00
Eric Wasylishen
f0d12fc8f3
qbsp: Brush_LoadEntity: bring closer to the original code
2021-10-03 12:02:52 -06:00
Jonathan
037c587352
Merge remote-tracking branch 'remotes/origin/qbsp-contentflags' into type-cleanup
...
# Conflicts:
# bspinfo/bspinfo.cc
# include/common/bspfile.hh
# include/light/light.hh
# include/light/trace.hh
# light/light.cc
# light/ltface.cc
# light/trace.cc
# qbsp/brush.cc
# qbsp/csg4.cc
# qbsp/outside.cc
# qbsp/qbsp.cc
2021-10-03 13:08:50 -04:00
Jonathan
ae4512da2c
BSPX structurization and cleanup
...
Some more vec3_t removals
A bunch of float -> vec_t in light
Simplified construction of lockables
mapdata_t writes directly to an mbsp instead of vector copies
2021-10-03 12:16:13 -04:00
Eric Wasylishen
b78553d81b
qbsp: outside.cc: match original behaviour
2021-10-03 00:22:51 -06:00
Eric Wasylishen
2fc1e9099a
light: remove dead / non-working code for non-embree light tracing
2021-10-02 21:12:12 -06:00
Eric Wasylishen
8a7164791e
light: fix "don't do this on Q2" logic for 0 light faces
2021-10-02 21:00:45 -06:00
Eric Wasylishen
8c1c9965b4
Merge branch 'master' into qbsp-contentflags
2021-10-02 20:27:59 -06:00
Eric Wasylishen
3bd65d5aa5
testmaps: add lava, water, sky, origin to qbspfeatures.map
2021-10-02 20:15:43 -06:00
Eric Wasylishen
8fd3f14bf9
bspinfo: json export
...
Co-authored-by: Jonathan <jonno.5000@gmail.com>
2021-10-02 17:57:31 -06:00