Commit Graph

68 Commits

Author SHA1 Message Date
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
Eric Wasylishen 62f70ec852 stub for lightpreview tool 2017-04-28 13:29:37 -06:00
Eric Wasylishen 8f4b506608 qbsp: refactor cmake setup 2017-04-28 13:04:51 -06:00
Eric Wasylishen 8c89a1d7e6 build: add new headers to COMMON_INCLUDES 2017-04-22 20:35:20 -06:00
Eric Wasylishen f0773d18fe Revert "build: add eigen to include dirs"
This reverts commit 28b30a7f52.
2017-03-05 23:24:13 -07:00
Eric Wasylishen 3948541458 build: fix build in VS 2017 rc 2017-03-01 18:49:12 -08:00
Eric Wasylishen 28b30a7f52 build: add eigen to include dirs 2017-02-20 14:32:25 -07:00
Eric Wasylishen 95bda95908 add glm to cmakelists 2017-02-01 14:18:45 -07:00
Eric Wasylishen a6468984bf all: finish c++ification 2016-10-17 19:52:17 -06:00
Eric Wasylishen 299e68e7e5 build: support Ubuntu 14.04 2016-09-23 15:13:58 -06:00
Eric Wasylishen 1e39cb8824 build: disable a msvc warning 2016-08-09 16:07:07 -06:00
Eric Wasylishen 9340ce223a build: clean up request for C++11. require cmake 3.1 (which introduced CMAKE_CXX_STANDARD) 2016-08-09 16:00:09 -06:00
Eric Wasylishen 1a0fb22e40 light: move some helper functions to common/bsputils.{h,cc} 2016-08-07 22:55:44 -06:00
Eric Wasylishen 718ffdc789 build: disable some warnings on msvc 2016-08-06 16:03:00 -07:00
Eric Wasylishen 292d35879b build: restore mingw support 2016-08-05 04:07:01 -04:00
Eric Wasylishen 2da6db0199 build: don't static link msvcrt 2016-07-15 15:19:41 -06:00
Eric Wasylishen 0d92a4e192 light: build: remove stack size setting 2016-07-15 15:19:01 -06:00
Eric Wasylishen 3e6018a95a build: switch back to dynamic linking embree, static was a pain, slow builds, etc. 2016-06-28 15:04:50 -06:00