Commit graph

133 commits

Author SHA1 Message Date
biwa
54fe5ae165 Fixed a bug that could cause a crash when going over the maximum linedef limit 2023-05-08 13:06:38 +02:00
biwa
4b0dce43ed Changed how performing undo interacts with volatile modes (it will now actually perform the undo instead of just canceling the volatile mode) 2023-05-08 12:46:17 +02:00
biwa
7d180e5cae Snap selection to grid: fixed a problem that could cause a crash if geometry got removed by snapping it to the grid 2023-05-08 12:34:41 +02:00
biwa
28aa7e4481 Linedefs Mode: fixed a problem where after splitting a linedef the insert vertex preview would not work correctly
Vertices Mode: fixed a problem where after inserting a vertext the insert vertex preview would not work correctly
2023-05-07 22:41:05 +02:00
biwa
efd19296bd Vertices Mode: fixed a potential crash when deleting/dissolving vertices 2023-05-07 22:38:33 +02:00
biwa
d66169f2cb Sectors Mode: fixed a regression where sector labels were not updated after editing sectors. Fixes #793 2023-05-07 15:58:38 +02:00
spherallic
c3d4363b94 Fix error that prevented dragging a single unselected map element 2023-05-07 15:57:04 +02:00
biwa
53ca8efc6a Fixed a regression where editing map elements did not preserve the selection order, but used the index order instead. Fixes #791 2023-05-07 14:53:28 +02:00
biwa
f3cb854bbd Things Mode: increased rendering speed 2023-05-07 14:52:45 +02:00
biwa
d138f29cda 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)
2023-05-07 14:48:13 +02:00
biwa
e91114ce5e Sectors Mode: fixed an potential crash when joining/merging sectors 2023-05-07 14:26:38 +02:00
biwa
710cb59719 Linedefs Mode, Sectors Mode, Vertices Mode, Sound Environment Mode, Sound Propagation Mode: slightly improved performance when moving the mouse 2023-05-07 14:24:39 +02:00
biwa
60a010efd1 Editing modes: fixed some crashes related to undoing/redoing while objects with associations were highlighted 2023-05-07 14:21:41 +02:00
spherallic
5c13cbb011 Implement polyobject previews, clean up zoom tube & NiGHTS rendering 2023-05-01 20:08:25 +02:00
MaxED
079614419a Silenced some compiler warnings... 2023-04-27 14:10:24 +02:00
biwa
fecb6aad8f Sectors Mode: fixed a crash when merging sectors while a shared linedef between them was shown as an association 2023-04-27 03:55:57 +02:00
spherallic
e18a1cbc83 Improved associations 2023-04-27 03:52:23 +02:00
Xabis
d642d7c00a * A direct tag-to-tag relationship can now be established between two things, which allows event lines to be properly setup between them. This is intended for interpolation and patrol specials which are linked via a shared tag, instead of an argument. A POSITIVE value represents the parent thing, where a NEGATIVE value represents the child thing.
* Added interpolation and patrol point specials to the persistent event line processing
2023-04-27 03:52:11 +02:00
spherallic
94887efa9a Add action for deselecting things, tweak other new actions 2023-04-27 02:23:27 +02:00
biwa
9191c30126 Fixed a crash when undoing/redoing while in Things Mode 2023-04-27 00:01:48 +02:00
spherallic
fc748c18c9 Rename SRB2Type back to Type 2023-04-26 17:17:28 +02:00
spherallic
8c4ac371fd Revert "Linedefs Mode, Sectors Mode, Vertices Mode, Sound Environment Mode, Sound Propagation Mode: slightly improved performance when moving the mouse" 2023-04-26 00:36:11 +02:00
spherallic
1f6dc46b07 Increment/decrement tag update 2023-04-25 23:57:03 +02:00
spherallic
e81270fa47 Add missing backside check to clear midtextures action 2023-04-25 01:12:06 +02:00
biwa
51fa48a160 Draw Grid Mode: fixed a crash that happened when having locking slices to grid enabled 2023-04-25 00:55:30 +02:00
spherallic
337d868c2f Update flavor text some more 2023-04-25 00:53:30 +02:00
biwa
672e5ba6f6 Linedefs Mode: fixed a problem where flipping a highlighted linedef would also select the linedef. Fixes #571 2023-04-25 00:48:44 +02:00
ZZYZX
af365fed73 Fixed: a single selected linedef was deselected after flipping it 2023-04-25 00:48:16 +02:00
biwa
6318a096df Linedefs Mode: fixed a problem where after splitting a linedef the insert vertex preview would not work correctly
Vertices Mode: fixed a problem where after inserting a vertext the insert vertex preview would not work correctly
2023-04-25 00:46:47 +02:00
biwa
541c754a78 Linedefs Mode: increased rendering speed 2023-04-25 00:46:22 +02:00
biwa
24c2b9896d Added option to reselect changed map elements after undo/redo 2023-04-25 00:43:09 +02:00
biwa
8d4bb17ccf Sectors Mode: fixed a problem where things were not selected correctly when synchronized thing edit was enabled 2023-04-25 00:30:16 +02:00
biwa
985dd54f99 Sectors Mode: tag and effect labels are now only updated when necessary, increasing performance 2023-04-25 00:28:15 +02:00
biwa
550683daab Sectors Mode: significantly increased rendering speed 2023-04-25 00:26:51 +02:00
biwa
5884ca770e Linedefs Mode, Sectors Mode, Vertices Mode, Sound Environment Mode, Sound Propagation Mode: slightly improved performance when moving the mouse 2023-04-25 00:24:54 +02:00
biwa
f097fec1a2 Sectors Mode: fixed a bug that could cause a crash when drag-selecting over areas that contained sectors after deleting those sectors 2023-04-25 00:22:34 +02:00
biwa
f4307a4c64 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 2023-04-24 23:57:52 +02:00
biwa
997c8ebef3 Fixed a crash that happened when entering Edit Selection Mode while performing the Edit action 2023-04-24 23:53:02 +02:00
spherallic
c76ff0aab9 Add "clear midtextures" action 2023-04-21 02:29:53 +02:00
spherallic
cdda06a85f Update some flavor text 2023-04-18 22:41:31 +02:00
spherallic
90b59fcebc Allow rotation actions in Edit Selection mode 2023-02-14 23:39:45 +01:00
spherallic
41d26c1d14 Some more fixes for angle loop handling 2023-02-14 14:28:49 +01:00
spherallic
e6cff92056 Fix possible error with resetting linedef actions/tags 2023-02-02 10:54:09 +01:00
MaxED
0d726c6884 Added, Draw Lines mode: added "Remove First Vertex" action (Ctrl-Backspace). It removes the first drawn vertex from the drawing session. Renamed "Remove Previous Vertex" action to "Remove Last Vertex".
Changed, Classic modes: added a limit on how far the view can be scrolled from the editable map area.
Fixed, Drag geometry modes: in some cases incorrect vertices were removed when using "Replace with dragged geometry" drag mode.
Fixed, Game configurations: sector special 195 ("Hidden Sector") was missing from Hexen/UDMF specials list.
2023-01-08 13:20:01 +01:00
spherallic
3f70ad23f1 Restore some thing-related functionality for SRB2 2023-01-08 13:05:33 +01:00
MaxED
79531796e6 Added, Game configurations, ZDoom: Ambient sound things (14001 - 14064) were missing arguments definitions.
Fixed, Make Sectors mode: in some cases sector shape detection logic returned incorrect shape, or no shape at all.
2023-01-06 14:37:51 +01:00
MaxED
7eafaa4d1a Added, Game configurations, ZDoom: added Line_SetBlocking (55) linedef action.
Fixed, Draw Rectangle mode: fixed a crash caused by incorrectly changing text labels array when accepting the drawing.
Fixed, "Check unknown ACS scripts" error check: named scripts check was performed incorrectly causing it to fail on script names containing uppercase letters.
2023-01-06 14:35:18 +01:00
MaxED
fe61fe3af8 Updated, Curve Linedefs mode: distance/angle are now changed using bigger increments when being modified by mouse-dragging. You can hold Shift to enable increments by 1 unit.
Updated, Curve Linedefs mode: changing angle by mouse-dragging when "Fixed circular curve" option is enabled is now performed in a more predictable way.
Updated, Curve Linedefs mode: generated geometry is now merged with existing geometry.
Added, Curve Linedefs mode: a hint label is now displayed when modifying settings using mouse-dragging.
Added, Curve Linedefs mode: number of curve vertices can now be changed using LMB+RMB-drag.
2023-01-06 14:27:21 +01:00
MaxED
52940badf6 Optimized map geometry merging performance when creating drawn lines.
Optimized map geometry merging performance when pasting map geometry.
Added, Curve Linedefs mode: added "Flip Curve" button.
Updater: partially rewrote fix from the previous commit.
2023-01-06 14:27:04 +01:00
MaxED
36169dc15f Changed, Curve Linedefs mode: re-designed the mode UI. Alternative control options are now available (check Help tab while the mode is active).
Changed, Curve Linedefs mode: changed curve generation logic. Setting Distance to 0 will now divide selected linedefs into equal parts.
Changed, Curve Linedefs mode: curve vertices are now drawn.
Updated ZDoom_DECORATE.cfg.
2023-01-06 14:16:03 +01:00