Commit Graph

2603 Commits

Author SHA1 Message Date
Garux a0c56feef8 allow setting CPPFLAGS via command line 2024-04-09 16:12:37 +05:00
Garux d59668f943 don't write nomipmaps hack 5daf2e265e when native external lightmaps, as it prevents r_mapOverbrightBits application 2024-04-05 14:45:42 +05:00
Garux b0a065afd6 make a99892751b work in Linux
#184
2024-03-31 11:43:00 +05:00
Garux f3ffdf9f28 support 16bit png loading in radiant 2024-03-30 09:22:58 +05:00
Garux ecab0a6522 QTWIDGETS flags are sufficient as they include QTGUI & QTCORE 2024-03-23 13:16:53 +05:00
Garux 02e5db47c6 combine --libs-only-L & --libs-only-l pkg-config flags in single call 2024-03-23 12:00:43 +05:00
Garux 98be56b814 speed up build initialization
in MSYS2 'shell pkg-config' calls somehow slowed down critically
result is targets update check 2s->20s
use simple assignment instead of recursive to reduce number of calls by around 10
2024-03-23 11:58:31 +05:00
Garux 8c4b46bb31 update MSYS2 COMPILING 2024-03-18 01:52:27 +05:00
Garux 5daf2e265e * generate shaders to force nomipmaps flag on external lightmap images created by lightstyles and external lms hacks
fix -trisoup: apply after each -bounce
remove excess WriteBSPFile() when -yes-bounceStore + 'No diffuse light to calculate, ending radiosity'

https://github.com/TTimo/GtkRadiant/issues/66
2024-03-09 17:01:12 +05:00
Garux 34038fd7fd unify WriteBSPFile() print 2024-03-08 04:23:25 +05:00
Garux a3d438c4be * adjust -light -trisoup to enable performance hack for games with low verts per lmed surf count (e.g. 64 in Q3):
-bsp -meta -mv 999 //get big lmed surfs with max verts count = max trisoup verts (-debugsurfaces to debug)
		-light -extlmhacksize 1024 -trisoup //gen shaders for external lms and mark as trisoup
