Commit Graph
939 Commits
Author SHA1 Message Date
Garux 76c423fa63 minor tweaks 2025-09-28 03:56:48 +05:00
Garux a8b0ac4eb7 define CLUSTER_OPAQUE CLUSTER_NORMAL constants 2025-09-23 17:25:51 +05:00
Garux 01e6ad9e1d define FOG_INVALID constant 2025-09-23 05:47:20 +05:00
Garux 6e2d0d139b define explicit AREA_INVALID constant 2025-09-23 04:46:33 +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 16a04110b3 fix MAX_PATCH_SIZE, it's 31 2025-09-18 23:40:31 +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 7ddab0634b minor tweaks 2025-09-17 14:49:19 +05:00
Garux 6e8079cc93 minor tweaks 2025-09-14 03:55:34 +05:00
Garux 1cce74baac fix typo 2025-09-14 03:48:17 +05:00
Garux d7f3e9bd3f minor tweaks 2025-09-04 16:01:47 +05:00
Garux 911a7cceeb minor tweaks 2025-09-03 00:29:13 +05:00
Garux 059702afc9 Merge pull request #243 from TomArrow/anotherstylefix
Fix bounce lighting for styled lights
2025-08-01 04:08:43 +05:00
Tom 7888d5905a Fix bounce lighting for styled lights 2025-07-31 23:45:25 +02:00
Garux 0a5b5a2afe remove currently unneeded workaround for mac 2025-08-01 02:15:23 +05:00
Tom a86bce515b fix vertex lights being broken on lightmapped surfaces for styled lights
Explanation:
Comes from that whole duality of lightmap coordinates for bsp and internal use. Internal always uses index (lightmapnum) 0 for the raw lightmap. The concrete final lightmap coordinates are only calculated and stored when saving the bsp and kept separate. For internal use, all other indices are never inited. Vertex light code tried to use the uninited raw lightmap coordinates with lightmapNum > 0, so just got either zeros or garbage for them for anything except the base lightmap/style 0.
2025-07-14 19:32:19 +02:00
Garux acec987852 Merge pull request #237 from Kr3m/dev-branch
Fixed mbspc linux build
2025-07-12 15:33:18 +05:00
Kr3m efeea5f403 reverted change in q2files.h to prepare for PR 2025-07-11 03:46:23 -04:00
Kr3m 7334103101 changed MNT_DIR to reference PWD since it expects the same path as the Makefile 2025-07-11 03:38:43 -04:00
Kr3m d468ad2409 fixed linux build 2025-07-11 03:31:51 -04:00
Garux 4cf97f5651 minor tweaks 2025-04-26 16:42:06 +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 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 283198c319 * fix tiny structural brushes breaking bsp tree 2025-02-24 02:52:23 +05:00
Garux b4b935cb53 Merge pull request #227 from Garux/filterPatch
* tighten FilterPatchIntoTree() regarding to even (pink) points
2025-02-17 16:29:17 +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 dbb506af9a * tighten FilterPatchIntoTree() regarding to even (pink) points 2025-02-02 21:07:11 +05:00
Garux 242a481259 use math/vectorfwd.h 2025-01-30 22:39:42 +05:00
Garux 59c0d22605 bsp -info print flareCount if present 2025-01-19 02:19:33 +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 79b9b69e5e mbspc * decompile brushes with texinfo -1 ZHLT optimisation, deduce clip, AAATRIGGER, NULL textures 2024-12-20 16:28:46 +05:00
Garux d6cbd7e9f9 mbspc: less crude HL_FixContentsTextures: fixes tex alignment on liquids 2024-12-20 16:28:46 +05:00
Garux fbf88ecefb mbspc: write decent default map220 texdef 2024-12-20 16:28:26 +05:00
Garux de622a9cc0 mbspc: clean map writing code 2024-12-20 02:39:47 +05:00
Garux a0288b5a4b mbspc: support bigger HL maps decompilation (+-16384 range) 2024-12-20 00:59:45 +05:00
Garux c20192e970 mbspc: write entity numbers in decompiled maps 2024-12-20 00:57:57 +05:00
Garux dbcdb4044e * fix deformvertexes autosprite2 on brushes and models
broken for brushes in c166e4214e by new triangualtion
broken for models forever
fixes https://github.com/TTimo/GtkRadiant/issues/658
2024-12-17 09:29:30 +05:00
Garux af7c039b21 trim all trailing spaces in mbspc altogether 2024-12-10 10:29:56 +05:00
Garux 79f435721b mbspc * fix build speed penalty due to terminal output
most noticeable with msvcrt, e.g.:
dump to file: 8 sec
ucrt terminal: 14 sec
msvcrt terminal: 40 sec
2024-12-10 10:14:31 +05:00
Garux 9ed79ea8cf correct libxml #include type 2024-12-06 06:15:55 +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
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