Commit graph

314 commits

Author SHA1 Message Date
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
eb8b86ac85 Add usage hints to lower/middle/upper-specific sidedef texture search 2023-04-11 11:52:23 +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
9afe69ffef Paste Properties window: highlight OK by default instead of Cancel 2023-03-22 20:31:46 +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
spherallic
e6cff92056 Fix possible error with resetting linedef actions/tags 2023-02-02 10:54:09 +01:00
spherallic
667c15b59a Fix inconsistencies in Preferences forms 2023-01-09 15:31: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
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
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
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
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
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
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
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
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
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
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
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
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
MaxED
95985a8894 Added, Visual mode: added "Toggle Alpha-based Texture Highlighting" action. When enabled, 3d floor textures and middle textures on double-sided lines will be highlighted only when the crosshair points at a non-transparent pixel.
Changed: multi-part sectors are now better preserved after drawing new lines.
Changed, TEXTURES parser: patch loading errors are now ignored for textures with "NullTexture" option.
Changed, Game configurations: changed default door action arguments to better match vanilla ones.
Fixed, Actions: in some cases keyboard shortcuts involving Ctrl/Alt/Shift modifier keys were displayed incorrectly.
Fixed(?): probably fixed inability to save map wad in Slade 3.
Updated ZDoom_ACS.cfg.
Updated ZDoom_DECORATE.cfg.
Updated ZDoom ACC.
2023-01-05 00:15:28 +01:00
MaxED
93971a78ca Added, Find and Replace mode: you can now search (and replace) unset sidedef/linedef/thing/sector flags.
Changed, TEXTURES parser: patch loading errors are now treated as warnings for optional textures.
Changed, TEXTURES parser: patch loading is now skipped for textures with "NullTexture" option.
2023-01-05 00:08:50 +01:00
spherallic
872b72a98a fix editing tab 2023-01-05 00:06:55 +01:00
MaxED
281d12ece4 Added Preferences -> Editing -> "Switch view modes when switching to the same Classic Mode" option (disabled by default). When enabled, view mode will be switched between "view floor textures" and "view ceiling textures" when activating the same 2D mode repeatedly. 2023-01-05 00:02:15 +01:00
MaxED
47aeedc6e0 Changed, Classic modes: displayed mouse map position coordinates are now snapped to current grid size.
Updated model pitch handling to match current GZDoom implementation.
Fixed imprecise vertex coordinates generated by Draw Ellipse mode.
Fixed a resource loading exception when opened map file wad was located in the root of a Directory resource.
Internal: changed output of all InterpolationTools methods from int to float.
Fixed, Internal: InterpolationTools.InterpolateColor() delta usage was inverted.
2023-01-04 23:43:14 +01:00
MaxED
cdfe94bfa4 Added 3 map geometry dragging modes (used when applying Drag Vertices/Linedefs/Sectors modes and Edit Selection mode):
- "Merge Dragged Vertices Only". Only vertex-line intersections will be processed (DB2 mode).
- "Merge Dragged Geometry". Geometry merging will be performed.
- "Replace with Dragged Geometry". Dragged geometry will replace underlaying geometry.
You can switch between these using 3 new actions, top toolbar buttons and Edit menu buttons.
Changed: activating the same 2D mode repeatedly now toggles View modes.
Renamed "Merge Geometry" action/menu item to "Snap to Geometry".
More fixes to vertex/linedef/sector dragging logic.
Updated ZDoom_DECORATE.cfg.
2023-01-04 23:34:58 +01:00
MaxED
e69163a646 Rewritten vertex/linedef/sector dragging logic. Now it processes line-line intersections. And handles more corner cases. And has less bugs. Probably.
Fixed, Edit Selection mode: texture scale was flipped when "Floor/Ceiling Transform" -> "Scale" was enabled.
Changed: a warning is no longer displayed when trying to compile an empty SCRIPTS lump.
Updated ZDoom_DECORATE.cfg.
2023-01-04 23:20:40 +01:00
MaxED
d45e71ce21 Fixed, Script Editor: in some cases the editor was unable to restore saved script file settings.
Fixed, Drag Linedefs, Drag Vertices, Edit Selection modes: in some cases sidedefs were incorrectly removed when modifying a closed section of a multi-part sector.
Fixed, Drag Linedefs, Drag Vertices, Drag Sectors, Edit Selection modes: in some cases sidedef textures were not adjusted after applying the modes, leaving middle textures on double-sided lines.
2023-01-04 23:11:19 +01:00
MaxED
31a9efb7a7 Fixed, Edit Selection mode: "Adjust Height" drop-down was accidentally disabled in non-UDMF maps. 2023-01-04 23:07:58 +01:00
MaxED
6e5a0b61d0 Added, Edit Selection mode: Added "Adjust height" setting. It can be used to adjust floor/ceiling height of selected sectors based on the sector selection was in and the sector selection was moved into.
Removed "Adjust heights to match relatively with surrounding sector" option from Preferences -> Pasting, because sector height adjustments are now handled by Edit Selection mode.
Fixed, Sector info panel: in some cases 0 deg. floor/ceiling texture rotation was triggering texture offset/scale/rotation UI parts to be shown.
Fixed even more cases when sidedefs belonging to linedefs, which were moved on top of existing linedefs, were incorrectly reassigned when applying Edit Selection and Drag Geometry modes.
Fixed, Bridge mode: in some cases calculated floor/ceiling heights were not applied to the sectors created by the mode.
Changed, internal: changed program's CurrentCulture to InvariantCulture.
2023-01-04 23:07:04 +01:00
MaxED
b6afbec977 Changed, internal, UDMF: local texture offsets and scale are now copied when merging sidedefs.
Changed, internal: made TextLabel and IRenderer2D public properties compatible with DB2 implementation.
Fixed some more cases when sidedefs belonging to linedefs, which were moved on top of existing linedefs, were incorrectly reassigned when applying Edit Selection and Drag Geometry modes.
Fixed, Map Analysis mode: error checks must be updated after switching map format.
2023-01-04 23:03:22 +01:00
MaxED
154ceb0eb7 Added "safeboundary" game configuration property. The value determines the maximum map bounding box size considered to be safe by "Check map size" error check.
Changed, Map Analysis mode: some checks are now available only under certain conditions (for example, "Check polyobjects" is now available only when the map is in Hexen or UDMF map format).
Updated documentation ("Game Configuration - Basic Settings" page).
2023-01-04 22:59:30 +01:00
MaxED
dc54992693 Added: sectors are now split into multiple sectors when their shape is divided into several closed shapes by drawing new geometry or dragging existing geometry using Edit Selection and Drag Geometry modes.
Fixed: in some cases sidedefs belonging to linedefs, which were moved on top of existing linedefs, were incorrectly reassigned when applying Edit Selection and Drag Geometry modes.
Fixed: Tag Explorer update fix from R2630 was accidentally placed in an UDMF-only if-block.
Updated ZDoom_DECORATE.cfg (A_WeaponOffset).
Updated documentation ("(G)ZDoom text lumps support" page).
2023-01-04 22:54:27 +01:00
MaxED
54f8949f32 Fixed, Tag Explorer: in some cases (for example, when geometry was removed implicitly by dragging geometry) the list was not updated.
Fixed: in some cases generalized sector effect detection logic failed to detect a valid generalized effect.
Fixed, Action selector control: action label was not updated when changing action number from one generalized effect to another.
2023-01-04 22:51:42 +01:00
MaxED
cb882a4340 Fixed, Visual mode: texture offsets were updated multiple times when moving texture offsets of several extrafloor sides linked to the same control sidedef.
Fixed, Visual mode: sidedef geometry of sectors affected by "Copy Slope" effect was not updated when the source slope was modified.
2023-01-04 22:39:41 +01:00
MaxED
228a71d477 Added, Map Analysis mode: added "Check unknown actions and effects" check. 2023-01-04 22:37:25 +01:00
MaxED
2f046137c0 Added, Sound Environments mode: sound environments of the same type are now colored using the same color.
Added, Sound Environments mode: current sound environment is now highlighted (can be toggled using "Toggle Highlight" action).
Added: Tag selectors now have up/down buttons.
Fixed, Sound Environments mode: sound environments were not updated after performing Undo/Redo actions.
Fixed, Sound Propagation mode: sound zones were not updated after performing Undo/Redo actions.
Internal: moved "Toggle Highlight" action to the core, also changed it's category to "View".
Internal: "Toggle Highlight" action state is now saved in the Program configuration.
Updated ZDoom_DECORATE.cfg (GetZAt).
Updated ZDoom_linedefs.cfg (Sector_SetPortal args).
2023-01-04 22:36:23 +01:00
MaxED
59153e6a52 Changed, Visual mode: "Auto-align textures" and "Paste Textures Floodfill" actions now use visual mode geometry to determine whether a sidedef part should be processed. This fixes inability to apply said actions to sidedef parts only visible because of slopes.
Fixed, Visual mode: both "With same texture" and "With same height" Select modifiers are now checked when both of them are used at once (previously a sidedef part/floor/ceiling was selected when any of those matched).
2023-01-04 22:31:34 +01:00
MaxED
0bb92f99cb Fixed, Find and Replace mode: fixed an exception when trying to assemble search result label for a named script without arguments. 2023-01-04 22:22:12 +01:00
MaxED
4b91a6d76b Added, Find and Replace mode: action arguments are now displayed in "Linedef Action and Arguments" and "Thing Action and Arguments" search results. 2023-01-04 22:21:14 +01:00
MaxED
2be07ef1ee Fixed, Linedefs mode: fixed inability to highlight linedefs when "Stitch geometry within" setting was set to 0.
Fixed, Visual mode: fixed a crash when performing "Auto-align textures" actions on selected sidedefs when there were also floors/ceilings selected.
2023-01-04 22:20:37 +01:00
MaxED
8599e33b2f Fixed: in some cases sidedefs were incorrectly reassigned when applying Edit Selection and Drag Geometry modes. 2023-01-04 22:11:56 +01:00
MaxED
2e32b8839a Fixed, Visual mode: rendering effects of "Slope floor/ceiling to here" things (9500/9501) should not be applied when their arg0 is 0. 2023-01-04 22:11:18 +01:00
MaxED
600851e263 Fixed, Visual mode: "Rotate CW"/"Rotate CCW" actions should update thing-based effects when used on Things.
Added/restored, Visual mode: restored "Move Texture Left/Right/Up/Down by 8" actions, added "Move Texture Left/Right/Up/Down by Grid Size" actions (default keys are Ctrl+arrow keys).
Fixed, Game configurations: Hexen's Bell actor was missing "hangs" flag.
2023-01-04 22:09:46 +01:00
MaxED
dcaa0f60a1 Fixed, Script Editor: fixed a crash triggered by creating a new tab, then closing script editor.
Fixed, Sectors mode: tags and effect labels were displayed instead of selection number labels after disabling, then enabling selection numbers when there were sectors with tags or effects selected.
2023-01-04 22:07:46 +01:00
MaxED
bf66e6a3ee Fixed, Things mode: fixed a crash when switching to Things mode when more than 256 things were selected. 2023-01-04 22:07:06 +01:00
MaxED
099f8d316c Added: holding Control key while switching to/from Visual mode will now temporarily disable position synchronization (works only when 'Synchronize camera position between 2D and 3D modes' Preferences option is enabled).
Fixed severe lock-up after finishing dragging many vertices/linedefs/sectors in Classic modes.
Updated documentation ("Synchronizing camera position").
2023-01-04 22:05:52 +01:00
MaxED
87be49a8fd Fixed, Classic modes: fixed excessive redraws and text label / sector highlight flickering when using rectangular selection with modifier keys. 2023-01-04 22:00:01 +01:00
MaxED
697e9e4bf5 Fixed, Visual mode: in some cases translucency was ignored on inner top sides of translucent 3d floors.
Internal, Script Editor: moved some setup/auto-completion logic to separate classes.
Updated ZDoom_DECORATE.cfg (A_QuakeEx).
2023-01-04 21:59:31 +01:00
MaxED
e87a8b0c3c Fixed, Visual mode: 3d floor outer sides were not updated after toggling rendering effects off, then on.
Updated ZDoom_DECORATE.cfg (GetAngle function).
2023-01-04 21:48:37 +01:00
MaxED
b7fbb443e2 Added, Drag Vertices\Linedefs\Sectors\Edit Selection modes: sidedefs facing outside of current selection are now reattached/added/removed after moving the selection.
Currently this will work as intended only if the selection ends up either completely inside a single sector or completely outside of any sector. Also this logic won't be applied if the selection contains the lines with only start or end vertex selected.
Internal: some TextLabel refactoring.
2023-01-04 20:06:08 +01:00
MaxED
bb97aa354b Added, Sectors, Linedefs, Things modes: map element selection order of rectangular selection is now direction-dependent. 2023-01-04 20:00:35 +01:00
MaxED
d2f9150ecb Fixed, Visual mode, UDMF: in some cases Fade color was not applied to floor and ceiling surfaces of 3d floors.
Fixed, Visual mode: in some cases not all sidedef geometry was updated when updating sectors with Plane Align (181) action. Also fixed some more unnecessary geometry updates.
Fixed, Linedefs mode, Things mode: in some cases deleting linedefs/things caused a crash when trying to update text labels.
Fixed, Draw Lines mode: in some cases the drawing was prematurely finished when "Auto-finish drawing" option was enabled.
2023-01-04 19:51:08 +01:00
MaxED
0000b7a02d Added, Draw Lines mode: additional guidelines and horizontal/vertical line lengths can now be displayed for currently drawn line using "Show guidelines" top menu button.
Changed, Draw Lines mode: line angles are now shown only when "Show guidelines" mode is enabled.
Fixed, Draw Lines mode: in some cases "Snap to cardinal directions" mode was snapping only to diagonals.
Fixed, Draw Lines mode: snap to geometry behaved incorrectly when "Snap to cardinal directions" mode was enabled.
Changed, Things mode: dynamic light shape is now drawn using highlight color when a dynamic light thing is highlighted.
Added more sanity checks to MODELDEFS parser.
2023-01-04 19:37:58 +01:00
MaxED
0db92cb46c Added, Visual mode: "Increase/Decrease Scale", "Reset Texture Offsets" and "Reset Local Texture Offsets" actions now work when used on 3d floor sides.
Fixed: CVARINFO parser was unable to parse negative int/float values.
Fixed: in some cases TextLabel text size was checked before it was calculated.
Internal, Visual mode: reduced the number of unnecessary geometry updates when changing map geometry.
Updated ZDoom_DECORATE.cfg (atan2 and VectorAngle).
2023-01-04 18:59:10 +01:00
MaxED
3232e162e6 Fixed, Tag Statistics window: fixed a crash when applying changes after deleting a tag label.
Fixed, Script Editor: fixed infinite loop when trying to search for empty string.
Changed, Linedefs mode: selection labels are now positioned in a less line angle obscuring way.
Changed, Draw Lines mode: text label background alpha didn't match the alpha of the labels used in other classic modes.
Updated ZDoom_ACS.cfg (SetMusicVolume).
Updated ZDoom ACC (SetMusicVolume).
2023-01-04 17:38:43 +01:00
MaxED
c15a8fac2b Added: dynamically added side panel tabs now play notify animation when the side panel is collapsed.
Added, Game configurations, ZDoom: added Sector effect 90 (Skybox sector).
2023-01-04 17:31:09 +01:00
MaxED
693f241202 Classic modes: further text label rendering optimization.
MODELDEF parser: rewrote most of the parser logic. Now it picks actor model(s) based on Frame / FrameName properties.
2023-01-04 17:22:25 +01:00
MaxED
187653bfa9 Sectors, Linedefs, Things modes: optimized text label rendering.
Fixed, Things mode: in some cases selection labels were not updated after editing a thing.
Fixed, Things mode: selection labels were positioned incorrectly on things with FixedSize setting.
Fixed, Sectors mode: fixed a crash when selecting self-referencing sector when selection labels were enabled.
Fixed, Visual mode: in some cases Auto-align texture actions were not working when "use long texture names" Map Options setting was enabled.
Fixed, MD2/MD3 loader: available animation frames upper bound check was performed incorrectly, which would cause a crash in some very special cases.
Fixed, Game configurations: most Hexen/ZDoom teleport actions use TeleportDests as teleport targets, not MapSpots.
2023-01-04 17:16:18 +01:00
MaxED
4c7aae544b Added, Linedefs mode, Things mode: selection numbers can now be displayed and can be toggled using the "View Selection Numbering" mode toolbar button.
Added, Linedefs mode, Things mode: sector tags can now be displayed and can be toggled using the "View Sector Tags" mode toolbar button.
Fixed, Classic modes, DB2 bug: in some cases text label size was queried before it was calculated, resulting in text labels being rendered when they shouldn't.
Updated ZDoom_DECORATE.cfg (A_LogFloat).
2023-01-04 17:12:17 +01:00
MaxED
803a37f4a4 Changed, Texture Browser window: "All" textures group is now saved/reselected like the rest of the texture groups when closing/opening the window.
Changed, Classic modes: bigger Thing arrows are now rendered when thing sprite rendering is skipped.
Changed, Classic modes: when "Fixed Things Scale" option is enabled, thing size stays at 2x scale instead of 1x when extra bounding box is rendered.
Added Preferences -> Appearance -> "Things transparency (Things mode)" slider.
Renamed Preferences -> Appearance -> "Things transparency" to "Things transparency (other modes)".
Externalized thing bounding box and arrow texture, used to render things in Classic modes (Textures/ThingTexture2D.png).
Updated ZDoom_DECORATE.cfg (A_SetUserVarFloat, A_SetUserArrayFloat).
2023-01-04 16:35:40 +01:00
spherallic
a6383ccb41 text fixes 2023-01-04 15:55:08 +01:00
MaxED
1e88de5eba Classic modes: rewritten and optimized some parts of text label rendering logic.
Internal, API: TextLabels can now display multi-line text, their font can be changed, they can have a background.
2023-01-04 15:54:20 +01:00
MaxED
d09000dc71 Added Preferences -> Appearance -> "Things transparency" slider. It controls Things transparency in all classic modes except Things mode.
Added Preferences -> Appearance -> "Hidden Things transparency" slider. It controls transparency of Things hidden by Things filter in Things mode, of all things :)
2023-01-04 15:48:07 +01:00
MaxED
9972816a3e Fixed, Map Analysis mode, DB2 bug: "Flip Linedef" fix for "Check line references" check was applied incorrectly. 2023-01-04 14:26:33 +01:00
MaxED
747f268af2 Fixed, "Check Polyobjects" error check: an error is no longer added when "Mirror Polyobject Number" of "Polyobj_Startline" is 0.
Fixed, "Find and Replace" mode: "Find and Replace" window no longer closes when no results are found and Replace mode is enabled.
Changed, "Find and Replace" mode: renamed some search modes for better grouping.
2023-01-04 14:26:07 +01:00
MaxED
4b85392a18 Fixed: HiRes images should not be used on surfaces with long texture names.
Changed, Draw Lines and Draw Curve modes: "Auto-finish drawing" option now works regardless of "Continuous drawing" option (previously it worked only when the latter was enabled).
Changed: position and size of the "Errors and Warnings" window is now stored while the editor is running.
Internal: rewritten parts of long texture names support code. It now involves much less special handling.
Updated ZDoom_DECORATE.cfg (A_QuakeEx, A_CheckBlock).
Updated ZDoom_ACS.cfg (QuakeEx).
Updated ZDoom ACC (QuakeEx).
2023-01-04 14:19:13 +01:00
MaxED
474ca9b895 Added "Sidedef Lower Texture", "Sidedef Middle Texture" and "Sidedef Upper Texture" Find and Replace modes. 2023-01-04 14:12:33 +01:00