Commit graph

108 commits

Author SHA1 Message Date
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
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
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
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
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
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
9cb14fc80b Fixed: alpha-based texture picking wasn't implemented for 3d floor inner sides.
Game configurations: added 2 secret Sector_Set3dFloor flags. Shhh! Don't tell anybody!
2023-01-04 13:44:56 +01:00
MaxED
a82102a611 Added, Draw Ellipse mode: angle setting can now be changed using "Rotate Clockwise" and "Rotate Counterclockwise" actions.
Added, Draw Line and Draw Curve modes: added "Auto-finish drawing" setting. When enabled, the modes will automatically finish drawing when currently drawn lines and already existing level geometry form a closed shape.
Changed: sector-wise linedef flipping is now done using the new "Align Linedefs" action. "Flip Linedefs" action works the same as in DB2 again.
Changed: when a map was already loaded, using "Open Map" action will use that map's directory as the starting directory.
Changed: official IWADs can no longer be saved.
Changed: disabled lump ranges/duplicate entries checks for official IWADs.
Changed: wad type is now preserved when saving a map (previously all wads were saved as PWADs).
Changed: moved Updater.exe launch much closer to the editor termination point to avoid any chance of it closing the editor before it properly closes itself.
Updated ZDoom_DECORATE.cfg (A_Blast).
Updated documentation.
2023-01-04 13:30:21 +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
a772edc820 Fix typo in vertex slope handling 2022-12-30 20:55:41 +01:00
spherallic
eb28b2aa70 Add some more safeguards to Visual Mode 2022-12-19 21:57:31 +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
Ashnal
2f662d2dca Fixes a (so I'm told) prominent crash related to undoing
and looking towards some 3D floors that may not be
updated in the proper order
2022-08-20 22:31:30 -04:00
sphere
9745e802dc Merge branch 'blentran-support' into 'master'
Blentran support

See merge request STJr/ZoneBuilder!6
2022-01-11 22:17:10 +00:00
sphere
4f2a8a15ca Visual Mode: first attempt at handling multitags 2021-11-10 01:26:41 +01:00
sphere
3e4c6fe777 Visual Mode: Take CenterHitbox property into account for thing heights. 2021-10-25 22:01:36 +02:00
sphere
aa34cfdd08 Merge branch 'skywall-accuracy' into 'master'
Make skywall rendering much more accurate to 2.2, and take horizon lines into account.

See merge request STJr/ZoneBuilder!4
2021-10-25 19:18:34 +00:00
sphere
77bed468a1 Visual Mode: Invert Lower Unpegged behavior for non-skewed FOFs to match SRB2. 2021-10-25 20:43:49 +02:00
sphere
650b5aae88 Visual Mode: correct-enough slope skewing on FOF sides, with thanks to Monster Iestyn! 2021-10-24 22:33:25 +02:00
sphere
03c008a174 Visual Mode: almost-correct slope skewing on FOF sides 2021-10-24 17:21:10 +02:00
sphere
0ac4ee5f0c Make skywall rendering much more accurate to 2.2, and take horizon lines into account. 2021-10-21 12:21:27 +02: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
4833ba765e Properly check for flat alignment linedefs for floors/ceilings in Visual Mode. 2021-08-26 13:59:31 +02:00
sphere
f4a771553b Add support for most new blendmodes. 2021-06-17 11:05:08 +02:00
sphere
131770266a Use Alt+Shift instead of Ctrl+Shift for wraparound midtex selection 2021-06-05 01:38:26 +02:00
sphere
cde434af8c Allow changing sector texture offsets, if the sector has tagless flat alignment. 2021-06-05 01:36:37 +02:00
sphere
29d900da32 Improve and add some selection actions for Visual Mode. 2021-05-14 20:58:08 +02:00
sphere
5133ff3040 Allow selecting both sides of a midtexture again, using Ctrl + Shift 2021-05-05 19:17:05 +02:00
sphere
f63047400d Fix regression with same-texture-selection in Visual Mode. 2021-04-03 23:51:29 +02:00
ZZYZX
525bb7e3a2 Fixed: autoaligning and limited floodfill didn't work for selection. 2021-03-31 23:42:29 +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
sphere
76f2816e82 Display absolute-height slope vertices properly in Visual Mode. 2021-03-24 18:20:31 +01:00
biwa
4794b0effc More fixes for erroneously being able to select object multiple times when paint selecting 2021-03-22 20:31:16 +01:00
biwa
914fb7ea34 Fixed a bug where map elements could be selected multiple times when paint selecting in visual mode. Fixes #519. Fixes #520 2021-03-22 20:30:28 +01:00
biwa
f8fbcbcd1f - Added option to enable additive paint selecting without holding shift independently from regular additive selecting 2021-03-22 20:28:58 +01:00
biwa
9f597a271c Added paint selecting to visual mode (PR#248 by biwa) 2021-03-22 19:52:25 +01:00