Commit Graph
2708 Commits
Author SHA1 Message Date
Garux ff9aeaf728 shader editor: add skybox template 2024-12-11 19:10:00 +05:00
Garux d4259772e6 shader editor: fix completion collision of blendFunc blend with blend shader template 2024-12-11 18:48:30 +05:00
Garux e251587788 replace class Str uses, replace std::list<DEPair*> 2024-12-11 09:20:27 +05:00
Garux dbe6089cdc appease false positive [-Wsequence-point] warning 2024-12-11 09:17:50 +05:00
Garux 1ed93f7ccb tweak portal, alphagen portal documentation, completion 2024-12-10 23:13:12 +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
Garux 0dfd0673ae remove lrint, llrint excess definitions 2024-12-05 22:33:56 +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
Willi Schinmeyer 2019293ae5 Fix DEBUGGER_BREAKPOINT on Win64 2024-12-04 09:50:43 +05:00
Garux 721687afbe manage snprintf uses 2024-12-04 08:32:40 +05:00
Garux 7357b6ed57 rewrite ini reader/writer 2024-12-04 06:20:37 +05:00
Garux 54dfa0df74 adjust GUI texts 2024-12-02 08:05:32 +05:00
Garux be9e55010c modernize code style 2024-12-02 07:42:37 +05:00
Garux 516446a573 EntityKeyValues::find without Key instance creation 2024-12-02 05:10:22 +05:00
Garux 446e9a63c7 use is_transparent std::set std::map search 2024-12-01 08:10:52 +05:00
Garux b849b0d4b0 minor tweaks 2024-12-01 08:10:52 +05:00
Garux 8cbbafa540 fix tag renaming logic 2024-12-01 06:01:52 +05:00
Garux 55dc6e677d use std::set std::map contains() 2024-12-01 06:01:52 +05:00
Garux 7dc1a3dbb0 switch to c++20, switch to std::span 2024-11-27 02:07:43 +05:00
Garux ab616cf3a4 implement string_clone_range without strncpy 2024-11-26 03:33:39 +05:00
Garux 1d2e0b3c00 tweak .def flags parser 2024-11-26 03:11:55 +05:00
Garux f5f5752dca tweak plugin command name parser 2024-11-26 02:38:15 +05:00
Garux 8202b5a6ba fix some warnings 2024-11-24 02:00:56 +05:00
Garux a2e3445632 update quickhull https://github.com/akuukka/quickhull/commit/4ef66c68950cb4db11d3b75bfe4034d807485ad0 2024-11-24 01:36:12 +05:00
Garux cf7e1f3a5b update quickhull 2024-11-24 01:23:16 +05:00
Garux 7a4695e7eb tweak md4 funcs 2024-11-24 01:10:30 +05:00
Garux 6b890e988b add missing inclusion for 7b565c2cd2 2024-11-17 06:25:28 +05:00
Garux 2afef413c0 fix floating point errors 2024-11-16 05:52:52 +05:00
Garux c488aa115b * -globalflag <surfaceparm>: add surface flag to every bsp shader. Reusable, e.g. -globalflag slick -globalflag nodamage. 2024-11-14 22:02:38 +05:00
Garux 6cd9028bb9 validate smartedit key values input, tweak entity key name, value validation interaction 2024-11-14 04:13:51 +05:00
Garux f9dd8636c0 shader editor: fix typo, add 'compile time remap' template 2024-11-13 16:11:07 +05:00
Garux db64da67a4 modernize surfaceExtra_t storage 2024-11-13 06:47:24 +05:00
Garux a24c330de2 refactor tjunction.cpp 2024-11-13 00:35:23 +05:00
Garux c166e4214e * improved brush faces triangulation wrt degenerate triangles production (non -maxarea algorithm) 2024-11-11 04:59:17 +05:00
Garux e0169cdc63 * -nobrushsnap: disable brush vertices snapping (of drawsurfs) (experimental, keep eye on meta merge efficiency)
fixes most of issues added by tjuction fixing due to offshape vertices insertion
2024-11-11 04:26:57 +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 6a89422c78 Load last map at startup by default 2024-11-07 04:55:24 +05:00
Garux dd879e099d Merge pull request #221 from Garux/responsiveMonitoring
Responsive monitoring
2024-11-03 21:53:40 +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 24f77efe14 remove build monitoring log buffering, as q3map2 does buffering itself 2024-11-03 01:36:35 +05:00
Garux 1340597776 remove seemingly excess buffering before writing to console 2024-11-03 01:23:46 +05:00
Garux 958b99a4c4 fix si->implicitImagePath extension presence vagueness added in c3437b7833
closes #220
20241031
2024-10-31 01:50:50 +05:00
Garux 3d41d8f900 Merge pull request #219 from Vorschreibung/fix-linux-build-monitoring-double-output
prevent logging q3map2's output twice on linux with build monitoring
2024-10-31 00:49:49 +05:00
Vorschreibung c100cc2ccb prevent logging q3map2's output twice on linux with build monitoring
In the case of using q3map2 with 'build monitoring', the output of
q3map2 was being written twice, once for the logs received through the
'watchbsp' net connection and once as the fork/subprocess that actually
runs q3map2 was using the same stdout file descriptor as
netradiant-custom itself.

In order to prevent this, we redirect stdout/stderr to /dev/null in case
we use q3map2 with build monitoring for the subprocess and rely on the
received logs, which also get written to netradiant-custom's QT console.
2024-10-28 23:52:41 +01:00
Garux 679ebd945a improve rotate-snap to align bbox axially as much as possible 2024-10-28 16:55:56 +05:00
Garux 7451bd8a3d rename potentially conflicting vector3_max_component -> vector3_max_abs_component 2024-10-28 16:18:18 +05:00
Garux 35ea55f93a workflow: zip windows build immediately, since .bla files get lost somewhere later now (likely in linux 7z) 2024-10-24 02:46:05 +05:00