Commit graph

167 commits

Author SHA1 Message Date
spherallic
c6eecdec5d Merge remote-tracking branch 'udb/master' 2024-05-24 15:24:42 +02:00
biwa
2a404cf1fc Linedefs Mode, Sectors Mode, Things Mode: fixed a problem where multi-selecting many spread out map elements could result in an exception. Fixes #1053 2024-05-11 14:28:52 +02:00
spherallic
b5f482e9dc Merge remote-tracking branch 'udb/master' 2024-01-09 14:06:45 +01:00
biwa
5ff0bc76db Sectors Mode: fixed a problem where dragging a single highlighted sector did not move the things in the sector when synchronized things editing was enabled 2024-01-06 15:15:39 +01:00
biwa
957bec7f43
Autosave map functionality (#995)
Added autosaving of the current map. Autosaving happens in intervals when the map is changed. It will not overwrite the current map, but rather create new files, just like backups. Autosaving interval and number of files can be configured in the "Recovery" tab of the preferences. Autosaving can also be disabled there (not recommended). Autosaves will not have their nodes built for performance reason.
2023-12-15 22:49:28 +01:00
spherallic
92418d40a6 Merge remote-tracking branch 'udb/master' 2023-09-06 22:42:33 +02:00
biwa
5c76efb8c0 Fixed a problem where not selected geometry and things could not be dragged when the "don't move selection if any part of it is outside of map boundary" option was enabled 2023-08-26 13:49:00 +02:00
spherallic
ba67a87c75 Optimize SRB2 NiGHTS/zoom tube/polyobject rendering
(Text labels are removed because of performance issues)
2023-06-15 12:25:46 +02:00
spherallic
c32f677c44 Merge remote-tracking branch 'udb/master' 2023-06-10 19:31:53 +02:00
biwa
bc98a5391f
Added action to change the index of linedefs, things, sectors, and vertices. Can be accessed through a shortcut (not bound by default) or the menu of the respective mode (#903) 2023-06-09 11:17:01 +02:00
spherallic
06e2c06553 Reduce blockmap use when drawing/stitching geometry, increasing performance in large maps 2023-05-24 12:50:45 +02:00
spherallic
087b1c8e8f Merge remote-tracking branch 'udb/master' into udbmerge202304 2023-05-12 13:45:56 +02:00
MascaraSnake
d29bd54034 Refactor code that relies on the number of action args being exactly 5 2022-12-28 23:04:32 +01:00
biwa
204982e5f8
Add support for toasts (#817)
Behavior can be configured in the "Toasts" tab in the preferences.
2022-11-06 15:08:22 +01:00
biwa
9e5a6b5377 Tag Range plugin: fixed a problem where the new tags were not displayed in Sectors Mode when selection numbering was disabled. Fixes #795 2022-10-03 11:29:31 +02:00
biwa
9c4c63a749 Sectors Mode: fixed a regression where sector labels were not updated after editing sectors. Fixes #793 2022-09-21 21:05:30 +02:00
biwa
fa5c741b76 Fixed a regression where editing map elements did not preserve the selection order, but used the index order instead. Fixes #791 2022-09-20 23:52:41 +02:00
biwa
179f72068f Things/Linedefs/Sectors/Vertices Modes: standardized how editing and selection works:
- editing a highlighted, not selected map element will deselect other selected map elements, then start editing the highlighted map element
- dragging a highlighted, not selected map element will deselect other selected map elements, then start dragging the highlighted map element
- dragging a single map element will keep its selection state. I.e. dragging a selected map element will not deselect it after dragging anymore
  - dragging a highlighted, not selected thing will not select it after dragging
- dragging a highlighted, not selected sector, while other sectors are selected, will only drag the highlighted sector, and not the selected sector (and deselect the selected sectors)
2022-09-18 16:54:09 +02:00
biwa
5115686a69 Sectors Mode: fixed a crash that could happen when the mouse was moved out of the map control while an UDBScript was modifying the map 2022-03-15 21:31:00 +01:00
biwa
484b0817bd Snap selection to grid: fixed a problem that could cause a crash if geometry got removed by snapping it to the grid 2022-02-03 19:35:10 +01:00
biwa
5eb438e3ba
Add map scripting capabilities to UDB (#656)
Added map scripting capabilities to UDB (#656). Documentation at https://biwa.github.io/udbscript-docs/
2021-11-28 14:00:24 +01:00
biwa
a0971e0ef2 Added option to reselect changed map elements after undo/redo 2021-10-24 19:22:00 +02:00
biwa
f8e836a5cf Don't use thread unsafe collections in threaded code (hopefully fixes crash in Sectors Mode when selecting sectors) 2021-04-22 21:10:10 +02:00
biwa
547aec7541 Sectors Mode: potentially fixed some crashes related to determining thing sectors 2021-04-22 16:12:14 +02:00
biwa
83adef923d Increased performance on multi-core CPUs when selecting sectors in Sectors Mode when Synchronize Thing Editing is enabled 2021-04-17 20:06:58 +02:00
biwa
5addd6508c Started to add support for arbitrary UDMF field associations (#401) 2021-03-14 15:58:40 +01:00
biwa
5534a93051 Sectors Mode: fixed a crash when merging sectors while a shared linedef between them was shown as an association 2021-02-28 01:44:38 +01:00
biwa
bb7cf59a65 Sectors Mode: fixed a problem where things were not selected correctly when synchronized thing edit was enabled 2020-11-22 18:19:47 +01:00
biwa
3ee12f4ca7 Sectors Mode: tag and effect labels are now only updated when necessary, increasing performance 2020-11-16 00:45:57 +01:00
biwa
41e6632b18 Sectors Mode: fixed an potential crash when joining/merging sectors 2020-11-01 21:29:57 +01:00
biwa
4a0e1d7c62 Sectors Mode: significantly increased rendering speed 2020-10-31 20:45:05 +01:00
biwa
4991c323c3 Linedefs Mode, Sectors Mode, Vertices Mode, Sound Environment Mode, Sound Propagation Mode: slightly improved performance when moving the mouse 2020-10-31 16:09:22 +01:00
biwa
160db8da8c Editing modes: fixed some crashes related to undoing/redoing while objects with associations were highlighted 2020-10-09 18:53:10 +02:00
biwa
ba1abbcb4b Sectors mode: fixed a bug where applying floor and ceiling brightness gradients didn't work correctly 2020-08-04 16:25:49 +02:00
biwa
c047b98ba4 Sectors Mode: fixed a bug that could cause a crash when drag-selecting over areas that contained sectors after deleting those sectors 2020-07-27 20:18:33 +02:00
biwa
f204a17298
Improved associations (#440)
Improved associations and event lines. Refactorings to make the whole thing more sensible (hopefully). Options to display labels on event lines (can be configured in Preferences -> Editing).
2020-07-16 22:01:37 +02:00
biwa
5ddbd73916 Sectors Mode: the sectors things are in are only determined if necessary, which should increase performance when switching into Sectors Mode in very big maps 2020-06-21 12:52:36 +02:00
biwa
72169060f9 Things Mode: performing the smart grid transform action will now set the grid origin to the selected or highlighted thing
Sectors Mode: performing the smart grid transform action will now reset the grid transform
2020-06-15 21:25:31 +02:00
biwa
9338d1221f Removed lots of unnecessary casts to float of the Math methods. Also removed some other minor implicit casts 2020-05-22 22:30:32 +02:00
biwa
91cbcde1eb It's compiling! 2020-05-21 14:20:02 +02:00
biwa
47cec444b5 Slopes of 3D floor are now preserved when dragging the tagged sectors
Added option to lock texture offsets of 3D floors when dragging the tagged sectors
2020-05-03 17:25:07 +02:00
biwa
2516b97cee - Added option to enable additive paint selecting without holding shift independently from regular additive selecting 2019-06-20 15:38:41 +02:00
Mistranger
7168ad2095 Add "Mouse selection threshold" option (#141 by Mistranger)
* Mouse selection threshold

* Cleanup

* Fix selection bug
2017-08-24 16:24:03 +03:00
davidxn
3013723e91 Improve MakeDoor form - options for line special and tag (PR #91 by davidxn) 2017-04-03 04:20:40 -04:00
ZZYZX
ebd7fb1a57 Upgrade to VS2015 (14.0) 2017-01-15 00:35:40 +02:00
MaxED
aecd017b19 Added, Errors and Warnings window: most of warnings/errors related to (G)ZDoom text lump parsing can now be double-clicked to show warning/error source in the Script Editor.
Fixed: some map format conversion errors were never displayed, because errors list was cleared after performing map conversion.
Fixed: 3d floor indicators in 2D modes were not updated after leaving Visual mode.
Fixed: some UDMF-only interface buttons were never removed after converting map format from UDMF.
2016-11-26 00:02:56 +00:00
MaxED
4c2b60926c Silenced some compiler warnings... 2016-10-28 21:32:52 +00:00
MaxED
70d35bf1d6 Added, Edit Sectors window: added UI for floor/ceiling portals.
Updated ZDoom_DECORATE.cfg.
Updated documentation ("Game Configuration - Sectors Settings" page).
2016-10-11 12:58:35 +00:00
MaxED
8c6971a437 Changed, Vertices/Linedefs/Sectors/Things modes: selected map element is no longer deselected after accepting Edit window when it was the only selected map element when the Edit window was opening. 2016-09-27 19:39:46 +00:00
MaxED
2ea72437be Added, Visual mode: added support for "Change Floor Brightness to this Brightness" and "Change Ceiling Brightness to this Brightness" Boom actions.
Changed, Sectors mode: "Flip Linedefs" and "Align Linedefs" actions will no longer flip single-sided linedefs with only front side.
Fixed, Script Editor: fixed a crash when trying to update script navigator combo box when switching to a never saved ACS script.
2016-07-20 19:17:31 +00:00