Garux
e62da4c621
* patchMeta: fix: keep playerclip patches for collisions
...
* autocaulk: do not impact fog brushes with all faces culled (global fog case)
decompilation: detail flag deduction: avoid detail hints, areaportals, antiportals by surfaceparm structural check
change hardcoded surfaceflags use to statically evaluated ones for the given game
2021-10-29 11:29:32 +03:00
Garux
2b59253b26
wrap bit flags operations
2021-10-28 14:39:58 +03:00
Garux
7626f69b02
minor tweaks
2021-10-28 12:25:26 +03:00
Garux
2e9bf0af1c
minor tweaks
2021-10-26 20:15:09 +03:00
Garux
67ea9b0390
fix excess memory allocation
2021-10-26 18:30:05 +03:00
Garux
0c390241c8
fix formatting
2021-10-26 18:16:24 +03:00
Garux
977781a621
minor tweaks
2021-10-26 17:26:35 +03:00
Garux
d812cbd4d4
replace ArrayRange by tcb::span (reproduction of std::span)
2021-10-24 08:32:10 +03:00
Garux
4726542134
replace Q_EXTERN Q_ASSIGN macro trick by inline variable specifier
...
remove explicit initialization, where it equals to default zero initialization
2021-10-22 04:13:08 +03:00
Garux
d5b2c67812
fix simple warnings
2021-10-22 03:19:07 +03:00
Garux
bf6389fc26
use #pragma once
2021-10-22 02:19:50 +03:00
Garux
3362f29500
* bobToolz.mergePatch: bruteforce merge all selected patches; keep unaffected patches selected
2021-10-21 22:39:35 +03:00
Garux
03d3dfccad
add feedback from bobToolz::patch operations fails
2021-10-21 19:55:37 +03:00
Garux
512d14736c
* region build: widen temp box to handle small volumes, light entities at the edge and flat primitives
...
* region build: pull temporal respawn to the box instead of error
2021-10-21 04:48:54 +03:00
Garux
36a1495e33
* patch thicken: create new patches in original patch entity
...
aabb degenerate check of 'opposite wall'
2021-10-19 18:25:42 +03:00
Garux
197f9e7cb4
* patch thicken: set default thickness and increment step to current grid size
...
focus thickness field
2021-10-18 17:51:18 +03:00
Garux
ce2e458f4f
handle selected noncontributing face case in clipper-init-from-face
2021-10-18 17:14:43 +03:00
Garux
f5b2653b0d
add automatic MemBuffer storage for file loading routines
2021-10-17 23:10:02 +03:00
Garux
6a7550a6ba
shorten special class members declarations
2021-10-14 23:31:07 +03:00
Garux
5ef76b0212
* non -fast bsp decompilation: deduce brush detail flag; note: structural transparent brushes get marked detail too, e.g. hints
2021-10-14 21:09:06 +03:00
Garux
5283b70a83
* fix decompilation of brushes with edge case face normal ( -0.577350259 -0.577350259 0.577350259 ) and MakeNormalVectors() in general
2021-10-14 14:33:44 +03:00
Garux
bc7bd516e6
refactor bsp decompilation
2021-10-14 14:32:49 +03:00
Garux
a719e012fe
* -mergebsp [options] <mainBsp.bsp> <bspToinject.bsp>: Inject latter BSP to former. Tree and vis data of the main one are preserved.
...
* -mergebsp -fixnames: Make incoming BSP target/targetname names unique to not collide with existing names
* -mergebsp -world: Also merge worldspawn model (brushes as if they were detail, no BSP tree is affected) (only merges entities by default)
2021-10-13 22:50:43 +03:00
Garux
eceb2e3259
matrixify -scale -tex code
2021-10-09 23:17:21 +03:00
Garux
f3a4877ce7
* support inline /* */ comments
2021-10-07 22:14:50 +03:00
Garux
93898d3990
#include <errno.h>
2021-10-07 21:11:12 +03:00
Garux
5c67990859
remove q3data and dependencies
...
looks like it has no any use today
2021-10-07 21:10:12 +03:00
Garux
d897de13d5
refactor scripts parsing
2021-10-07 18:58:00 +03:00
Garux
71c72527af
refactor tokenizing
2021-10-06 23:37:12 +03:00
Garux
fa1933fff5
secure image_t business
...
no need to keep in mind its destructor
2021-10-06 15:28:47 +03:00
Garux
9660fbb6f1
* unlimit MAX_IMAGES
2021-10-06 10:51:32 +03:00
Garux
2602c48a18
fix docs
2021-10-06 10:48:00 +03:00
Garux
44ced506e3
autopacker: use LoadBSPFilePartially
...
LoadBSPFilePartially: support RBSP
2021-10-05 13:44:30 +03:00
Garux
1fe4ab8bd8
remove #define NAME_MAX 255
...
check filename_inzip overflow
2021-10-04 23:06:16 +03:00
Garux
3960adf898
remove ExtractFilePath() ExtractFileBase() ExtractFileExtension()
2021-10-04 11:34:15 +03:00
Garux
82d038f6d1
remove global error prone char name[ 1024 ]
2021-10-04 09:59:17 +03:00
Garux
b6d60fb17c
add and use path_extension_is()
2021-10-03 17:13:12 +03:00
Garux
a0e79e8ecd
refactor autopk3
...
unlimit list sizes
* -pk3, -repack: support multiple bsp files input by command line
2021-10-02 19:13:28 +03:00
Garux
ff07c6e244
* -json -pack -useflagnames: deduce surface/content flag values from their names in shaders.json (useful for conversion to a game with different flag values)
...
* -skipflags: while -useflagnames, skip unknown flag names
2021-09-29 19:48:27 +03:00
Garux
ca09e63932
add more undocumented switches
2021-09-28 20:20:48 +03:00
Garux
70b711c4cf
* synchronize -help, html help and actually available command line arguments
2021-09-28 19:23:47 +03:00
Garux
5017da5fe4
use custom allocation errors handler
2021-09-28 05:55:17 +03:00
Garux
636c3ac90e
mention -format game name in -convert usage
2021-09-28 05:19:31 +03:00
Garux
5283f631e7
std::vector<rawGridPoint_t> rawGridPoints
2021-09-28 05:07:56 +03:00
Garux
d1ccdb0fcf
std::vector<bspDrawVert_t> yDrawVerts
2021-09-27 21:50:46 +03:00
Garux
86a8b5f1eb
minor tweak
2021-09-27 19:56:48 +03:00
Garux
158df04936
fix empty bspVisBytes case
2021-09-27 17:23:17 +03:00
Garux
94cc88d8f4
fix header->ident handling
2021-09-27 16:18:46 +03:00
Garux
1b1e6769e8
std::vector<fog_t> mapFogs
2021-09-27 15:40:39 +03:00
Garux
efa324ebe6
remove unused stuff
2021-09-27 15:12:53 +03:00