Garux
da98e8fde3
various code cleanups
2021-10-30 16:04:31 +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
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
29ba8c4876
refactor command line arguments parsing
2021-09-19 11:58:00 +03:00
Garux
e22e6169c9
* -fs_basegame gamename: Overrides default game directory name (e.g. Q3A uses 'baseq3', OpenArena 'baseoa', so -game quake3 -fs_basegame baseoa for OA )
2021-09-16 15:26:55 +03:00
Garux
68b8d7d5dc
refactor game configs: using class inheritance to avoid massive duplication
2021-09-13 16:11:01 +03:00
Garux
43b5148447
remove -metaMaxBBoxDistance
...
with current 'pre weld' strategy it's not optimization anymore, also wont work as option to merge non welded triangles with adjusted meta score
2021-09-05 14:45:01 +03:00
Garux
160c1d33db
remove -texrange business (assuming it's not relevant for decades)
...
optimize -meta (shave off 1/3 in worst case)
2021-08-27 12:18:56 +03:00
Garux
2222100316
indent classes, align by spaces
2021-03-24 00:25:15 +03:00
Garux
1d4424f4c6
minor tweaks
2021-03-12 01:17:01 +03:00
Garux
ac1dd904f1
* print available games on wrong -game and -format args
2021-03-08 13:32:16 +03:00
Garux
ce93fb3be8
* -help -game lists available games
...
std::size for help arrays
2021-03-03 17:30:55 +03:00
Garux
39c22acbae
* case insensitive command line arguments
2021-03-03 07:54:16 +03:00
Garux
fe5c0879b4
remove -tmpin & -tmpout switches, as at best they were prepending tmp/ to absolute path
2021-01-20 12:48:10 +03:00
Garux
13524d59ef
fix the build
2021-01-16 15:10:59 +03:00
Garux
fafa271a46
turn quake3 tools to cpp
2021-01-15 01:37:23 +03:00