Garux
37c7ff934c
remove makeQuoted, use Quoted directly
2025-10-06 22:52:30 +05:00
Garux
2580a1ee17
minor tweaks
2025-09-23 03:59:53 +05:00
Garux
8221dbf873
remove unneeded virtual destructors
2025-09-08 12:47:06 +05:00
Garux
648b944005
fix formatting
2025-09-07 18:24:30 +05:00
Garux
a78a2e492a
optimize UnsortedSet memory consumption and use it for selection tracking
2025-09-07 15:48:51 +05:00
Garux
d7f3e9bd3f
minor tweaks
2025-09-04 16:01:47 +05:00
Garux
911a7cceeb
minor tweaks
2025-09-03 00:29:13 +05:00
Garux
5426732f28
minor tweaks
2025-09-02 05:04:33 +05:00
Garux
1599d0a64b
* layers system (stored in comments of .map file)
...
menus * View->Layers Browser (L)
* Edit->Expand Selection To Layers (ctrl + q)
* shift + q: move-to LayersMenu
closes #133
2025-08-31 16:25:12 +05:00
Garux
496ded1b9a
fix b14dcffd7d unwanted hiding when node is invisible due to other flags
2025-04-08 06:21:11 +05:00
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