254 Commits
Author SHA1 Message Date
Garux 88e52d51b9 refactor InitDirectory() 2025-12-06 01:11:05 +05:00
Garux b947396afe * .dpk .dpkdir game archives support 2025-12-05 03:08:12 +05:00
Garux 75a5402a18 * volumetric merge of triangles for model autoclip in axial backplane, max extrude modes
* merge coplanar triangles for model autoclip in terrain, up, down modes
2025-11-25 07:21:28 +05:00
Garux d0bdc50613 improve model autoclip precision; use weighted centroid for pyramidal clip 2025-11-18 01:20:29 +05:00
Garux 31100322e6 minor tweaks 2025-11-17 20:49:07 +05:00
Garux 5cad61bc6a * Q3MAP2_EXPERIMENTAL_OFFSET_WINDING_CREATION for higher windings precision 2025-11-17 18:42:36 +05:00
Garux 943845e8c0 add winding_next_point() 2025-11-14 17:14:25 +05:00
Garux d26c1b4263 * merge coplanar triangles for model autoclip in default, pyramidal, face normals, 45 modes 2025-11-14 16:27:09 +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 43e2c423de fix script error line reporting on the 1st script line 2025-11-01 10:06:19 +05:00
Garux 198a915665 make q3map_skyLight work w/o surfaceparm sky or q3map_sun 2025-11-01 08:38:33 +05:00
Garux a2404a5743 limit erroneous script files location reporting to script files
(was reporting image files during .map parsing)
2025-10-31 02:30:55 +05:00
Garux 7111e78f24 undo = default; constructors, they allow zero initialization, unlike constructors with empty body 2025-10-30 00:19:03 +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 e8f74da3d2 minor tweaks 2025-09-22 22:36:41 +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 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 911a7cceeb minor tweaks 2025-09-03 00:29:13 +05:00
Garux 0a5b5a2afe remove currently unneeded workaround for mac 2025-08-01 02:15:23 +05:00
Garux 4cf97f5651 minor tweaks 2025-04-26 16:42:06 +05:00
Garux 283198c319 * fix tiny structural brushes breaking bsp tree 2025-02-24 02:52:23 +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
Garux 1935f030c5 minor refactoring 2025-02-03 23:29:12 +05:00
Garux 242a481259 use math/vectorfwd.h 2025-01-30 22:39:42 +05:00
Garux 3e1871d0ef improve 343cf73d29, force net send via dedicated thread loop
replace Sys_Sleep()
2025-01-04 04:08:06 +05:00
Garux 225996fbce use std::thread, std::mutex 2024-12-23 00:12:49 +05:00
Garux 9ed79ea8cf correct libxml #include type 2024-12-06 06:15:55 +05:00
Willi Schinmeyer 14e1cc95ad Fix StringFixedSize infinite template recursion
On MSC, `sizeof...(Args) != 1 ||` does not short-circuit properly, so
`std::tuple_element_t<0, std::tuple<Args...>>` is treated as an
out-of-bounds access.

This felt like a good use-case for concepts, but the fix could also have
been done while keeping std::enable_if.
2024-12-04 11:30:59 +05:00
Garux 721687afbe manage snprintf uses 2024-12-04 08:32:40 +05:00
Garux 8202b5a6ba fix some warnings 2024-11-24 02:00:56 +05:00
Garux 7a4695e7eb tweak md4 funcs 2024-11-24 01:10:30 +05:00
Garux c166e4214e * improved brush faces triangulation wrt degenerate triangles production (non -maxarea algorithm) 2024-11-11 04:59:17 +05:00
Garux 343cf73d29 force q3map2 net send if >1-2 seconds has passed for greater build monitoring responsibility 2024-11-03 02:36:14 +05:00
Garux 9a4f0321ef Merge commit 'c54bd5caf3dd576e729bd20141cb348badd457eb' 2024-07-04 14:01:33 +05:00
Garux 7499ba60ea always fix backsplashes in vfsGetFileCount, vfsLoadFile to surely work in unix
fixes e.g. misc_model.model-path with backsplashes
https://github.com/Garux/netradiant-custom/pull/200
2024-06-23 09:23:08 +05:00
Garux c54bd5caf3 appease clang's sfinea 2024-02-08 23:25:55 +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 b4e44bc8ed refactor StringFixedSize, auto str = String64()() use form was not doing copy elision 2024-01-25 23:46:01 +06:00
Garux 88a03b07be normalize rendered light color for display consistency (compiler normalizes it anyway)
lower 3d light sphere brightness to reduce occlusion
#63
2022-12-17 02:15:38 +06:00
Garux 9bbb84ea5a fix some clang warnings & errors 2022-10-29 01:07:30 +03:00
Aciz 2d156a33af Fix build on Arch 2022-05-24 15:22:31 +03:00
Garux 41d37cf57d * skylight extension: q3map_skylight amount iterations optional[horizon_min horizon_max sample_color]
horizon_min horizon_max: two spherical angles, defining portion of sphere to emit light from.
		Default is 0 90, which is upper hemisphere. -90 90 will be whole sphere.
		sample_color: Default = 1: sample color of each individual light from skybox images, if they are present.
		0: use shader color, set by q3map_lightRGB/q3map_lightImage/_up skybox image/qer_editorImage.
	* q3map_skylight may be used multiple times in a single shader
2022-01-09 16:50:04 +03:00
Garux 76017a8ce3 unify angles key reading 2021-11-08 21:39:38 +03:00
Garux d1610b49ff move Timer class to header, use it in q3map2 2021-11-04 17:25:04 +03:00