Commit Graph
100 Commits
Author SHA1 Message Date
Garux a456368a98 autoblend key setup 2024-05-22 08:16:41 +05:00
Garux 648a836c5c fix assimp ASE loader crash when *MATERIAL_COUNT or *NUMSUBMTLS is not specified or is 0
code was doing vector[0u - 1] dereference in this case
2024-05-01 00:05:57 +05:00
Garux d4e1be39ad fix TextureBrowser::clampOriginY(), min origin could be >0
fixes #186
2024-04-09 18:57:55 +05:00
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
Garux 6dab1291bd tweak menu text 2024-01-10 22:04:10 +06:00
Garux 3212660e1f * fix equally named builds execution 2024-01-10 22:03:49 +06:00
Garux 27dff0c888 fix mouse chasing in 2x2 & floating layouts
QTimer was getting new connections added w/o removing existing ones; fix the same in FreezePointer
zero check is seemingly not needed now; zeros spam was caused by this QTimer misuse
2024-01-09 04:12:08 +06:00
Garux 2d11fdee43 enable DPI awareness on Windows
fixes text size in texEdit, lineEdit, label, button, comboBox, comboBox size
setting to awareness V2 somehow has effect of not setting awareness
2024-01-09 01:31:11 +06:00
Garux b2c1153175 move "windows:darkmode=1" parameter setting to qt.conf 2024-01-08 01:02:32 +06:00
Garux 20b8bdb5a6 fix off-by-one error in .def parser added in 4b96cb6744 2023-12-14 07:31:47 +06:00
Garux 7c9103032f texture browser, model browser trees: disable text ellision
horizontal scroll + ellided text made no much sense
2023-12-14 03:30:14 +06:00
Garux e9459b79d8 fix .game no_patch key handling
OG behavior was to have preference to hide patch toolbar, if no_patch was set to non empty string xD
patch toolbar was shown by default anyway xD
now treat "1" as hide, anything else = show, including non set
2023-10-05 21:02:50 +06:00
Garux dee00be204 adjust preferences dialog.spinners decimals
closes #152
2023-10-05 20:16:38 +06:00
Garux 25e1ad50d9 use radio menu items in grid menu 2023-09-24 08:22:31 +06:00
Garux 956e30f113 Surface Inspector more concrete KB filtering: pass some editor's shortcuts with modifiers
#147
2023-09-20 10:55:53 +06:00
Garux a9a9907eab support .fgd color1 key type
#115
2023-09-20 08:10:23 +06:00
Garux b21d2cbf1d fix non existent q3map_tcMod mode 2023-09-20 06:41:27 +06:00
Garux 4b8468fea1 fix icon name typo 2023-09-19 20:25:08 +06:00
Garux eba6783b89 update Entity Attributes scrollbar on deselection; Qt updates on widget addition, doesn't on chosen way of deletion 2023-09-19 20:18:46 +06:00
Garux 4b96cb6744 safe .def spawnflags parsing 2023-09-19 19:47:25 +06:00
Garux 3eff56211d in .def ent defs treat -, x & unused* spawnflags as dummy
#150
2023-09-19 17:04:09 +06:00
Garux 4cbe05a25c bump EntityClass MAX_FLAGS to 32
#150
closes #82
2023-09-18 22:42:41 +06:00
Garux 1c3300d4bb be safe while doing copy to EntityClass::flagnames 2023-09-18 21:30:15 +06:00
Garux 1a12e3b226 rework Surface Inspector for correct +- scale buttons alignment 2023-09-18 15:57:46 +06:00
Garux 8cd2a5257f Surface Inspector flags: fix window resizing 2023-09-18 15:42:16 +06:00
Garux dea7800d3c bobToolz: load all group entities, was hardcoded list of them
fix crash in DEntity::SelectBrushes after DEntity::LoadSelectedBrushes (which may load brushes from other entities)
generalize loading options; fix ignored loadPatches option; use only visible brushes in Find Duplicates
2023-09-04 06:38:59 +06:00
Garux bf4db60613 bobToolz: remove brush ID, store brushes & patches in vector 2023-09-01 17:06:03 +06:00
Garux 7bd11485d0 * bobToolz: new Find Duplicates function: finds & selects duplicate brushes in entire map 2023-08-30 21:16:21 +06:00
Garux d98b1c5d0e adjust QPalette::AlternateBase
it's not used in radiant, but may be used in Qt file dialog
2023-08-25 06:29:11 +06:00
Garux 8923546e79 more precise -bounce description 2023-08-23 00:24:29 +06:00
Garux b6683d9837 enable EntitiesKillConnect for xonotic 2023-08-23 00:09:51 +06:00
Garux 07f66499dd Merge pull request #146 from Aciz/clion-gitignore
Add CLions project folder to gitignore
2023-08-22 18:16:18 +06:00
Garux ca3c035a54 Entity Inspector: support unknown entities added during runtime: clear entity comment, deselect entity class list 2023-08-22 17:47:08 +06:00
Garux 158b724dba * support multiple Extra Resource Paths 2023-08-22 15:40:09 +06:00
Garux c9d8265958 shader editor: save prompt on closing modified document 2023-08-21 21:58:23 +06:00
Garux 4209416731 add visual aid to Shader Editor search entry 2023-08-21 17:35:31 +06:00
Garux 11c0cc3fa8 fix Shader Editor manual opener, while installed to path with spaces 2023-08-21 17:25:22 +06:00
Garux 69a3a4f829 * brush.cone result respects original brush bounds and is currect projection dependent 2023-08-21 17:17:11 +06:00
Garux bb4c510c4c show coordinates by default 2023-08-21 15:42:22 +06:00
Garux d205f6ab46 more pronounced grid major color in Blender theme 2023-08-21 15:42:08 +06:00
Garux 22f017283b change browse file/directory icon from SP_FileDialogStart to semantically correct SP_DialogOpenButton 2023-08-21 15:41:07 +06:00
Garux b608dc986c add missing file extension after file dialog
some implementations are more mindless, than the others
2023-08-18 20:14:45 +06:00
Garux a2e35eb774 in autocaulk use caulk instead of nodraw, if latter is nonsolid
#145
2023-08-18 17:50:42 +06:00
Garux 39f4bdfab6 * installer of map developer's files (common shaders/textures/w/e is included in gamepack) 2023-08-18 11:51:02 +06:00
Garux 1fb1896f11 tweak light styles checks 2023-08-18 11:30:48 +06:00
Garux d40538eea0 * fix RBSP style keys on -exportents and decompilation, so that they are alright for -onlyents and compilation 2023-08-18 01:20:58 +06:00
Garux a5bad3d471 * fix: don't turn lights with targetname to styled for IBSP, as they are not switchable there 2023-08-17 19:46:49 +06:00
Garux 1da9dbfea9 * -keepmodels in -bsp / _keepModels on worldspawn: keep misc_model entities in the BSP file after compile 2023-08-17 19:22:21 +06:00
Garux affe89e774 add Application::aboutQt to about dialog 2023-07-31 14:09:34 +06:00
Garux b9c537f40b * Run Engine After Compile function: make 'Engine to Run' & 'Engine Arguments' customizable in preferences 2023-07-31 10:43:41 +06:00
Garux c69a94d955 fix Widget_connectToggleDependency: apply dependency effect on creation (preferences loading case; only has been working during manual toggling)
Widget_connectToggleDependency: track checkbox graying out to allow chained dependencies
2023-07-31 10:39:59 +06:00