Commit graph

56 commits

Author SHA1 Message Date
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
MascaraSnake
6405af2fea Fixed: Nodebuilder is no longer invoked twice when entering Visual Mode.
Fixed: Nodebuilder is no longer invoked with "Save" settings when entering Visual Mode.
Fixed: Editor no longer crashes when entering Visual Mode with one or no sector.
2016-02-01 21:59:22 +01:00
MascaraSnake
9ccea639bf Merged in GZDB r2487 2016-01-29 11:02:09 +01:00
MascaraSnake
a45b2124d0 Merged in GZDB r2483. 2016-01-25 16:50:03 +01:00
MascaraSnake
5cf574f42d Merged in GZDB r2474. 2016-01-23 03:53:31 +01:00
MascaraSnake
9abe49ebb2 Merged in GZDB r2471. 2016-01-23 03:38:26 +01:00
MascaraSnake
f63c2f7665 Merged in GZDB r2470. 2016-01-23 03:15:37 +01:00
MascaraSnake
04abc827f7 Merged in GZDB r2465. 2016-01-23 01:30:20 +01:00
MascaraSnake
89b6b878e8 Changed the way slopes are set up in the config 2016-01-15 15:21:53 +01:00
MascaraSnake
cbb210e1ae Slope types are now handled via the config 2016-01-15 00:47:32 +01:00
MascaraSnake
ed3b687284 Display linedef angles like in SRB2 (0° means the linedef goes from west to east) 2016-01-10 18:18:25 +01:00
MascaraSnake
6c739c1a07 Fixed flat rotation (0° is east in SRB2) 2016-01-10 17:25:09 +01:00
MascaraSnake
4f6f748b31 Use BSP tree instead of blockmap to find the sector a Thing is in (unless explicitly disabled in Preferences) 2016-01-10 17:15:27 +01:00
MascaraSnake
27626192fa Use the absolute Z position to calculate a vertex slope plane, not the one relative to the floor 2016-01-05 16:24:36 +01:00
MascaraSnake
760dff9df0 Display sector flat alignment in Visual Mode and reset colormap in Visual Mode when linedef special is removed. 2016-01-04 12:55:41 +01:00
MascaraSnake
f69597c6d1 Added colormap rendering to Visual Mode (alpha value is ignored for now) 2016-01-04 00:01:07 +01:00