Commit graph

71 commits

Author SHA1 Message Date
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
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
3f70ad23f1 Restore some thing-related functionality for SRB2 2023-01-08 13:05:33 +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
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
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
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
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
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
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
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
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
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
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
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
75f0f91a88 Internal: removed some duplicate casts, marked some classes is IDisposable, some streams were disposed more than once. 2023-01-04 14:04:43 +01:00
MaxED
f37fc2c662 Added, Tag Explorer plugin, UDMF: added multiple tags support.
Changed, cosmetic: elapsed time is now displayed after resources loading finishes.
Changed, internal: changed Clock.CurrentTime type to long.
Fixed, Tag Statistics window: in some cases the map view was not updated after selecting items in Sectors/Linedefs/Things columns.
Fixed, cosmetic: Draw Curve mode icon was missing a shadow.
2023-01-04 13:15:34 +01:00
spherallic
c063986e00 Add toggle for displaying invisible SRB2 FOFs 2022-12-06 00:20:42 +01:00
sphere
095aa9bb68 GZDB merging - part 1 2022-11-25 17:14:35 +00:00
spherallic
655b6b6c5e Disable linedef action 96 support, as it may cause crashes in Visual Mode 2022-10-12 13:57:09 +02:00
sphere
4f2a8a15ca Visual Mode: first attempt at handling multitags 2021-11-10 01:26:41 +01:00
sphere
8ef05744f9 Visual Mode: Store slope vertices in a separate list, to prevent iterating over all things for every single vertex slope linedef found. 2021-10-17 15:14:34 +02:00
sphere
34831d6042 Don't iterate over all sectors twice in RebuildElementData. 2021-10-17 14:52:19 +02:00
sphere
e9c9d008ff Visual Mode: add action to toggle texture skewing & support resetting flags. 2021-10-16 18:34:35 +02:00
sphere
ae9ac0b08f Several Visual Mode enhancements and fixes:
- Support copy flag for line slopes
- Allow resetting actions/tags
- Properly check for existing slopes when toggling backside slopes
- Properly remove specific elements from selection
2021-08-26 15:16:51 +02:00
sphere
29d900da32 Improve and add some selection actions for Visual Mode. 2021-05-14 20:58:08 +02:00
ZZYZX
c677627c09 Added: more magic to the autoalign/select neighbours logic; These functions should not anymore wrap around to the opposite side of two-sided linedefs, allowing you to select back and front sides separately using shift+click, and reducing infinite broken autoalign loops. 2021-03-31 23:17:14 +02:00
sphere
f8bbe45c7b Allow selecting only single- or double-sided linedefs in Visual Mode. 2021-03-31 16:08:43 +02:00
biwa
9f597a271c Added paint selecting to visual mode (PR#248 by biwa) 2021-03-22 19:52:25 +01:00
sphere
148f3d69ba Add actions to Visual Mode: for raising and lowering sectors/things by grid size, and for toggling Peg and Repeat Midtexture flags. 2021-03-21 19:26:10 +01:00
sphere
0efc410d58 Duplicated the Toggle Slope option to also allow sloping the back sector. 2021-03-14 14:59:23 +01:00
sphere
4cbc56318a Apply Justburner's fixes to flat offsets/rotation in Visual Mode, from the Zone Builder Unofficial fork. 2021-02-18 17:13:07 +01:00
MascaraSnake
9ffb23be71 Adapt flat alignment to 2.2 setup 2020-05-17 13:36:27 +02:00
MascaraSnake
593cf7538b Colormaps and FOFs with tag 65535 (global) are now displayed in Visual Mode 2017-03-08 18:34:52 +01:00
MascaraSnake
72fcc68ba3 Retain the settings for repeating midtextures when clamping a sidedef's X offset to the texture width 2017-01-28 19:11:49 +01:00
MascaraSnake
11a6baf35f When using No Knuckles on a "slope backside" linedef, use the X and Y offset of the back sidedef, not the front sidedef. 2016-10-04 17:42:22 +02:00
MascaraSnake
9c9e64c9dd Added a shortcut for disabling colormap rendering 2016-05-22 12:44:10 +02:00
MascaraSnake
f03de4a27a Merged in GZDB r2493. 2016-04-07 15:29:47 +02:00
MascaraSnake
0c1ab582a7 Added support for SRB2's Thing type "parameter" property. 2016-02-29 11:41:17 +01:00