2024-02-26 22:41:10 +06:00
Garux c8bf05af57 fix -info leafsurfaces alignment 2024-02-26 20:26:57 +06:00
Garux 6abeb431e3 fix ds->lightmapAxis after MergeMetaTriangles 2024-02-26 17:39:13 +06:00
Garux d3532111cf in brush.prism... etc dialogs select value on start for convenience 2024-02-21 22:54:51 +06:00
Garux 6749261e75 * -maxshaderinfo <N>: Sets max amount of shaderInfo, default = 8192 2024-02-15 23:35:45 +06:00
Garux 20a9afcd1d * -maxmapdrawsurfs <N>: Sets max amount of mapDrawSurfs, used during .map compilation (-bsp, -convert), default = 131072 2024-02-15 22:35:58 +06:00
Garux 2721cca15b untie PatchMapDrawSurfs() from MAX_MAP_DRAW_SURFS, was doing stack overflow when increased 2024-02-14 09:35:39 +06:00
Garux 129d54e33f deduplicate entity connecting code 2024-02-11 22:44:29 +06:00
Garux 0b43b1744f fix return reference to local variable added in c6252fe3fc 2024-02-11 22:21:09 +06:00
Garux bf579cc278 * ctrl + shift + u: CSG Intersect 2024-02-11 21:19:19 +06:00
Garux 87464acfee make position of selection position text consistent in 2D view 2024-02-11 01:05:08 +06:00
Garux f351a9d657 tweak autobuild:
disable x86 to save the oil
create windows settings/ folder directly
preserve linux executable file pemissions
add date to autobuild archive names
update automatic-releases action used
prerelease = false, Qt autobuilds are good nuff for normal use
2024-02-09 05:00:52 +06:00
Garux b799a03a0f fix model browser scrollbar scrolling lag in KDE
fix model browser M2 pan low sensitivity
2024-02-08 15:14:44 +06:00
Garux a75fb6abdd fix nonmonitored builds broken in 9a13f9ed55
closes #166
2024-02-08 13:02:16 +06:00
Garux f6fd436d69 bump versions of actions used
create automatic release only from master (was on any 'workflow_dispatch')
2024-02-04 19:20:28 +06:00
Garux 22a4ee2f81 fix deprecated Qt function warnings 2024-02-04 10:18:45 +06:00
Garux 1f45694358 Revert "fix build in ubuntu via using deprecated Qt function"
This reverts commit f7977eb851.
2024-02-04 10:08:29 +06:00
Garux 60e3e48dd0 Revert "fix build in ubuntu via using deprecated Qt function"
This reverts commit c618ce39af.
2024-02-04 09:53:31 +06:00
Garux e77d713bad * fix custom shaders generation for lightstyles and external lightmaps hacks for :q3map suffixed shaders
note ignoring only classic stageless :q3map shaders; ones with stages are assumed as templates for custom shaders, hidden by suffix
closes #165
2024-02-04 09:33:43 +06:00
Garux 4b26129c47 minor tweaks 2024-02-03 17:34:58 +06:00
Garux f36b8999b0 move f2f inside Renderer_GetStats() 2024-02-03 17:17:51 +06:00
Garux d33140daf4 fix Run Engine After Compile arguments passing (was eating 1st) 2024-02-02 20:20:59 +06:00
Garux 8683d43b7a fix on import or paste: target/name "qwerty01" -> "qwerty1" 2024-02-02 16:00:32 +06:00
Garux 70c63edd21 fix obscure linux locale override issue (sunplug writing ? in place of -) 2024-02-02 01:28:07 +06:00
Garux 0ead65d10b fix eclass_xml color assert 2024-02-02 01:18:06 +06:00
Garux 649fcd4067 use CopiedString.empty() 2024-02-02 01:04:42 +06:00
Garux 1f2e1616a8 got CopiedString move constructor to actually work
conditions fulfilled:
string pointer is always functional, hence no flow conditions needed
move is fully efficient
moving to different program dynamic module works (no dependency on static vars)
2024-02-02 00:34:11 +06:00
Garux 454660c3e8 adjust some too pruning QLayout::setContentsMargins 2024-01-30 02:56:56 +06:00
Garux 6995ef0eb4 fix check_version(), RADIANT_MAJOR_VERSION was ignored 2024-01-29 17:27:24 +06:00
Garux 3e34d0eddc fix LIGHT_SHADER_DEBUG 2024-01-29 17:12:08 +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 f6a040c27b minor console tweak 2024-01-25 07:27:52 +06:00
Garux 9a13f9ed55 simplify build code 2024-01-24 17:09:04 +06:00
Garux ecdad801b9 * light radiuses: don't render biggest radius, make them less occluding in 3D
closes #63
2024-01-19 12:27:45 +06:00
Garux 9b9e1df066 * light entity radius: support negative intensity display and adjustment (keep sign while adjusting)
closes #163
	* fix: do not modify light intensity on transformations besides light radius transformation
fixes #156
2024-01-17 21:05:17 +06:00
Garux 38f0f660ec entity smartedit.color key entry.change icon to one also making sense in linux 2024-01-14 07:44:32 +06:00
Garux e02571ff6c * preferences.Selection.Create brushes in 3D (by m1 drag)
remove "Left mouse click tunnel selector" option (now always ON)
closes #134
2024-01-13 19:08:27 +06:00
Garux ec29d48986 * Model Browser: unmoved m2 resets models rotations 2024-01-13 08:35:07 +06:00
Garux f8d622409f * fix automatic target/names resolving after doing map 'Save as' or unnamed map 'Save'
original graph was kept in the namespace and new graph had 0 namespace
2024-01-13 03:16:16 +06:00