Commit graph

57 commits

Author SHA1 Message Date
spherallic
fc748c18c9 Rename SRB2Type back to Type 2023-04-26 17:17:28 +02:00
spherallic
7e488497ef Backport TextLabel optimizations 2023-04-25 16:45:52 +02:00
spherallic
4321beca2d Fixed "fixed things scale" option behaving weirdly 2023-02-06 11:08:00 +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
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
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
8943dbc82e Removed: activating the same 2D mode repeatedly no longer toggles View modes.
Added "Next View Mode" and "Previous View Mode" actions.
Removed "Replace unused textures" checkboxes from Edit Linedefs window.
Fixed, SNDINFO parser: commented $ambient sound definitions were treated as editor comments (and still processed).
2023-01-04 23:49:39 +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
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
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
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
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
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
c51ad81208 Added, Game configurations: added "targetclasses" argument property. Can be used with argument type 14 (Thing Tag). When set, only things of given classes will be shown in the argument dropdown list in Edit Things window.
Changed, Classic modes: when "Fixed Things Scale" option is enabled, things will now switch to fixed size rendering mode when their visible size is less than 48 pixels.
Changed, Classic modes: changed the fixed size of things with FixedSize setting to 28 pixels.
Updated documentation ("targetclasses" argument property).
2023-01-04 17:09:21 +01:00
MaxED
1d78786bcf Fixed, Classic modes: thing sprite should always be rendered when it's size is affected by "Fixed Things Scale" option or FixedSize setting.
MAPINFO parser: removed a misleading warning.
2023-01-04 17:02:31 +01:00
MaxED
56dcbfc6cc Added text label font settings (Preferences -> Interface tab).
Rearranged some settings in the Preferences window.
2023-01-04 16:57:38 +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
5fe6c91ffc Changed, Visual mode: adjusted fog density calculation to better match with GZDoom.
Fixed, Visual mode: alpha-based texture picking didn't work correctly on HiRes images.
Fixed, Visual mode: fog density was calculated incorrectly for things lit by dynamic lights.
Fixed, Edit Sector window, UDMF: "Fade" and "Light" color pickers initial values were incorrect when displaying mixed values.
Fixed, Edit Thing window, UDMF: "Color" color picker initial value was incorrect when displaying mixed values.
2023-01-04 14:24:06 +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
sphere
095aa9bb68 GZDB merging - part 1 2022-11-25 17:14:35 +00: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
e1ee0bd138 Reverse subtractive and reverse subtractive. 2021-11-19 18:56:55 +01:00
sphere
f4ff4ad1d5 Take inaccessible waypoints into account when drawing waypoint sequences. 2021-08-29 23:42:19 +02:00
sphere
f4a771553b Add support for most new blendmodes. 2021-06-17 11:05:08 +02:00
sphere
607b09d076 Fix the very last zoom tube waypoint line not being drawn. 2021-03-01 16:20:33 +01:00
sphere
0cf3e0a29c Adjust duplicate waypoint indicators and remove redundant casts. 2021-02-26 16:31:09 +01:00
sphere
469f56e6fc Add labels for zoom tube waypoint sequence IDs and an indicator for duplicate waypoints. 2021-02-26 13:04:24 +01:00
sphere
16880b3527 Display (zoom tube) waypoint sequences in classic (2D) modes, like NiGHTS paths, and move their display settings to the Appearance tab. 2021-02-21 20:39:42 +01:00
MascaraSnake
0fbc680143 Added an option to draw Things at a fixed size in 2D view 2018-01-12 18:53:37 +01:00
MascaraSnake
1d05f96637 Added an option to disable the crosshair in 2D mode 2017-10-01 10:36:47 +02:00
MascaraSnake
2dba78a3d2 Merged in GZDB r2499. 2016-04-07 22:54:11 +02:00
MascaraSnake
3e0adfbc4e Merged in GZDB r2498. 2016-04-07 22:03:23 +02:00
MascaraSnake
264a883e47 Merged in GZDB r2496. 2016-04-07 16:27:49 +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
4952d9120a Merged in GZDB r2491 2016-01-30 00:57:06 +01:00
MascaraSnake
7f08137025 Merged in GZDB r2490 2016-01-30 00:44:51 +01:00
MascaraSnake
e7ad3d4bb2 Merged in GZDB r2488 2016-01-30 00:04:41 +01:00
MascaraSnake
c4085096a1 Merged in GZDB r2485 2016-01-26 13:10:30 +01:00
MascaraSnake
a45b2124d0 Merged in GZDB r2483. 2016-01-25 16:50:03 +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
e81c8d6acc Added multimare support 2016-01-12 22:07:23 +01:00