Commit graph

629 commits

Author SHA1 Message Date
biwa
87c30c0bf8 MapSet.NearestLinedefRange using a blockmap now takes into account that the maxrange could be bigger than the blockmap block size 2023-04-26 23:48:01 +02:00
ZZYZX
27be4b6868 Internal: Oops: removed debug logging 2023-04-26 23:18:24 +02:00
biwa
8648227423 Fixed some problems with determining which sector a thing is in 2023-04-26 22:49:01 +02:00
spherallic
3a4695ba92 Remove unused SectorBuilder stuff 2023-04-26 21:27:03 +02:00
spherallic
6d97c9d830 Increase performance on drawing/stitching geometry by reducing blockmap operations 2023-04-26 21:23:08 +02:00
spherallic
444aa706fb Revert "MapSet.NearestLinedefRange using a blockmap now takes into account that the maxrange could be bigger than the blockmap block size"
This reverts commit 0eee76393b.
2023-04-26 18:01:45 +02:00
biwa
c27bf325ad Added safeguard to MapSet.NearestLinedefRange if selectionmap is null. Might fix #529. 2023-04-26 17:55:15 +02:00
biwa
0eee76393b MapSet.NearestLinedefRange using a blockmap now takes into account that the maxrange could be bigger than the blockmap block size 2023-04-26 17:54:56 +02:00
Magnus Norddahl
b0b1693a62 Rewrite VisualBlockMap to use a quad tree 2023-04-26 17:54:34 +02:00
ZZYZX
12ea1aa313 Fixed: SplitLinesByVertices could leave disposed lines for iteration, which resulted in crashes on certain geometry while using 'Replace with Dragged Geometry'. 2023-04-26 17:44:17 +02:00
ZZYZX
03a1d26302 Internal: threw out a lot of unoptimized code in TraceSector. Now using Tools.FindPotentialSectorAt. 2023-04-26 17:39:11 +02:00
spherallic
582f457d76 Tweak image export settings 2023-04-26 17:33:52 +02:00
spherallic
fc748c18c9 Rename SRB2Type back to Type 2023-04-26 17:17:28 +02:00
spherallic
ee37a21720 Merge branch 'imagexport' 2023-04-26 17:16:54 +02:00
biwa
b48806838d Fixed an issue where thing positions were modified even when the new position was the same as the old one. Fixes #644 2023-04-26 17:14:03 +02:00
biwa
e65cc32991 Export selection to image: added progress bar and button to cancel export 2023-04-26 14:02:49 +02:00
biwa
a4bc90c754 Export selection to image: added option to scale the output image to a higher resolution 2023-04-26 13:57:50 +02:00
biwa
fdbb6c35c5 Image exporter: added options to use sector brightness for the export, create brightmaps (based on sector brightness), and split the image into 64x64 tiles 2023-04-26 13:53:05 +02:00
biwa
dcaf0a525d Added feature to export the selected sectors as an image 2023-04-26 13:46:20 +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
7e488497ef Backport TextLabel optimizations 2023-04-25 16:45:52 +02:00
spherallic
b54d7a48cc Replace most big foreach loops by for loops in MapSet 2023-04-25 16:09:29 +02:00
spherallic
e3752e8601 Optimize info panels 2023-04-25 15:51:06 +02:00
spherallic
d890452fe2 Update logo 2023-04-25 15:43:11 +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
913c857d4c Update IWAD text 2023-04-25 00:54:15 +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
spherallic
cc427694b7 forgot to stage 2023-04-25 00:44:49 +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
71fd3df676 Resource options form: fixed a problem where the text box containing the path to the file could be focused. (backport from UDB) 2023-04-24 23:46:18 +02:00
ZZYZX
ac1bb31b60 Changed Resource directory browser to use Win7 folder dialog, not Win9x one (reported by dpJudas) 2023-04-24 00:32:09 +02:00
ZZYZX
e4f3f50545 Maintenance: added missing FolderSelectDialog.cs 2023-04-23 23:59:59 +02:00
spherallic
a47e529dbe Tweak exception lines 2023-04-23 23:59:42 +02:00
spherallic
dde06fa12c Add unique launcher parameters for resource archives vs. directories to support -folder 2023-04-23 23:48:44 +02:00
spherallic
f8c313abaa Add action for removing FOF planes from Visual Mode selection 2023-04-21 22:11:57 +02:00
spherallic
c76ff0aab9 Add "clear midtextures" action 2023-04-21 02:29:53 +02:00
spherallic
8c12299583 Revert "Fix geometry constantly being rebuilt in some situations"
This reverts commit 4f4f074c3f.
2023-04-20 12:26:53 +02:00
spherallic
a74ce69297 Update some internal graphics 2023-04-19 20:49:18 +02:00
spherallic
019f419781 Fix updated ZB logo being cut off 2023-04-19 12:25:07 +02:00
spherallic
5d4f82ad1f Some flavor text edits 2023-04-19 01:00:54 +02:00
spherallic
4248e51363 Update logo & crash image 2023-04-19 00:59:36 +02:00
spherallic
d8d6752ec5 Remove old DB2 icon 2023-04-18 22:54:03 +02:00
spherallic
cdda06a85f Update some flavor text 2023-04-18 22:41:31 +02:00
biwa
6f7b24291d Visual Mode: fixed a problem where pasting a texture to a 3D floor sometimes didn't show the pasted texture immediately 2023-04-18 01:18:52 +02:00
biwa
b31dec526c - Fixed a crash when undoing 3D floor plugin actions while being in visual mode. Fixes #309. 2023-04-18 01:14:53 +02:00
Magnus Norddahl
4f4f074c3f Fix geometry constantly being rebuilt in some situations 2023-04-18 01:11:09 +02:00
biwa
35da8fee2c Fixed an issue where selected objects were unnecessarily cleared in visual mode, resulting in slowdowns. Partly addresses #337. 2023-04-18 00:57:38 +02:00
biwa
330ab8d367 - Auto-aligning textures now produces more intuitive results and is consistent between UDMF and non-UDMF maps 2023-04-18 00:53:08 +02:00
ZZYZX
1b552471e0 Fixed collection modification inside foreach. (reported by Lud) 2023-04-18 00:50:59 +02:00
ZZYZX
2953dc8715 Fixed: BaseVisualMode object was used before fully initialized (reported by Martix10) 2023-04-18 00:48:57 +02:00
ZZYZX
2eb454ae07 Fixed: removing a thing should also remove it from the visible things list. (reported by DOOMGABR) 2023-04-18 00:48:10 +02:00
ZZYZX
505865d135 Fixed: cutting a thing in visual mode would leave disposed BaseVisualThings in the selection. (reported by DOOMGABR) 2023-04-18 00:47:10 +02:00
spherallic
b8618f1821 Change how selecting sector effects works (no repeated addition) 2023-04-11 12:14:50 +02:00
spherallic
eb8b86ac85 Add usage hints to lower/middle/upper-specific sidedef texture search 2023-04-11 11:52:23 +02:00
spherallic
7c05fa7787 Prevent thing flags window (when finding) from being too small 2023-04-11 11:47:29 +02:00
biwa
5aa089590b Effect browser form: fixed a bug where effects consisting of multiple bits were not selected correctly. Fixes #589 2023-04-05 01:16:47 +02:00
biwa
aa9bb84f3f - Fixed a bug where searching for generalized sector effects was not handled properly in Find & Replace Mode. Fixes 305. 2023-04-05 01:13:44 +02:00
MaxED
83c63bc5c7 Fixed, Find & Replace mode: fixed a bug when "Find Sector Effect" search mode returned all map sectors when the effect to find was not generalized.
Updated ZDoom_DECORATE.cfg.
2023-04-05 01:13:31 +02:00
MaxED
97dcfb0275 Added, Automap mode: added "Show hidden lines" top menu button.
Added, Automap mode: added "Show secrets" top menu button.
Added, Automap mode: added "Color preset" top menu drop-down.
2023-04-05 01:12:02 +02:00
spherallic
7243994446 Prevent config window from crashing with directory loaded 2023-04-03 21:46:51 +02:00
spherallic
505bad3943 Update MF_ flags 2023-03-28 20:02:50 +02:00
spherallic
0293c455f6 Don't error out of Lua parsing when mobjinfo[] isn't a object definition 2023-03-22 20:33:26 +01:00
spherallic
9afe69ffef Paste Properties window: highlight OK by default instead of Cancel 2023-03-22 20:31:46 +01:00
spherallic
e65108a177 Open PK3 archives as read-only 2023-02-16 17:34:31 +01:00
spherallic
448f85d7ad Make linedef angles match SRB2 again 2023-02-16 01:22:54 +01: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
e3b2c25fb0 Fix copy-paste typo 2023-02-08 21:48:06 +01:00
biwa
71e44108a0 Fixed nonsensical values being returned when using +++/--- in many fields. 2023-02-07 20:01:00 +01:00
biwa
33d55dce7b Using --- and +++ now also works correctly for the height offset in the edit sector properties dialog 2023-02-06 20:56:29 +01:00
spherallic
ccbd5c85ff Don't disable dynamic grid when changing the grid manually 2023-02-06 20:30:24 +01:00
spherallic
4321beca2d Fixed "fixed things scale" option behaving weirdly 2023-02-06 11:08:00 +01:00
spherallic
398bd9fee7 Fix dynamic grid toggle on the toolbar being broken 2023-02-05 20:11:49 +01:00
spherallic
5b1ceb8941 small fixes 2023-02-02 12:20:21 +01:00
MaxED
8f74ff048e Fixed: added some additional boilerplate to FileLockChecker.CheckFile. 2023-02-02 12:20:09 +01:00
spherallic
e6cff92056 Fix possible error with resetting linedef actions/tags 2023-02-02 10:54:09 +01:00
spherallic
3a2f959a6b Disable sector increment warning 2023-01-09 16:30:21 +01:00
spherallic
667c15b59a Fix inconsistencies in Preferences forms 2023-01-09 15:31:09 +01:00
MaxED
022b0474af Fixed inability to disable bilinear filtering in Visual mode some users experienced.
Fixed occasional TreeView flickering in Edit Things window, Browse Action window and Tag Explorer panel.
Updated Thing category icons in the Edit Things window. They now have "opened" and "closed" states.
Internal: added BufferedTreeView to the core controls.
Updated ZDoom game configurations (sector crush mode).
Updated ZDoom ACC.
2023-01-09 12:41:11 +01:00
spherallic
bad5ccfc91 Restore TestSkin & TestGametype for new engines 2023-01-09 11:08:29 +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
MaxED
264ae55a03 Fixed, Tag Explorer: in some cases Tag Explorer update logic was switching focus from the Script Editor to the main window. 2023-01-08 13:15:59 +01:00
spherallic
5fd95f703d Fixed: in some cases the editor could stuck in an infinite loop when searching for wad lumps. 2023-01-08 13:14:41 +01:00
spherallic
4222e06c71 Fixed: 3d floor indicators in 2D modes were not updated after leaving Visual mode. 2023-01-08 13:11:33 +01:00
spherallic
3f70ad23f1 Restore some thing-related functionality for SRB2 2023-01-08 13:05:33 +01:00
MaxED
2cda8bd933 Fixed: window size and location was not saved when closing a maximized or minimized window. 2023-01-06 14:38:08 +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
66fb6c39b7 Fixed map lumps duplication when saving the map several times after converting the map from/to UDMF map format by changing it in the Map Options window.
Fixed, cosmetic: in some cases incorrect resource loading time was displayed after saving the map.
2023-01-06 14:30:03 +01:00
MaxED
c930ba17c2 Restored the ability to paste map elements copied in DB2/DB64. 2023-01-06 14:29:22 +01:00
MaxED
05bfa851c4 Changed, Sector drawing: sector height is set to 0 when the nearest sector's height is < 0 (previously default sector height was used when the nearest sector's height was <= 0). 2023-01-06 14:29:03 +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
spherallic
c56f6137ec resource bullshit 2023-01-06 14:24:09 +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
MaxED
62835e28fb Updated: sector triangulation logic now works ~50% faster than DB2 implementation. 2023-01-06 14:02:55 +01:00
MaxED
41ae6b3c55 Added, Game configurations: added "ignoreddirectories" parameter. It lists directory names to be ignored when loading PK3/PK7/Directory resources.
Added, Game configurations: added "ignoredextensions" parameter. It lists file extensions to be ignored when loading PK3/PK7/Directory resources.
Updated: sector triangulation logic now works ~20% faster.
Changed: a case when a pk3/pk7 archive contains several entries with identical filename is now treated as a warning, not as an error.
Fixed, Visual mode: absolute floor/ceiling brightness should not be affected by brightness transfer effects (like 3d floors).
Fixed, Draw Lines mode: in some cases unclosed sectors were created when several points were successively drawn at the same location.
Updated documentation.
2023-01-06 14:02:41 +01:00
MaxED
50a547a570 Added: some numeric text inputs now support expressions (e.g. (23+15)*1.5). - inspired by https://www.doomworld.com/vb/doom-editing/91089-gzdoombuilder-patch-expression-evaluation-for-sector-heights/
Fixed, Game Configurations window: fixed a crash when switching to a game engine without the file path using the "Engine" drop-down.
2023-01-06 13:47:19 +01:00
MaxED
924c10968b Updated, Visual mode: updated FLATSPRITE support to match the current GZDoom implementation.
Fixed, Visual mode: things in sectors affected by line slope effect were not updated when sector height was indirectly changed.
Game configurations: added "internalsoundnames" property.
Updated documentation ("Game Configuration - Basic Settings" page).
2023-01-06 13:37:41 +01:00
MaxED
66f4b43184 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. 2023-01-06 13:35:19 +01:00
MaxED
ce91d27ad2 Added: guidelines color is now configurable.
Added: guidelines can now be enabled in Draw Rectangle/Ellipse/Grid modes.
Changed, Draw Lines mode: perpendicular guidelines are now drawn for horizontal/vertical lines.
Updated, Draw Ellipse mode: the shape now always touches all sides of the bounding box.
Updated ZDoom_ACS.cfg.
Updated ZDoom_DECORATE.cfg.
Updated ZDoom ACC.
2023-01-06 13:34:54 +01:00
MaxED
b02175a779 Changed, Visplane Explorer mode: calculated data is now fully reset when toggling "Open doors" option.
Changed, Visplane Explorer mode: vpo.dll is now initialized when entering the mode instead of after opening a map.
Fixed inconsistent Hexen Puzzle Gears names between game configuration and spawn numbers list.
Updated ZDoom_DECORATE.cfg (GetMissileDamage).
2023-01-06 13:22:15 +01:00
MaxED
838b1dc702 Fixed, Linedefs mode: linedef selection labels must be updated when performing undo/redo.
Fixed, Things mode: thing selection labels must be updated when performing undo/redo.
Fixed another case of invalid sectors being created after dragging map elements when using "Merge Dragged Geometry" and "Replace with Dragged Geometry" drag modes.
2023-01-06 13:20:48 +01:00
MaxED
c334888621 Fixed: some stored window settings were incorrectly restored from the program configuration. 2023-01-06 13:17:36 +01:00
MaxED
c919c250f7 Fixed: in some cases lines with only back side were created after dragging map elements when using "Merge Dragger Vertices Only" drag mode.
Fixed: in some cases invalid sectors were created after dragging map elements when using "Merge Dragged Geometry" and "Replace with Dragged Geometry" drag modes, when at least one of dragged linedef was facing into an enclosed void area.
Fixed a crash after drawing lines over a sector with unclosed/invalid boundaries.
Fixed(?): probably fixed a crash when closing Script Editor with an unsaved file during program termination.
2023-01-06 13:16:59 +01:00
MaxED
246f947cba Changed: position/size/state of the editor windows are now stored/applied in a uniform fashion.
Fixed: stored windows positions were not checked against current screen bounds, which may have resulted in windows being shown off-screen.
2023-01-06 13:15:26 +01:00
MaxED
8874166a34 Fixed: angle clamping logic was partially broken. 2023-01-06 12:59:54 +01:00
spherallic
147b5d8d87 FIXES 2023-01-06 12:58:27 +01:00
MaxED
17abdf5186 Added Rendering toolbar items to the View menu.
Merged "Toggle models, dynamic lights and fog rendering" and "Toggle Geometry Effects" actions into "Toggle Enhanced Rendering Effects" action.
Removed "Dynamic light size" and "Dynamic light intensity" settings.
Updated documentation ("Rendering toolbar" page).
2023-01-06 12:50:52 +01:00
MaxED
10450bacd7 Fixed, Visual mode: in some cases mouse cursor movement was not clipped to the render area when focusing the editor after Alt-Tabbing from the Visual mode.
Addressed, Line drawing: in some cases extra vertices were created when drawing lines on top of nearly parallel non-cardinal lines.
2023-01-06 12:36:20 +01:00
MaxED
960db60973 Updated, Visual mode, UDMF: "Change Texture Scale" actions now take camera and texture angles into account when used on floors/ceilings.
Changed: "+++" and "---" prefixes are now incremented on the first step instead of the second when used in any numeric inputs, which support prefixes, except action arguments.
Fixed, Visual mode, UDMF: texture offset/scale/rotation changes were applied several times when used on several 3d-floor floors/ceilings linked to the same control sector, when using "Move Texture Offsets" / "Change Texture Scale" / "Rotate Texture CW/CCW" actions.
Updated ZDoom ACC (DamageActor).
Updated ZDoom_ACS.cfg (DamageActor).
2023-01-06 12:35:33 +01:00
MaxED
d1d0e93cef Fixed several cases when certain texture manipulation-related actions caused a crash when performed on not-yet-loaded textures. 2023-01-06 12:26:20 +01:00
MaxED
9af958312b Fixed, Randomize things mode: fixed a crash when trying to move things, which were initially outside of sector boundary when using Hexen or UDMF map format. 2023-01-06 12:13:33 +01:00
MaxED
202014f62f Added, action argument inputs: added "<" and ">" prefixes. These decrement/increment given value by selected map element number.
Changed, action argument inputs: "+++" and "---" prefixes now do the same thing as they do in other numeric controls (e.g. add/subtract given value multiplied by selected map element number to/from initial value).
Changed, action argument inputs: changed value colors, added tooltips.
2023-01-06 12:13:11 +01:00
MaxED
7435d4bd5b Added: action argument inputs now support incremental increase/decrease prefixes (+++ and ---).
Probably fixed probable I/O race condition when loading images.
Fixed Visual mode stuttering due to floating point precision degradation when running the editor for several days without restarting (internal timer is now reset when saving the map or creating a new one).
Fixed, Nodes Viewer, cosmetic: Nodes Viewer window position was reset after pressing the "Rebuild Nodes" button.
Added Eternity Game configurations by printz.
Updated ZDoom_ACS.cfg (CheckClass).
Updated ZDoom ACC (CheckClass).
2023-01-06 12:11:22 +01:00
MaxED
d1194019db Fixed: in some cases dragging lines shorter than 1 mu or vertices belonging to such lines resulted in an infinite loop. 2023-01-06 12:04:40 +01:00
MaxED
9d5abaf14f Fixed, map element dragging: in some cases sector properties copied from incorrect sectors were assigned to new sectors when using "Merge Dragged Geometry" mode. 2023-01-06 12:04:12 +01:00
spherallic
ead65ebd93 hashset effectsectors 2023-01-06 12:01:43 +01:00
MaxED
1050f80c52 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.
2023-01-06 12:00:56 +01:00
MaxED
f8fb7eb057 Fixed, Visual mode: "Transfer Floor/Ceiling Brightness" actions were resetting sector color on target surfaces.
Updated ZDoom_DECORATE.cfg.
2023-01-06 11:53:57 +01:00
MaxED
c170856409 Changed: optimized generated voxel mesh size. Pro: they occupy ~50% less memory. Con: voxel loading takes ~30% more time.
Changed, Browse Textures window: several textures with the same name were displayed in "All" texture set when overriding WAD textures by Folder/PK3 textures.
2023-01-06 11:53:11 +01:00
MaxED
79c2da1ced Fixed: voxels were incorrectly loaded from WADs.
Fixed, Draw Geometry modes: fixed a crash when moving the mouse cursor over a vertex while holding Alt-Shift keys when there were no new points drawn in current mode.
2023-01-06 11:48:21 +01:00
MaxED
64c93749a0 Fixed a crash when using "Open map in current WAD" action in Visual mode. 2023-01-06 11:44:14 +01:00
MaxED
5a6e62aa4f Added, Visual mode: added support for ROLLCENTER sprite rendering flag, updated ROLLSPRITE implementation.
Fixed, DECORATE support: the editor was unable to determine actor sprite when the actor itself had no sprites defined and the actor it inherited from was only defined in the game configuration.
Fixed, Drag geometry modes: linedefs without both sides were removed after dragging them when "Replace with Dragged Geometry" mode was active.
Updated ZDoom_DECORATE.cfg.
2023-01-06 11:43:26 +01:00
MaxED
dc054f767b On second thought, previous fix should be applied more selectively. 2023-01-06 11:41:31 +01:00
MaxED
a78c700225 Fixed, Edit Selection mode, DB2 bug: in some cases "Flip Selection Horizontally" / "Flip Selection Vertically" actions were incorrectly flipping linedefs, resulting in broken sector geometry. 2023-01-06 11:41:04 +01:00
MaxED
6a660c7d45 Fixed several cases when sector/linedef tag changes were incorrectly recorded by undo system. 2023-01-06 11:40:36 +01:00
MaxED
972d55f066 Added, Find & Replace mode, UDMF: added Linedef activation flags to the "Find Linedef flags" search mode flags list.
Changed, Sound Propagation mode: all sound zones are now shown when no sector is highlighted.
Changed, Sound Environments mode: the mode is now available only in UDMF map format.
Changed, Color Picker plugin: the plugin functionality is no longer available in Doom map format.
Restored the ability to create superimposed lines by dragging them with "Snap to Geometry" mode disabled.
Fixed, Sound Propagation mode: fixed a crash when a single-sided linedef had "Block Sound" flag.
Fixed, Find & Replace mode: in some cases "Find Sector/Sidedef/Linedef/Thing flags" search modes failed to find map elements with required flags.
Fixed, Edit Selection mode: in some cases incorrect geometry was created after applying multipart sector edit when "Replace with Dragged Geometry" mode was enabled.
Fixed a crash caused by eventual GDI font objects overflow.
2023-01-05 00:51:21 +01:00
MaxED
b2a14c59f8 Fixed, DB2 bug: temporary map file was growing in size after every map save/test, which eventually resulted in integer overflow exception when the file size reached ~2Gb.
Fixed, Draw Geometry modes: fixed a crash when moving the mouse cursor over a linedef while holding Alt-Shift keys when there were no new points drawn in current mode.
2023-01-05 00:49:17 +01:00
MaxED
6651a14bc6 Changed: single-sided linedefs with only back sidedef present are now automatically flipped when loading a map.
Changed, "Flip Linedefs" action: the action will no longer flip single-sided linedefs with only front side.
Fixed a crash when trying to determine sprite angles when images with non-sprite names, starting with expected characters, were present in the Sprites namespace.
2023-01-05 00:44:34 +01:00
MaxED
61d3a49dcc Reverted some older changes to Linedef.Join(), which were made for older version of "enhanced" map element merging logic and in some cases were causing incorrect geometry to be created when using current merging logic. 2023-01-05 00:42:00 +01:00
MaxED
945553e527 Changed: "Selection Options" window is now resized automatically.
Fixed: parts of UniFileds.UniValuesMatch() logic were inverted. In some cases this resulted in incorrect behavior of "Select Similar" action in UDMF map format.
Fixed, UDMF: alpha should be ignored when applying sector fade/light color gradients.
Ported eevee's fix for incorrect sector geometry occasionally created after dragging map elements (more info: https://github.com/sirjuddington/SLADE/issues/542).
2023-01-05 00:36:05 +01:00
MaxED
18517b2257 Changed, Visual mode: "Paste Selection" action (Ctrl-V) can now paste both copied textures and things, based on what was copied last.
Changed, Map Analysis mode: the view is now much more zoomed after clocking on a "Check very short linedefs" error check result.
Removed single testing engine launchable by the editor at once limitation (it worked properly only when using Test map actions anyway).
Fixed: re-did the fix for invalid geometry created when drawing very large grids from R2653, because it caused other issues.
2023-01-05 00:34:35 +01:00
MaxED
d301042f42 Changed: "Unable to save the map: there are too many unique sidedefs!" error message now displays info about sidedefs counts before and after sidedef compression.
Fixed, Draw Grid mode: in some cases invalid geometry was created when drawing very large grids.
Fixed, Things mode, "Rotate Clockwise" action: fixed inability to change thing angle from 0 to 315 when "doomthingrotationangles" Game Configuration property was set to true.
Updated ZDoom_DECORATE.cfg.
2023-01-05 00:30:34 +01:00
MaxED
0825e86c4b Added, UDMF: Lock number is now displayed in Linedef info panel.
Fixed, Edit Linedefs / Edit Things windows: ACS script number/name was applied only when the form was accepted while displaying a tab with Action controls.
2023-01-05 00:29:33 +01:00
MaxED
98e5c5b9b4 Fixed, "Select Similar" action: in some cases map elements flags were incorrectly compared resulting in map elements not being selected when they should have been. 2023-01-05 00:28:19 +01:00
MaxED
e34fe0d32f Added "Split Joined Sectors" Edit menu item and toolbar button. When enabled, joined sectors adjacent to drawn lines will be split.
Added "doomthingrotationangles" Game Configuration property. When enabled, editor actions related to changing thing angle will snap the resulting angle to 45 degree increments. This property is set to true for vanilla game configurations.
Fixed a crash when changing game configuration from one without Thing actions support to one with them while in Things mode.
Fixed, cosmetic, DB2 bug: current editing mode button was deselected after reloading resources.
Updated documentation ("Game Configuration - Basic Settings" page).
2023-01-05 00:27:03 +01:00