Garux
b14dcffd7d
* hide group entity node when all its children get hidden
2025-03-03 21:40:14 +05:00
Garux
2abab5904c
minor refactoring
2025-02-12 21:13:34 +05:00
Garux
607d4c67ad
tweak formatting
2025-02-05 15:59:29 +05:00
TimePath
b65f27b166
Callback: cleanup
2025-01-22 14:57:22 +05:00
TimePath
57c8189225
Callback: remove fixed-arity wrappers
2025-01-22 12:39:14 +05:00
Garux
c7fd44d2c0
don't invalidate region bounds, while in region mode (by prefs application)
...
fixes known defect from 097a662814
2024-12-18 08:02:52 +05:00
Garux
6a89422c78
Load last map at startup by default
2024-11-07 04:55:24 +05: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
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
f7b9e7e482
fix nonmodal dialogs going behind main window in linux
...
notes:
was okay in windows
wnd position is not preserved on hiding via Close event now, requires extra handling, as in class RotateDialog or g_guiSettings (no much critical cases exist)
min max buttons aren't shown (when requested) in Ubuntu, shown in Windows; were shown for Qt::Window flag
2022-10-31 15:16:53 +03:00
Garux
6bfa626a38
fix ubuntu build, suppress spammy warning there
2022-10-27 10:30:27 +03:00
Garux
9d3d204018
Qt
2022-10-27 09:10:31 +03:00
Garux
58b440b6aa
* fix: don't increment target/names on file.import
2021-12-08 13:40:28 +03:00
Garux
1f7d0250b0
* fix: don't rename target/names without numeric suffix on paste to non clashing namespace
2021-11-24 18:00:37 +03:00
Garux
4016d64859
use std::chrono::steady_clock timer
2021-11-03 19:43:44 +03:00
Garux
522f6f907e
rename cmdlib and imagelib to fix name clashes
2021-10-31 14:13:02 +03:00
Garux
da98e8fde3
various code cleanups
2021-10-30 16:04:31 +03:00
Garux
512d14736c
* region build: widen temp box to handle small volumes, light entities at the edge and flat primitives
...
* region build: pull temporal respawn to the box instead of error
2021-10-21 04:48:54 +03:00
Garux
b6d60fb17c
add and use path_extension_is()
2021-10-03 17:13:12 +03:00
Garux
02a3b9c026
use ostream_write( CopiedString )
2021-09-18 15:30:11 +03:00
Garux
6c00419653
fix spelling
2021-05-24 20:23:09 +03:00
Garux
da98f5f9d9
add and use Entity::getClassName(), Entity::hasKeyValue()
...
do not return default value from getKeyValue()
2021-05-16 10:13:42 +03:00
Garux
5008fa278f
simplify TYPE_CONSTANT code
2021-03-25 21:59:31 +03:00
Garux
dc5dea6d21
delete copy constructors and assignment operators explicitly
2021-03-24 15:48:29 +03:00
Garux
2222100316
indent classes, align by spaces
2021-03-24 00:25:15 +03:00
Garux
8b204ac054
add and use class PathExtensionless
2021-01-21 15:15:07 +03:00
Garux
0140da6e72
only #include <gtk/gtk.h>
2020-05-21 16:27:17 +03:00
Garux
0831e0966d
Replace GDK_<keyname> with GDK_KEY_<keyname>
2020-05-19 21:15:11 +03:00
Garux
7ae79b263d
minor refactoring
2020-04-28 08:30:25 +03:00
Garux
06cd1e98ff
* Model Browser: default bind '/'
...
m1 = assign model to selected entity nodes (shift + e to select nodes of group entities)
m1x2 = insert "misc_model" with given model
m1 drag = rotate model
Preferences.Model Browser: list of * separated folderToLoad/depth values, e.g. *models/mapobjects/99*maps/1*; */99* loads root
2020-04-26 07:28:23 +03:00
Thomas Debesse
66e6781c9b
use Instance_isSelected() function
2020-03-03 02:00:15 +03:00
Garux
4b2f9d6080
* open/save dialogs: use current file path, name, focus it, if present
...
brushexport plugin: case insensitive extension check
2020-03-01 19:38:27 +03:00
Garux
097a662814
* preferences->Grid->Max grid coordinate: how much big grid to render (visual aid for games with small world)
...
known minor issues:
preference change to smaller value doesn't trigger 2d view origin, scale constraints evaluation (ok after doing manually)
preference change during region mode resets grid region size
2020-02-27 21:03:04 +03:00
Garux
1e0f7ba781
tweak VIEWTYPE related code
2019-08-29 00:41:40 +03:00
Garux
15cf9d0b55
* focus all 2D views on map load, selection by q3map2, NextLeakSpot, selection by brush/entity number
2019-08-24 01:12:01 +03:00
Garux
446e1148a5
* prevent runouts of 2D views from grid area
2019-08-23 23:38:29 +03:00
Garux
213b680a3c
* region XY: only deselect excluded objects for convenience
2019-03-24 23:05:14 +03:00
Garux
12d010446b
* Brush->AutoCaulk Selected (F4); camera must be there, where legit player respawn could be, i.e. close to selection and not inside of a brush
2019-03-23 19:10:41 +03:00
Garux
461410f1a9
* fix automatic connection names resolving of cloned entities
...
issue was:
create entity 1, clone to 2,3; connect 1-2, 2-3 = 1-3 connected; 2-3, 1-2/3-2 2-1 = ok; create all ones via menu/clone-make-unique/ctrl+c +v = ok
clone-make-unique is broken, when operating with cloned entities, connected 3-2, 2-1 (ctrl+c +v too)
2018-07-27 20:21:42 +03:00
Garux
645c2f479c
comment out Scene_parentSelected() codes
2018-06-24 19:24:16 +03:00
Garux
6b8a1980af
* add statusbar->patches count
2018-05-31 12:38:43 +03:00
Garux
66197713a5
simplify ParentSelectedBrushesToEntityWalker
...
add comments to EntitySetClassnameSelected
2018-05-24 21:37:39 +03:00
Garux
cf580963c2
more globalWarningStream() globalErrorStream() use
2018-03-21 16:06:22 +03:00
Garux
feedf4919e
consider func_detail* in Map Info dialog
2018-02-18 20:56:18 +03:00
Garux
024e6bd667
fix possible typo in LoadMapFile primitives count report
2018-02-18 20:22:09 +03:00
Garux
aeaeb2a3e6
* statusbar: del "R:" info (rotate increment from SI)
...
+current map format info (F:AP/BP/220)
+explanatory tooltip, describing shown infos
2017-12-15 15:58:52 +03:00
Garux
fd7429d45f
* change default Map Info window position to centered
2017-12-15 13:47:01 +03:00
Garux
b4d81fac21
* close Map Info dialog by ESC
2017-12-15 03:24:42 +03:00
Garux
3426be50bf
* fix: reset hide button on Map_Free()
2017-11-11 11:52:08 +03:00
Garux
618d31bc96
* fix: don't exclude worldspawn node on region() functions, so newly created brushes are visible afterwards
...
* fix: region() functions work for entities, having model, which is instantiated multiple times in a scene
* warn on Map_RegionBrush with none selected
* fix: 'region set brush' is deleting ultimateselected only (is using one to get bounds)
* deselect components on any region() function: could be texturized or edited implicitly
* allow 'region set selection' in components mode
* Map_RegionXY: deselect anything (could leave stuff selected + invisible)
2017-11-05 22:58:59 +03:00