Commit Graph

2541 Commits

Author SHA1 Message Date
Jonathan f5cda68416 clean up percent stuff
comment out "didn't split" message
fix winding resize
merge phong loops together
2022-03-07 14:49:50 -05:00
Jonathan c81e9ace28 remove old threading code entirely
add new parallel logging stuff in common/parallel which wraps parallel_for(_each) and provides automatic percentage indicator
fix issue with light not pulling in settings
move logging stuff into its own namespace and simplify
2022-03-01 10:28:59 -05:00
Jonathan a479a5ddfb use case-insensitive natsort for discoverArchives
add two other logging control bools, which -quiet now redirect to
add -lowpriority for CPU priority (on Windows)
2022-02-28 09:20:35 -05:00
Jonathan cca64bf0da Fix another cmdargs bug
Fix areaportal warning
2022-02-27 05:55:26 -05:00
Jonathan 6baea3bc03 Fix three bugs that slipped by for cmdargs
Remove old threading code, use tbb internally
2022-02-27 04:09:28 -05:00
Jonathan df92d9ce12
Command line args systems (#2)
* cmd

* cmake change for tbb DLLs
add in test for double-hyphens

* cmd

* game version

* settings!

* bsp texture usage
decompile fix for q1bsp

* finish up the options for qbsp

* light finished?

* finish up the few missing bits

* move scalar/int32 up

* Run clang-format pass

* natvis for our mathlib
use slightly faster storage for winding
fix light tests

* allow dictionary to be a base type

* re-run style

* Remove cfg_static
Fix options summary

* natvis for lockable_value<T>

* last-ish pass?

* format

* forgot last few lockables
2022-02-27 00:01:57 -05:00
Eric Wasylishen 44468037d7 build: copy tbb .dll for vis/bspinfo targets 2022-02-20 16:59:35 -07:00
Eric Wasylishen 1e79abafa0 qbsp: q2: fix empty optional access when compiling q2 map lacking extended flags 2022-02-20 16:25:46 -07:00
Eric Wasylishen 35d938607c testmaps: move lightstest1.map -> light_general.map 2022-02-19 14:03:43 -07:00
Eric Wasylishen f7c3148f70 ci: attempt fixing sphinx install 2022-02-18 23:26:45 -07:00
Eric Wasylishen 6f43336270 ci: install sphinx on appveyor 2022-02-18 20:18:07 -07:00
Eric Wasylishen 60e7080e00 qbsp: remove FreeNodes call, double-free (?) on pwr1.map 2022-02-16 23:44:14 -07:00
Jonathan 542e6d63ad fix detail (again) 2022-02-16 19:54:12 -05:00
Jonathan 000fa217d8 Merge branch 'type-cleanup' of https://github.com/Paril/ericw-tools into type-cleanup 2022-02-16 19:23:25 -05:00
Jonathan b0ece93f83 Fix/implement animated textures for Q2 2022-02-16 19:23:19 -05:00
Jonathan 5c4b2c7323 Fix q1 decompile 2022-02-16 18:32:21 -05:00
Eric Wasylishen ac3fb7801f automated_tests.sh: disable hash checks until they stabilize 2022-02-15 00:55:42 -07:00
Eric Wasylishen 466d9adaa6 light: fix backwards interpretation of _bouncecolorscale 2022-02-15 00:54:02 -07:00
Jonathan 77d0e58084 Fix broken SubdividePolygon 2022-02-08 17:23:42 -05:00
Eric Wasylishen dc10d90c36 add missing <list> include 2022-02-07 00:35:27 -07:00
Eric Wasylishen 6b5b426636 qbsp: remove internal list in face_t 2022-02-07 00:02:51 -07:00
Eric Wasylishen fefc0fc662 automated_tests.sh: fix bash syntax errors, don't run vis in parallel
makes it difficult to tell which map caused a vis crash
2022-02-06 15:00:29 -07:00
Jonathan ed325eedea surface faces now use list/vector 2022-02-06 11:39:22 -07:00
Eric Wasylishen 10b592f64d docs: qbsp: document -threads option 2022-02-06 11:35:04 -07:00
Jonathan 4cf6bc9e28 Merge branch 'type-cleanup' of https://github.com/Paril/ericw-tools into type-cleanup 2022-02-05 13:32:11 -05:00
Jonathan b7a06f4bb3 Don't automatically assign SOLID to brushes that have a valid trace type
Fix mixed contents warning displaying the wrong contents
2022-02-05 13:32:06 -05:00
Jonathan 0392698bd3 Fix for engines that require edges reference valid vertices (edge 0 references vertex 0 but it might not be set in some cases)
Change `Brush_GetContents` again so that clip works
2022-02-05 13:18:21 -05:00
Eric Wasylishen 8531286777 qbsp: replace `-nothreads` with `-threads 1` for consistency with light/vis 2022-01-30 17:50:21 -07:00
Eric Wasylishen e0981b356b testmaps: add qbsp_leaf_contents_bug.map 2022-01-29 22:10:10 -07:00
Eric Wasylishen 81f69b40f7 ci: add --continue-on-failure option to automated_tests.sh 2022-01-29 20:27:42 -07:00
Eric Wasylishen 5c897000f3 qbsp: make -nofill still write out .prt file, for diagnosis 2022-01-29 19:22:30 -07:00
Eric Wasylishen 0d25b8b1fa docs: setup Sphinx build on Ubuntu 2022-01-29 17:23:42 -07:00
Eric Wasylishen baf9e64b27 docs: make Sphinx optional 2022-01-29 17:13:57 -07:00
Eric Wasylishen ebf385d382 docs: build and package new Sphinx docs on macOS 2022-01-29 17:09:15 -07:00
Eric Wasylishen aa71025970 cmake: add some hacks to copy TBB .dll's 2022-01-29 15:57:00 -07:00
Jonathan 686cdf4217 add entity lump replacement to bsputil 2022-01-29 10:15:50 -05:00
Jonathan 15484b55f8 Use better tjunction vertex addition
Parallel MergeAll
Allow modifyable iterators from polylib; resizing may invalidate them however
2022-01-28 09:45:29 -05:00
Jonathan c7d48e9c11 Remove entity bounds print 2022-01-27 04:08:58 -05:00
Jonathan 4f32722dfc Multiply bounds by 2 so we have less room for leaks 2022-01-27 04:08:31 -05:00
Jonathan fdb7b65995 Merge branch 'type-cleanup' of https://github.com/Paril/ericw-tools into type-cleanup 2022-01-27 01:52:15 -05:00
Jonathan d076920665 Revert "Instead of calculating brush extents globally, do it per brush creation"
This reverts commit 069720078f.
2022-01-27 01:52:08 -05:00
Eric Wasylishen b327d83282 docs: use sphinx_rtd_theme 2022-01-26 23:19:37 -07:00
Eric Wasylishen 2ab779556a docs: format other manuals 2022-01-26 23:19:37 -07:00
Eric Wasylishen 31cd6fe2f2 docs: format qbsp manual 2022-01-26 23:19:37 -07:00
Eric Wasylishen cf7a289bfb docs: remove old man/ directory 2022-01-26 23:19:37 -07:00
Eric Wasylishen 663c0a8f98 docs: Initial conversion from man to rst using pandoc 2022-01-26 23:19:37 -07:00
Eric Wasylishen 2f46867513 docs: skeleton setup of Sphinx 2022-01-26 23:19:37 -07:00
Jonathan 069720078f Instead of calculating brush extents globally, do it per brush creation
Use portal node bounds for extents
2022-01-27 01:03:38 -05:00
Jonathan 3f37de95a5 Fix tests 2022-01-26 18:15:53 -05:00
Jonathan 93505a88b2 Merge branch 'type-cleanup' of https://github.com/Paril/ericw-tools into type-cleanup 2022-01-26 18:03:36 -05:00