Garux
943845e8c0
add winding_next_point()
2025-11-14 17:14:25 +05:00
Garux
bee863ee9b
refactor model autoclip
2025-11-10 15:58:09 +05:00
Garux
d19c89224a
refactor mesh_t
2025-11-06 19:30:15 +05:00
Garux
98e6ded079
tweak indexMap_t use
2025-11-03 19:07:31 +05:00
Garux
a72648849b
std::forward_list<colorMod_t>
2025-11-03 00:36:02 +05:00
Garux
7bb1c1ba06
remove odd casts
2025-11-02 02:37:40 +05:00
Garux
5b380fd6fe
remove explicit float literal specifiers
2025-11-02 01:27:42 +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
553dd81247
minor tweaks
2025-10-26 00:35:05 +05:00
Garux
abadf52398
* support separated _ambient, _color per group, misc_model entities
2025-10-25 22:10:56 +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
10cfb24b77
* fix and simplify FloodAreas
...
was bugged since original q3map
bug behavior was made consistent in c379aae1d4 (was determined by 1st brush face being areaportal before)
2025-09-22 16:32:16 +05:00
Garux
fb3698b820
minor tweaks
2025-09-18 23:36:30 +05:00
Garux
2501b86856
* refactor to work without -maxshaderinfo limit, improve shader search performance
2025-09-18 21:07:03 +05:00
Garux
6e8079cc93
minor tweaks
2025-09-14 03:55:34 +05:00
Garux
079f07a4a2
remove areaportal inside func_group warning
...
xml_Select such areaportals
automatically moving such areaportals to worldspawn might result in empty group entities, so just warn
2025-03-02 04:03:03 +05:00
Garux
607d4c67ad
tweak formatting
2025-02-05 15:59:29 +05:00
Garux
4a368deef0
minor refactoring
2025-02-04 12:15:12 +05:00
Willi Schinmeyer
27c5b9e78b
Rework TemplateString for standard compliance
...
Creating an std::integer_sequence from a user-defined string literal is
a non-standard gcc extension. This alternative implementation should
conform to C++20.
2024-12-05 19:00:23 +05:00
Garux
0145a3df45
apply bevel surfaceflags unconditionally
...
seemingly does not add extra bsp shaders
useful in Urban Terror to prevent walljumps by slick surfaceparm
2024-11-07 05:17:17 +05:00
Garux
b4e44bc8ed
refactor StringFixedSize, auto str = String64()() use form was not doing copy elision
2024-01-25 23:46:01 +06:00
Garux
aa110638d4
remove global std::size_t mapEntityNum;
...
(not buildable)
2021-11-06 17:27:11 +03:00
Garux
25bb05b0d2
remove global int numMapEntities; int entitySourceBrushes;
2021-11-06 15:12:21 +03:00
Garux
16dddad640
remove global entity_t *mapEnt;
2021-11-06 13:50:30 +03:00
Garux
da98e8fde3
various code cleanups
2021-10-30 16:04:31 +03:00
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
2e9bf0af1c
minor tweaks
2021-10-26 20:15:09 +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
f5b2653b0d
add automatic MemBuffer storage for file loading routines
2021-10-17 23:10:02 +03:00
Garux
d897de13d5
refactor scripts parsing
2021-10-07 18:58:00 +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
dbeb2d0718
rename game -> g_game
2021-09-13 18:49:09 +03:00
Garux
aa5de2fee9
wrap winding_next logic
...
prevent crash in AddWindingToConvexHull()
2021-08-11 18:18:38 +03:00
Garux
f492ab27eb
more c++ in q3map2
2021-08-10 22:41:43 +03:00
Garux
99f4a4a767
minor tweaks
2021-08-03 20:54:21 +03:00
Garux
15b391cdb3
minor tweaks
2021-08-02 00:47:18 +03:00
Garux
c3041cc2f8
using winding_t = std::vector<Vector3>
2021-07-31 18:28:38 +03:00
Garux
ffa1a4340c
std::vector<plane_t> mapplanes
2021-07-29 22:21:36 +03:00
Garux
ee92bdd801
minor tweaks
2021-07-27 22:16:05 +03:00
Garux
89b7bcdf53
* read .map brush plane points and store brush planes for windings calculation in double precision (fixes cracks between brush faces)
2021-07-27 20:04:35 +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
09c78ec0dc
return Vector3 from vectorForKey()
2021-03-11 20:16:52 +03:00
Garux
1144be0881
add BasicVector3 uniform constructor
2021-03-11 19:14:07 +03:00
Garux
98f9023cdc
minor tweaks
2021-03-11 10:57:17 +03:00