Garux
c1b4be1db5
tweak EmitBrushes()
2025-11-14 16:51:43 +05:00
Garux
6811cf835c
refactor mapDrawSurface_t
2025-11-05 20:05:51 +05:00
Garux
7bb1c1ba06
remove odd casts
2025-11-02 02:37:40 +05:00
Garux
17d6588d1a
use std::fabs to avoid conversion to double
2025-11-01 19:08:32 +05:00
Garux
c25a3e3635
add entity_t::setKeyValue overloads
2025-10-29 00:58:25 +05:00
Garux
3d36693f55
use std::forward_list<parseMesh_t> for entity_t::patches
2025-10-28 23:03:35 +05:00
Garux
739bad8e24
* -format map_220: bsp to map of Valve220 format conversion
2025-10-21 23:49:45 +05:00
Aciz
2e02a8dd75
fix decltype declarations for GCC in MergeBspMain
...
'decltype(foo) foo = std::move(::foo)' is ambiguous on GCC and fails to compile, because it cannot determine whether you're trying to bind to the just created variable in the local scope, or the one that exists in global scope.
2025-10-20 20:55:36 +03:00
Garux
e919276f52
* -wtf: During bsp to map conversion use common/WTF on faces with failed texture alignment deduction
2025-10-20 15:33:04 +05:00
Garux
ee3ac80a62
* -modelclip: Decompile model autoclip brushes during bsp to map conversion (they are skipped by default)
...
explicit setting instead of reusing -force
2025-10-20 15:17:27 +05:00
Garux
5dbb0af073
minor tweaks
2025-10-20 14:52:24 +05:00
Garux
00c352b697
remove odd newlines
2025-10-09 02:45:30 +05:00
Garux
2580a1ee17
minor tweaks
2025-09-23 03:59:53 +05:00
Garux
66e15e9ba0
minor tweaks
2025-09-23 02:45:24 +05:00
Garux
e1cd441c10
minor tweaks
2025-03-28 03:19:25 +05:00
Garux
de097849ad
* handle patch lodbounds in -shift and -scale
2025-03-28 03:14:08 +05:00
Garux
34038fd7fd
unify WriteBSPFile() print
2024-03-08 04:23:25 +05:00
Garux
20a9afcd1d
* -maxmapdrawsurfs <N>: Sets max amount of mapDrawSurfs, used during .map compilation (-bsp, -convert), default = 131072
2024-02-15 22:35:58 +06:00
Garux
df02774ff5
tweak StringOutputStream use
...
auto str = StringOutputStream()(bla) use form was not doing copy elision or move, but copy
2024-01-29 16:54:08 +06:00
Garux
87a3682c46
-scale: fix bspNodes & bspLeafs precision
2022-07-10 18:54:46 +03:00
Garux
aa110638d4
remove global std::size_t mapEntityNum;
...
(not buildable)
2021-11-06 17:27:11 +03:00
Garux
0aa61b7dfa
also fix dummy targetnames in -mergebsp -fixnames, may legitimately exist as outcome of misc_model->group_entity connection
2021-11-04 19:45:57 +03:00
Garux
da98e8fde3
various code cleanups
2021-10-30 16:04:31 +03:00
Garux
f5b2653b0d
add automatic MemBuffer storage for file loading routines
2021-10-17 23:10:02 +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
b6d60fb17c
add and use path_extension_is()
2021-10-03 17:13:12 +03:00
Garux
636c3ac90e
mention -format game name in -convert usage
2021-09-28 05:19:31 +03:00
Garux
4642753564
std::vector<bspDrawSurface_t> bspDrawSurfaces
2021-09-27 06:14:12 +03:00
Garux
c58bd839da
std::vector<bspDrawVert_t> bspDrawVerts
2021-09-26 21:41:46 +03:00
Garux
b1f32e6faa
std::vector<bspNode_t> bspNodes
2021-09-24 16:06:34 +03:00
Garux
bccd3bafd7
std::vector<bspPlane_t> bspPlanes
2021-09-24 15:43:24 +03:00
Garux
76d2b565b3
std::vector<bspLeaf_t> bspLeafs
2021-09-24 15:25:58 +03:00
Garux
6e2fc92576
std::vector<bspModel_t> bspModels
2021-09-24 12:11:11 +03:00
Garux
29ba8c4876
refactor command line arguments parsing
2021-09-19 11:58:00 +03:00
Garux
dbeb2d0718
rename game -> g_game
2021-09-13 18:49:09 +03:00
Garux
68b8d7d5dc
refactor game configs: using class inheritance to avoid massive duplication
2021-09-13 16:11:01 +03:00
Garux
f492ab27eb
more c++ in q3map2
2021-08-10 22:41:43 +03:00
Garux
e8996d0857
using facelist_t = std::forward_list<face_t>
2021-08-01 22:50:35 +03:00
Garux
c3041cc2f8
using winding_t = std::vector<Vector3>
2021-07-31 18:28:38 +03:00
Garux
6c00419653
fix spelling
2021-05-24 20:23:09 +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
bee749118f
unify WindingExtendBounds logic
2021-03-05 06:15:48 +03:00
Garux
902fb46938
random tweaks
2021-03-04 16:11:00 +03:00
Garux
b68cbfd78b
clean ShiftBSPMain
2021-03-03 19:16:53 +03:00
Garux
39c22acbae
* case insensitive command line arguments
2021-03-03 07:54:16 +03:00
Garux
f9a424b6c8
more c++
2021-03-02 22:01:09 +03:00
Garux
4ce944444d
rewrite q3map2 math in c++
2021-02-25 19:41:43 +03:00
Garux
2bf53ef643
fix overlook introduced in 36b63e1d2c
2021-01-30 16:50:40 +03:00