Commit graph

373 commits

Author SHA1 Message Date
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
biwa
c0bdae79b8 Fixed a crash that happened when entering Edit Selection Mode while performing the Edit action 2020-04-30 20:22:26 +02:00
biwa
f4e9556262 Significantly reduced video memory usage when pasting sectors. Should also significantly increase speed when pasting many sectors. Fixes #400. 2020-04-19 11:58:55 +02:00
biwa
b83467148b Fixed a crash in Edit Selection Mode when visual sloping was previously used to make the slope of a sector perfectly planar 2020-04-11 10:51:25 +02:00
biwa
138c96bb13 Moved smart grid transform into Linedefs Mode and Vertices Mode, so it also works when simply highlighting a linedef or vertex. When doing smart grid transform on a linedef it'll also use the vertex closest to the mouse cursor as the origin instead of always the start vertex 2020-04-11 10:42:41 +02:00
biwa
a373421abd Copy'n'paste should now work correctly with plane equation slopes 2020-04-04 22:02:13 +02:00
biwa
c34b6e310a Rotating sectors with plane equation slopes in Edit Selection Mode works properly now 2020-03-14 20:06:30 +01:00
mykola-ambar
c6b879bb1a Fix sector offset transformation in Edit Selection mode (PR#274 by mykola-ambar) 2019-09-20 21:49:30 +03:00
biwa
e799d882a9 Fixed a crash when manually modifying a sidedef's sector index to a sector with a tag 2019-09-17 20:22:51 +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
biwa
22df516e11 - Fixed a bug where moving the mouse outside the window could crash when pasting a selection while having auto dragging enabled. Fixes #110. 2019-04-20 16:55:20 +02:00
volte
a1d28e1e56 Grid rotation and alignment functionality (PR#252 by Volte) 2019-01-14 20:07:08 +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
ZZYZX
febc91ad3d Fixed (?) esoteric plugin issue 2017-07-25 20:16:15 +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
748fe9e2e5 Fixed: inheritance from game configuration for dynamic lights; Fixed: visual representation of inherited lights (reported by Nash); Fixed: inherited thing arguments from game configuration; Added: //$ClearArgs for clearing inherited arguments. 2017-03-02 00:21:08 +02:00
Xabis
a886a53e75 * 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
2017-02-14 12:33:50 -05:00
ZZYZX
bffb499ffb Fixed: removed useless rounding to 1px in Draw Curve, Draw Ellipse, Draw Rectangle, Draw Grid tools; this performed incorrectly with grid sizes less than 1px 2017-02-12 18:35:11 +02:00
ZZYZX
ebd7fb1a57 Upgrade to VS2015 (14.0) 2017-01-15 00:35:40 +02:00
m-x-d
2b24ce3c25 Updated, Textures Browser: texture name length is now taken into account when calculating the width of texture items.
Internal: moved thing helper shapes creation logic from ThingsMode to LinksCollector.
2017-01-09 01:04:55 +03:00
MaxED
1c684f7213 Added, Things mode, Visual mode: added the ability to specify minimum/maximum argument range hint shapes using special DECORATE comments and Game Configuration properties (loosely based on range finder patch by Xabis).
Updated documentation ("Game Configuration - Action Argument Settings" and "DECORATE keys" pages).
2017-01-06 15:59:41 +03:00
MaxED
cd854779e8 Fixed, Classic modes, UDMF: grid size didn't go below 1 mu. when zooming in when "Dynamic grid size" option was enabled.
Internal: restored GridSetup DB2 compatibility.
Updated ZDoom_ACS.cfg (SetFogDensity, SetSectorGlow).
2017-01-06 13:01:59 +03:00
MaxED
be7ba0a05d Added: minimum grid size is now 0.125 instead of 1. 2016-12-27 16:59:20 +03:00
MaxED
d73ea867a4 Fixed, Script Editor: MD5 hash of text files stored in PK3 was calculated incorrectly, resulting in false warning messages when saving. 2016-12-22 00:03:58 +00:00
MaxED
cfc92d9075 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.
2016-12-16 21:23:37 +00: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
21cab1d134 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.
2016-11-21 13:03:19 +00:00
MaxED
0cc5374295 Fixed, Things mode: fixed a crash when deleting Light/Ambient Sound things when "Show Dynamic Light Radii" / "Show Ambient Sound Radii" settings were enabled.
Fixed: WAD lump index was not appended to lump name when reporting errors during ZDoom text lumps parsing.
2016-11-19 20:43:42 +00:00
MaxED
c0b46bc6a5 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.
2016-11-18 17:34:49 +00:00
MaxED
e776952433 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.
2016-11-01 20:44:40 +00:00
MaxED
9534a20eb3 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.
2016-10-31 18:52:29 +00:00