Eric Wasylishen
3a054c1ffc
build: fix build labels on GitHub Actions
2023-08-14 00:30:20 -06:00
Eric Wasylishen
a02a4ec316
imglib: fix wad3 loading (thanks to erysdren for the fix)
...
add a basic half-life test case (box map)
2023-07-18 17:57:51 -06:00
Eric Wasylishen
0a5debd278
build: fix Linux packaging
...
- rename the tbb + tbbmalloc .so files from .so.X.Y to .so.X
- set rpath to be "$ORIGIN" so the .so files are found
2023-05-29 20:30:49 -06:00
Eric Wasylishen
d466deed91
lightpreview: reboot
...
- link against qbsp + vis + light + embree + tbb + fmt
- remove .pro, .ui
- setup filesystem watcher
- accept .map files via dnd, run qbsp + light + vis
2023-05-15 00:23:30 -06:00
Random
a12e9fe152
added options to cmake to disable building docs and tests, default behavior unchanged ( #357 )
2023-05-11 10:42:16 -06:00
Random
c6ea63ba95
made CMake relative for use as a sub-project within other CMake projects ( #356 )
2023-05-10 19:45:51 -06:00
Eric Wasylishen
42abdcd533
build: don't install changelog.md (it's part of the docs/ dir now)
2023-04-10 19:45:22 -06:00
Eric Wasylishen
6ac564c64f
build: remove unused subprocess.h dependency
2022-12-19 00:36:04 -07:00
Eric Wasylishen
8a9f32ca62
set CMAKE_CXX_STANDARD 20
2022-11-12 19:48:26 -07:00
Eric Wasylishen
46ae50cb1f
build: don't use LTO with RelWithDebInfo, slows down linking too much during dev
2022-11-05 15:16:30 -06:00
Eric Wasylishen
f232bca0c2
build: enable LTO for release builds
2022-10-27 00:02:43 -06:00
Eric Wasylishen
7a3b4a3263
cmake: add ERICWTOOLS_TIMETRACE option
2022-08-28 17:44:42 -06:00
Eric Wasylishen
050886f32c
tests: unify tests under one target
...
to ease sharing code. vis/light tests are going to need the testqbsp infrastructure.
2022-07-10 16:36:15 -06:00
Eric Wasylishen
22f0def4b1
update Catch2 to v3.0.1
2022-06-26 13:21:29 -06:00
Jonathan
812797f7ed
enable lighting for warp/sky in Q2
...
simplify bitflag definitions
change nudging light warning to make more sense
another #define -> constexpr pass
2022-06-10 06:29:14 -04:00
Eric Wasylishen
90e611b071
build: fix ERICWTOOLS_ASAN with Catch2 on Windows
2022-05-22 12:09:03 -06:00
Eric Wasylishen
9fe42ef6c7
test: swap GTest out in favour of Catch2
2022-05-15 12:00:50 -06:00
Eric Wasylishen
d34d41a390
testqbsp: add helper for compiling with an external bsp tool
2022-05-15 00:37:58 -06:00
Eric Wasylishen
a1b8a38283
merge non-brush bsp specific changes from brushbsp branch
2022-05-11 01:58:53 -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
ebf385d382
docs: build and package new Sphinx docs on macOS
2022-01-29 17:09:15 -07:00
Eric Wasylishen
cf7a289bfb
docs: remove old man/ directory
2022-01-26 23:19:37 -07:00
Eric Wasylishen
d5c7ee6ca6
ci: run with ASan
2022-01-15 18:05:32 -07:00
Eric Wasylishen
2c7c879034
build: restore setting 8MB stack on Windows
...
fixes stack overflow in qbsp on a large test map
2021-12-15 22:33:55 -07:00
Jonathan
74253fd189
Fixed Unix/Clang compilation
...
Adjusted makefile to work with both clang and msvc on win32
Removed "WIN32", use the standard _WIN32 instead
Fixed bad VectorCopy's
Use qvec4b instead of special color_rgba type
qvec now follows built-in type procedures for handling operators; this means that (qvec3i + qvec3f) will now properly produce a float, as one would expect, instead of adding the float to the integers without casting to the common type.
2021-10-23 07:35:41 -04:00
Eric Wasylishen
34b6462641
build: build common as a static library
2021-10-08 20:08:26 -06:00
Eric Wasylishen
4c17969651
build: remove mingw workaround (unsupported)
2021-10-08 19:46:48 -06:00
Eric Wasylishen
f7ebe386f1
CI: require macOS 10.15 for std::filesystem
2021-10-05 18:24:11 -06: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
Jonathan
3b1347a812
Add NO_ITERATOR_DEBUG for debug mode
2021-10-04 05:56:46 -04:00
Jonathan
a6f6cc2d15
qvec now has an empty default initializer, for speed purposes; fixed up places that relied on this behavior
...
simplified constructor for qvec(T...) that uses fold expressions
simplified rgba_miptex_t
fixed a lot of broken winding_base_t behavior
merged all winding types into winding_base_t
removed now-empty files
2021-09-27 20:44:15 -04:00
Jonathan
2ebfdb096f
Remove COM_Parse, use parser_t
...
Game controls hull sizes now
2021-09-20 19:45:09 -04:00
Jonathan
326626f127
Remove some old stuff
...
Cleanup/rework of logging system. I'm not too happy about it still, but, it's at least a bit easier to follow now.
Started cleanup of file-related stuff.
2021-09-19 18:17:28 -04:00
Jonathan
e8bd554cc0
winding_t is now a C++ type - a hybrid stack/heap array.
...
In preparation for converting all of the vec_t[3] to qvec's, the Vector routines are now templated and work with any type that provides indexing operators.
Polylib.cc is gone, since this all needs to be in header now
qvec can now implicitly convert from T[N]
constexpr where appropriate
static inline -> inline
side_t is now an enum, moved into mathlib
2021-09-16 03:10:51 -04:00
Jonathan
3b656e6ef1
Cleanup & preserve texture name for q2bsp
2021-09-04 22:15:04 -04:00
Eric Wasylishen
fd32600c4d
build: silence "inherits via dominance" warning
2021-08-30 01:05:45 -06:00
Eric Wasylishen
bafea15753
Merge branch 'master' into qbsp-use-common
2021-08-26 21:14:49 -06:00
Eric Wasylishen
9688af5be3
build: msvc: silence 64->32 bit conversion warning until the codebase is cleaned up
2021-08-26 20:22:45 -06:00
Eric Wasylishen
208a9610ad
qbsp: delete bspfile.cc/hh
2021-08-24 22:23:24 -06:00
Eric Wasylishen
f7256907d5
common: fix build of bsputils.cc with double == vec_t
2021-08-22 15:12:19 -06:00
Eric Wasylishen
30656f56e6
build: raise macOS minimum to 10.14, required by current tbb
2021-07-13 21:48:12 -06:00
Eric Wasylishen
fcf0ebbbfe
build: upgrade googletest
2021-02-07 14:42:12 -07:00
Eric Wasylishen
a0cdbdc3d1
libs: move fmt from "lib" to "3rdparty"
2021-02-07 14:04:57 -07:00
Eric Wasylishen
6d17e881d9
build: request c++17
2021-02-07 00:50:14 -07:00
Eric Wasylishen
f981b5e670
decompile: parallelize
2021-02-06 20:23:05 -07:00
Eric Wasylishen
9124653156
common: move EntData_ function to common
2021-01-30 21:11:25 -07:00
Eric Wasylishen
189a83051a
fix build (changelog.txt was renamed)
2020-07-21 21:25:22 -06:00
Eric Wasylishen
1f565d7e7a
qbsp: parallelize CSGFaces
2020-01-28 21:18:08 -07:00
Eric Wasylishen
b85d627c8f
change branding to ericw-tools
2017-10-19 16:35:37 -06:00