Commit graph

403 commits

Author SHA1 Message Date
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
a17ecae740 Curve Linedefs Mode: fixed a problem where it was impossible to flip fixed curves when the distance was set to 0. Fixes 487 2020-12-16 18:06:02 +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
c5054c5449 Fixed a problem where duplicating 3D floors sometimes changed the slopes of adjacent 3D floors 2020-11-21 22:38:16 +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
f040306c55 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
2020-11-06 20:14:00 +01:00
biwa
601d741b7e Vertices Mode: fixed a potential crash when deleting/dissolving vertices 2020-11-01 23:08:41 +01:00
biwa
41e6632b18 Sectors Mode: fixed an potential crash when joining/merging sectors 2020-11-01 21:29:57 +01:00
biwa
f4510aba3e Draw Geometry Modes: removed status messages expressing negative feeling when finishing a drawing and replaces them with positive messages 2020-11-01 18:49:15 +01:00
biwa
00d9be5266 Things Mode: increased rendering speed 2020-10-31 21:13:37 +01:00
biwa
7a5c7e5090 Linedefs Mode: increased rendering speed 2020-10-31 21:06:24 +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
a7791754c1 Draw Grid Mode: fixed a crash when locking sliced while using a rotated grid 2020-10-16 14:45:59 +02: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
63b3766ae2 Draw Geometry Modes: fixed an issue where drawing started lagging when holding Alt+Shift 2020-10-02 19:46:01 +02:00
biwa
7e5c407722 Edit Selection Mode: fixed a crash when resizing the selection to a line and then trying to pull it out again. Completely squashing to a line in not possible anymore 2020-08-22 21:36:23 +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
f432281ec0 Draw Ellipse Mode: fixed a rounding error that could result in wrong shapes under certain conditions 2020-06-16 10:42:28 +02:00
biwa
5618c2d665 Edit Selection Mode, Flat Align Mode: fixed a bug where snapping occurred to wrong positions on lines when the grid was transformed 2020-06-16 09:59:30 +02:00
biwa
4d28727b6d Draw Rectangle Mode, Draw Grid Mode: fixed a bug where the guidelines were show slightly off 2020-06-15 22:13:54 +02:00
biwa
93bba0ca71 Draw Grid Mode: guidelines are now shown correctly if the grid is transformed 2020-06-15 22:03:28 +02:00
biwa
e4a689fe8a Draw Geometry Mode: guidelines are now rotated if the grid is transformed 2020-06-15 21:57:59 +02:00
biwa
572864ba17 Draw Rectangle Mode: fixed a problem where the guidelines were not displayed correctly under certain conditions 2020-06-15 21:37:47 +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
4a693a5a5d Vertices Mode: the preview vertex is now correctly shown on intersections between the closest line and the transformed grid 2020-06-15 00:41:22 +02:00
biwa
d43c4e658c Draw Grid Mode: now works correctly with grid transformation 2020-06-15 00:05:04 +02:00
biwa
323a990144 Draw Rectangle Mode: now works correctly with grid transformation 2020-06-14 22:37:37 +02:00
biwa
57b184a9e6 Merged master into duplicate-3d-floors branch
Added some error handling to duplicating 3D floors
2020-06-13 17:00:12 +02:00
biwa
565f1f885b Changed how performing undo interacts with volatile modes (it will now actually perform the undo instead of just canceling the volatile mode) 2020-06-13 15:56:16 +02:00
biwa
14c65dae5b - Only allow Edit Selection Mode to be cancelled once
- Added preliminary code to remove new 3D floor control sectors when pasting was canceled after duplicating 3D floors
2020-06-13 15:35:20 +02:00
biwa
c43c000109 Draw Grid Mode: fixed a crash that happened when having locking slices to grid enabled 2020-06-13 00:30:58 +02:00
biwa
4fbcc11418 Added functionality to duplicate 3D floor control sectors of selected sectors and paste selected sectors with the new control sectors assigned 2020-06-13 00:24:24 +02:00
biwa
95dd6e284e Draw Grid Mode: number of slices less than 3 will now be remembered correctly
Draw Grid Mode: added option to to draw the slices relative to the origin of the drawing (so that you don't have to change the slice interpolation all the time)
2020-06-08 23:00:14 +02:00
biwa
e3e76c2b40 Edit Selection Mode: fixed a bug where the control sectors of sloped 3D floors were not updated correctly when one 3D floor was applied to multiple sectors 2020-05-30 17:32:17 +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
ab81b17554 More conversion from float to double. Doesn't seem to crash anymore. 2020-05-22 21:39:18 +02:00
biwa
91cbcde1eb It's compiling! 2020-05-21 14:20:02 +02:00
biwa
fb3c9e7168 Started conversion from float to double 2020-05-18 18:14:54 +02:00
biwa
66be0af555 Edit Selection Mode: flipping now works on plane equation slopes 2020-05-17 22:45:33 +02:00
biwa
a5a658cc57 Edit Selection Mode: rotating sectors with plane equation slopes now works correctly if the sectors are not rectangular 2020-05-17 15:01:21 +02:00
biwa
bccb1ace56 Some refactoring to remove convoluted code 2020-05-17 12:18:58 +02:00
biwa
caf7477d75 Edit Selection Mode: slopes of 3D floor control sectors are now properly updated when moving/rotating sectors (only when not pasting) 2020-05-17 11:48:58 +02:00
biwa
fd41361f6d Fixed an issue in Edit Selection Mode that could cause Out Of Memory exceptions with vertices that are slightly off grid in the 32 bit version 2020-05-16 13:22:33 +02:00
biwa
4fd976feb9 Using Edit Selection Mode on sectors with plane equation slopes works correctly now (flipping still doesn't work) 2020-05-16 12:26:16 +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