Commit Graph
2940 Commits
Author SHA1 Message Date
Garux bee863ee9b refactor model autoclip 2025-11-10 15:58:09 +05:00
Garux 95281d306b minor tweaks 2025-11-08 03:26:26 +05:00
Garux ef8c3fd7c1 add MeshQuadIterator 2025-11-07 20:49:29 +05:00
Garux d19c89224a refactor mesh_t 2025-11-06 19:30:15 +05:00
Garux 0bbd529a76 shader editor: write file in text mode for more expected newlines 2025-11-05 20:26:01 +05:00
Garux 6811cf835c refactor mapDrawSurface_t 2025-11-05 20:05:51 +05:00
Garux 98e6ded079 tweak indexMap_t use 2025-11-03 19:07:31 +05:00
Garux 6ed1c05b20 tweak sideRef_t 2025-11-03 16:56:05 +05:00
Garux 2d88073f73 std::forward_list<surfaceModel_t> std::forward_list<foliage_t> 2025-11-03 00:47:41 +05:00
Garux a72648849b std::forward_list<colorMod_t> 2025-11-03 00:36:02 +05:00
Garux e1e551ff45 minor tweaks 2025-11-03 00:35:36 +05:00
Garux c07b84e48d minor tweaks 2025-11-02 03:34: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 2f17128f06 remove some odd static_cast<> 2025-11-01 20:49:05 +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 c4d4700885 do not create curve menu with "no_patch" 1 game config value
#252
2025-11-01 02:53:16 +05:00
Garux 9bee25ef81 fix global _ambient not being used on entities w/o _ambient specified 2025-11-01 00:27:11 +05:00
Garux 4e9c91e86d add ModelGetTransform() 2025-10-31 16:00:12 +05:00
Garux 6e5067828a fix PopulateWithBSPModel() oddly using modelscale and angles 2025-10-31 15:10:49 +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 b76a5e22ae fix FloodAreas() stack overflow in extreme cases 2025-10-30 17:10:34 +05:00
Garux 2f69f99f6e fix LayerShowWalker unhiding all misc_models 2025-10-30 01:07:28 +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 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 337f10d7a1 clarify _skybox surfaces processing 2025-10-28 17:07:52 +05:00
Garux 1afbbf36fe print deduced Fog visible side uniformly to also feedback -1 side 2025-10-27 03:22:48 +05:00
Garux 4bbb043eff minor tweaks 2025-10-27 02:41:26 +05:00
Garux 968d36d656 fix _skybox geometry being not scaled when _skybox area had other entities
entities after _skybox were overwriting node->skybox flag
2025-10-26 17:24:09 +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 ae3b75b31f add ColorFromSRGB() 2025-10-25 18:23:20 +05:00
Garux 3ce9767554 make modeltypes="*" usable 20251023 2025-10-22 21:19:09 +05:00
Garux 374c3fc239 indicate model loading failure by nomodel.png 2025-10-22 21:16:58 +05:00
Garux 4705d56a84 add ASSIMP_INTERNAL build option, use external assimp by default 2025-10-22 09:28:16 +05:00
Garux 5850a027a2 workaround cd_lighting not being correctly applied on start
#258
2025-10-22 02:25:52 +05:00
Garux 739bad8e24 * -format map_220: bsp to map of Valve220 format conversion 2025-10-21 23:49:45 +05:00
Garux 778169734d Merge pull request #263 from Aciz/fix-shadermanual-terrain-lightmapaxis
correct shader manual entries for q3map_terrain and q3map_lightmapAxis
2025-10-21 18:52:26 +05:00
Aciz 5763162fb0 correct shader manual entries for q3map_terrain and q3map_lightmapAxis
* list correct properties that "q3map_terrain" sets
* remove mention about "q3map_terrain" setting implicit "q3map_lightmapAxis z", this was historically true, but based off code comments, was removed between development of Q3A and TA
2025-10-21 16:19:09 +03:00
Garux bf9d5c3e5b fix texture alignment deduction during bsp to map decompilation on bmodels with origin
avoid different bmodels matching surfs mixture in GetBestSurfaceTriangleMatchForBrushside
2025-10-21 15:09:15 +05:00
Garux 1285e9c9e5 * fix AP texture alignment deduction during bsp to map decompilation 2025-10-21 05:17:16 +05:00
Garux 4e1cddc891 Merge pull request #262 from Aciz/fix-decltype-wchanges-meaning-gcc
fix decltype declarations for GCC in MergeBspMain
2025-10-21 00:25:35 +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 fcd8aed273 rename toolbar objects to force default side attachment change 2025-10-20 00:38:36 +05:00