Commit graph

423 commits

Author SHA1 Message Date
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
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
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
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
14e372cb91 Fixed, vertex/linedef/sector dragging: in some cases middle textures were removed from dragged double-sided lines.
Fixed, ACC compiler: fixed a crash when trying to compile SCRIPTS lump of a new map, which wasn't ever saved.
2023-01-04 23:22:07 +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
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
6c8a59815f Added: angle selector button used in arguments custom fields controls now shows angle value.
Fixed a crash when trying to store a custom field with "Byte Angle" type.
Fixed: in some cases custom field types stored in the map's .dbs file were not applied when loading a map.
2023-01-04 22:48:17 +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
8fdb230f52 Fixed, all drawing modes: in some cases incorrect sector shape was constructed when updating sector shapes after drawing new lines, which resulted in nearby sectors being merged into sector(s) affected by linedefs drawing. 2023-01-04 22:23:43 +01:00
MaxED
6c7cf6d432 Added: when "sidedefcompressionignoresaction" property is set to false, sidedefs, which belong to a line with a non-zero action or tag, will be skipped when compressing sidedefs. 2023-01-04 22:22:44 +01:00
MaxED
07705464e1 Game configurations: added "sidedefcompressionignoresaction" property. When set to true, sidedefs will be compressed regardless of linedef action (DB2 behaviour). When set to false, sidedefs, which belong to a line with an action, will be skipped when compressing sidedefs. Default value is false. 2023-01-04 22:19:02 +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
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
6982133004 Fixed, Game configurations window: new test engine entry was still added when pressing "New Test Engine" button, then canceling the browse dialog.
Fixed, general interface: in some cases opening "Test Map" drop-down resulted in an exception when trying to access a disposed/non-existing test engine icon.
2023-01-04 20:15:04 +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
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
spherallic
96892ef38c add sliders manually because winforms sucks 2023-01-04 16:35:54 +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
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
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
spherallic
b9d86faf3e should have skipped this 2023-01-04 14:20:44 +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
a92610a2d8 Changed, Select Similar Sectors action: when "Effect" option is enabled, all sectors with at least one matching generalized/predefined effect will be selected.
Added, Tag Explorer plugin: a separate category for each generalized/predefined effect is now created when "Sort by action special" sort mode is used.
Added, Edit Effect window: normal and generalized effects can now be set at the same time.
Fixed, Edit Action window: in some cases Generalized actions were incorrectly processed.
Fixed, Edit Effect window: in some cases Generalized effects were incorrectly processed.
Fixed, Select Similar window: Tab control was incorrectly anchored.
Fixed, Nodes Viewer mode, cosmetic: segs angles were calculated incorrectly when showing nodes in classic format.
Fixed: HiRes textures, which didn't override any texture or flat were not loaded.
Fixed, Tag Explorer plugin: linedef action categories were missing title when "Sort by action special" sort mode was used.
Cosmetic: renamed "Grid Setup" action to "Grid and Backdrop Setup".
2023-01-04 14:11:51 +01:00
spherallic
4e109000fa one fix 2023-01-04 14:08:48 +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
a4fe857710 Map saving: map lumps position in the wad is now kept persistent when saving it (previously / in DB2 map lumps were always pushed to the end of the wad when saving it).
Internal: added NeutralResourcesLanguageAttribute to all assemblies. Theoretically this should result in a bit better performance when accessing embedded resources.
Updated ZDoom_DECORATE.cfg (A_Chase flags).
2023-01-04 13:47:31 +01:00
spherallic
2a2780dc4f more fixes 2023-01-04 13:43:08 +01:00
MaxED
f489abba63 Fixed, Script Editor: in some cases "[EP]" (Entry Position) markers were processed incorrectly when inserting a snippet.
Updated SharpCompress library to 0.11.5.
Updated ScintillaNET library to 3.6.3.
2023-01-04 13:39:13 +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
41e4b26d79 Add degree symbol to base angle of angle selector 2023-01-04 12:44:41 +01:00
spherallic
6b21d45fac Fix thing/linedef label text for dark mode 2022-12-21 19:33:23 +01:00
spherallic
b45861bb39 Expand angle loop settings, clean up thing info panel 2022-12-20 18:05:03 +01:00
spherallic
feea30f759 Merge branch 'thingproperties' 2022-12-20 00:25:03 +01:00
spherallic
2715e8d50d Don't add 1 to loop numbers 2022-12-20 00:22:57 +01:00
spherallic
515df9c1e9 Add angle arrow setting for individual thing definitions 2022-12-19 20:55:10 +01:00
spherallic
c063986e00 Add toggle for displaying invisible SRB2 FOFs 2022-12-06 00:20:42 +01:00
spherallic
c71ff97b3e Fix resource mess 2022-11-25 21:02:56 +01:00
spherallic
4a582c81d5 Merge branch 'master' into unofficial-port 2022-11-25 19:05:46 +01:00
spherallic
69b2faa96e Add safeguards to prevent crashes from invalid flat alignment lines 2022-11-25 18:39:58 +01:00
sphere
095aa9bb68 GZDB merging - part 1 2022-11-25 17:14:35 +00:00
spherallic
ccbd11a114 Remove unneeded stuff 2022-08-22 23:06:37 +02:00
spherallic
4673fec95a Fixed linedefs sometimes not being split in certain situations. (Backported from UDB) 2022-08-22 20:25:37 +02:00
spherallic
c813106ec5 Update version number to 2.14 2022-03-07 10:04:26 +01:00
spherallic
a8f158f25a Merge branch 'master' into unofficial-port 2022-01-11 23:24:16 +01: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
cafa42dccd fix 2021-12-05 02:44:25 +01:00
justburner
9ff08fe97b Rewrote unofficial 2.10 over latest official commit 2021-12-05 02:44:25 +01:00
sphere
e1ee0bd138 Reverse subtractive and reverse subtractive. 2021-11-19 18:56:55 +01:00
sphere
676223929f Make undo/redo less unstable by handling flat alignment changes differently. 2021-10-31 14:46:00 +01:00
sphere
65f1577fec Update version number to 2.13 2021-10-25 22:47:16 +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
b95dcc21b0 Always display ZB's version number in the title. 2021-10-24 22:56:31 +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
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
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
738fcfe2c3 Fix a couple of spelling and grammar mistakes. 2021-05-24 13:33:55 +02:00
sphere
58e644aa80 Catch a possible error with PK3 reading. 2021-05-15 22:28:11 +02:00
sphere
c8f83515e4 Improve Stair Sector Builder controls & fix a few misspelled status messages. 2021-05-15 15:20:17 +02:00
sphere
292a8e1d04 Update version number to 2.12 2021-04-09 16:54:10 +02:00
sphere
ae256ac8cb Allow custom flag, angle and parameter labels for custom objects. 2021-04-04 15:04:37 +02:00
sphere
8b6406075c Add an indication to changed flag/angle/parameter labels, to show when flags or angle/parameter values have changed behavior. 2021-04-03 17:06:09 +02:00
sphere
83e5cebe8f Update credits and default configuration. 2021-04-01 00:25:15 +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
11b40e4589 Update credits. 2021-03-23 12:32:27 +01:00
sphere
2a258faa0b wow visual studio really sucks with tab/whitespace handling 2021-03-21 16:09:33 +01:00
sphere
88fbbaac2e Display parameter and flags value (labels) in the Thing info panel, make parameter values easier to edit, update the 2.2 config. 2021-03-21 15:40:10 +01:00
sphere
09581306be Update version number to v2.11. 2021-03-14 15:31:04 +01:00
sphere
8202a7c3f0 Update 2D flat alignment whenever texture offsets are changed. 2021-03-13 23:10:41 +01:00
sphere
cba0e2a5d4 Update 2D flat alignment when dragging geometry or changing a sector tag. Also tweak some undo/redo behavior. 2021-03-13 18:16:38 +01:00
sphere
597592b393 Update 2D flat alignment on undo & redo. 2021-03-13 16:58:16 +01:00
sphere
a754bf447a Display flat alignment in classic (2D) modes. 2021-03-13 02:16:24 +01:00
sphere
607b09d076 Fix the very last zoom tube waypoint line not being drawn. 2021-03-01 16:20:33 +01:00
sphere
16299772b7 Disable Sound Modes by default since they're irrelevant for SRB2, and update the link in the Error pop-up. 2021-03-01 11:28:20 +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
b59f8fef63 Fix bugs with testing from current mouse/camera position. 2021-02-25 18:08:29 +01:00
sphere
e2598364b2 Update installer and fix two tiny mistakes. 2021-02-21 21:50:27 +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
sphere
0c8effe3a3 Clean up the project, revert hacky flat alignment, fix About menu and browser handling. 2021-02-21 14:59:33 +01:00
sphere
960065111a Update version number, credits & config. 2021-02-18 23:57:42 +01:00
sphere
cc93734354 Update config and restore copy slope rendering in Visual Mode. 2021-02-17 01:49:48 +01:00
MascaraSnake
d7cd46a387 Actually display parametertext 2020-05-17 09:56:08 +02:00
MascaraSnake
5446f76a3a Update project to VS2019 2020-05-17 09:53:22 +02:00
MascaraSnake
e8e87bf8f1 Updated version number 2018-12-16 14:51:28 +01:00
MascaraSnake
43399cf23f Added SRB2Kart support 2018-12-16 14:25:49 +01:00
MascaraSnake
291f8bcc96 PK3 support: SOCs folder is now SOC folder 2018-12-12 08:32:02 +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
def78d6852 Updated version number 2017-12-03 18:23:29 +01:00
MascaraSnake
b9b30a2887 Fixed a crash in the tag statistics window 2017-11-08 19:22:46 +01:00
MascaraSnake
b8a2d71625 Do not convert SRB2 selections from/to UDMF when copypasting. 2017-11-06 21:25:11 +01:00
MascaraSnake
166f2b1747 Updated version number 2017-11-03 09:03:41 +01:00
MascaraSnake
d731c29235 Parse MF_SOLID and MF_SPAWNCEILING for custom Things 2017-10-10 09:17:42 +02:00
MascaraSnake
1d05f96637 Added an option to disable the crosshair in 2D mode 2017-10-01 10:36:47 +02:00
MascaraSnake
6abdb27e36 Add support for addition in SOC/Lua arithmetic parser.
Don't abort reading the whole script if you can't parse a single value.
2017-09-04 14:09:38 +02:00
MascaraSnake
ba2cc9e0a9 In PK3s, look for patches in the same directories as ZDoom. 2017-08-07 15:00:48 +02:00
MascaraSnake
9aba68db7b Reject ZWADs with an error message. 2017-07-11 21:06:04 +02:00
MascaraSnake
93fc8fb78f Add support for custom thing categories 2017-07-07 21:43:44 +02:00
MascaraSnake
e7306d016d Recognize -- comments in Lua files.
Only log a warning when a Thing sprite can't be found, instead of aborting the whole Lua/SOC reader.
2017-07-06 16:57:53 +02:00
MascaraSnake
58b0ec16e1 Look for custom Things in PK3s 2017-07-06 16:56:55 +02:00
MascaraSnake
0c7ac90697 Updated version number 2017-01-28 19:14:15 +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
8e068aad5b Fixed some file browser regexps 2017-01-28 18:36:39 +01:00
MascaraSnake
39fddcb7c5 Added TopDown support 2017-01-28 18:22:44 +01:00
MascaraSnake
478012b4f2 Add console warning if two SOC_/LUA_ lumps with the same name are found 2017-01-12 09:44:30 +01:00
MascaraSnake
ee69237aad Don't freak out when a WAD contains multiple script lumps with the same name - just ignore the duplicates. 2016-09-22 10:24:03 +02:00
MascaraSnake
a1850cd82c On second thought, let's only delete BLOCKMAP and REJECT before nodebuilding. 2016-09-17 19:26:15 +02:00
MascaraSnake
ad52e5de44 Clear out non-required lumps before nodebuilding to prevent outdated data from being used 2016-09-17 18:00:11 +02:00
MascaraSnake
130101a227 Thing angles outside of 0-359 are now preserved when copypasting or placing new Things 2016-09-16 23:07:18 +02:00
MascaraSnake
a0c77248b7 Fixed crashes in the Choose Thing Type window when pressing certain keys while no Thing is selected 2016-09-16 22:22:45 +02:00
MascaraSnake
35b96f907d Updated version number 2016-07-31 17:03:40 +02:00
MascaraSnake
732ae6481d Fixed a crash when opening the edit window for a linedef with action 402. 2016-07-30 16:42:30 +02:00
MascaraSnake
7e5c53cfc6 Stop custom FOF parser from crashing when the back upper texture is invalid 2016-07-17 14:16:50 +02:00
MascaraSnake
e7569ff973 Lua object parser: Object name is now parsed correctly (no more ] at the end of the name) 2016-05-31 21:51:34 +02:00
MascaraSnake
f4af77e7fa Lua parser: The $Name parameter now accepts spaces in the name 2016-05-27 22:42:49 +02:00
MascaraSnake
cb31458a32 Updated version number for 2.4 release 2016-05-22 12:48:49 +02:00
MascaraSnake
9c9e64c9dd Added a shortcut for disabling colormap rendering 2016-05-22 12:44:10 +02:00
MascaraSnake
907ed1c439 Merged in GZDB r2501. 2016-04-08 20:15:23 +02:00
MascaraSnake
ea2d439b87 Merged in GZDB r2500. 2016-04-08 19:50:00 +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
6ad64c1cc0 Merged in GZDB r2497. 2016-04-07 19:31:06 +02:00
MascaraSnake
264a883e47 Merged in GZDB r2496. 2016-04-07 16:27:49 +02:00
MascaraSnake
7a82022239 Merged in GZDB r2494. 2016-04-07 16:14:31 +02:00
MascaraSnake
5bfb2790d4 Merged in GZDB r2495 (which fixes a bug introduced in GZDB r2493). 2016-04-07 16:06:02 +02:00
MascaraSnake
f03de4a27a Merged in GZDB r2493. 2016-04-07 15:29:47 +02:00
MascaraSnake
c3e08eb1ef The name of custom Things can now be specified with the $Name parameter. 2016-04-07 00:15:35 +02:00
MascaraSnake
1be3ecb922 Updated version number to prepare for 2.3 release. 2016-04-06 20:34:18 +02:00
MascaraSnake
9609ef652c The last line of a Lua table may end with a comma. 2016-04-06 20:22:05 +02:00
MascaraSnake
a70580ac8c Multiline Lua comments are --[[ ]], not --[[ ]]--. 2016-04-06 20:05:48 +02:00
MascaraSnake
ee1233d642 LuaObjectParser now recognizes -- and --[[ ]]-- comments. 2016-04-06 16:14:26 +02:00
MascaraSnake
2925986234 Added Lua parser for custom things (longform object definition only). Print error messages if custom thing parsing fails. 2016-04-06 14:58:15 +02:00
MascaraSnake
cd54edc410 Added availability check and fixed preview image lookup for sprites of custom Things. 2016-04-06 12:52:47 +02:00
MascaraSnake
e501646989 Sprites for custom Things can be supplied with a "#$Sprite" comment. 2016-04-06 12:08:14 +02:00
MascaraSnake
ed578eab72 Look through SOC lumps for custom things and make them available in the editor (no sprites yet) 2016-03-18 17:32:31 +01:00
MascaraSnake
c9bf195778 Reload resources if a global script was changed 2016-03-03 16:29:46 +01:00
MascaraSnake
40ebb654a3 Added syntax highlighting for SOC 2016-03-03 15:23:52 +01:00
MascaraSnake
658e349f95 Added support for Lua and SOC scripts to script editor (including syntax highlighting for Lua) 2016-03-03 01:25:27 +01:00
MascaraSnake
8d48514ed2 Don't load temp file if it's identical to an already loaded file (because SRB2 is stupid and refuses to start in that case) 2016-03-02 22:10:41 +01:00
MascaraSnake
649f5595dd Add options to save screenshots in PNG format and to disable the infobox in the top right corner. No menu entries for these options because I'm lazy and most people probably won't need these settings anyway. 2016-03-01 22:48:15 +01:00
MascaraSnake
f54f193332 Added a label to the Thing info panel that shows the full Thing type. 2016-03-01 22:10:20 +01:00
MascaraSnake
427c4df8a7 Added a label to the Thing browser that shows the full Thing type. 2016-03-01 21:36:55 +01:00
MascaraSnake
92d11bdc60 Updated version number to prepare for 2.2 release. 2016-03-01 20:25:30 +01:00
MascaraSnake
926c318f04 Don't allow Parameter values that are out of range. 2016-02-28 21:16:04 +01:00
MascaraSnake
b85f90712c Hide Parameter box for non-SRB2 maps 2016-02-28 21:08:12 +01: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
83a0f0a53f Updated version number for v2.1 release 2016-02-01 20:12:23 +01:00
MascaraSnake
bf291bbe5e Fixed a crash in LinedefActionInfo.Get3DFloorFlags() 2016-02-01 17:47:07 +01:00
MascaraSnake
c6c0df0fa1 Changed the way the skin parameter is passed, so that people don't have to change their program configurations 2016-01-30 17:35:21 +01:00
MascaraSnake
56c8ba57aa Prepare for v2.0 release 2016-01-30 17:20:08 +01:00
MascaraSnake
4497d20269 Forgot to include this file in the last commit somehow 2016-01-30 17:19:54 +01:00
MascaraSnake
fda0ec6e52 Replace the skill level option with skin and gametype options for SRB2 2016-01-30 16:55:15 +01:00
MascaraSnake
52ee6c41d0 The second character of an extended map number can be a letter, of course 2016-01-30 16:38:15 +01:00
MascaraSnake
d826a1e777 Display correct line number when reporting a SOC error. Report error if level number is invalid. 2016-01-30 12:51:04 +01:00
MascaraSnake
471649fa84 Added a terrible makeshift level header parser for SRB2 2016-01-30 12:05:12 +01:00
MascaraSnake
677b218ae5 Updater? What updater? 2016-01-30 01:10:49 +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
31a64b3863 Merged in GZDB r2489 2016-01-30 00:09:10 +01:00
MascaraSnake
e7ad3d4bb2 Merged in GZDB r2488 2016-01-30 00:04:41 +01:00
MascaraSnake
9ccea639bf Merged in GZDB r2487 2016-01-29 11:02:09 +01:00
MascaraSnake
52b6bf1445 Peg Midtextures flag is now recognized in Visual Mode 2016-01-28 19:29:07 +01:00
MascaraSnake
c4085096a1 Merged in GZDB r2485 2016-01-26 13:10:30 +01:00
MascaraSnake
208b3acdd3 Use General.Map.RebuildNodes() to rebuild BSP tree 2016-01-25 17:10:41 +01:00
MascaraSnake
36349268e2 Merged in GZDB r2484. 2016-01-25 17:04:07 +01:00
MascaraSnake
a45b2124d0 Merged in GZDB r2483. 2016-01-25 16:50:03 +01:00
MascaraSnake
32404317de Patch offsets are 16-bit integers 2016-01-23 12:17:31 +01:00
MascaraSnake
00e4dbb181 Made the "toggle sky rendering" button visible for SRB2 maps 2016-01-23 10:39:24 +01:00
MascaraSnake
4511d5976b Merged in GZDB r2481. 2016-01-23 10:01:27 +01:00
MascaraSnake
04527b3230 Merged in GZDB r2480. 2016-01-23 09:58:05 +01:00
MascaraSnake
2e4150b3b4 Merged in GZDB r2479. 2016-01-23 09:47:27 +01:00
MascaraSnake
287d1fe968 Merged in GZDB r2478. 2016-01-23 09:40:17 +01:00
MascaraSnake
76cf91e418 Merged in GZDB r2477. 2016-01-23 09:36:25 +01:00
MascaraSnake
dbca1989fc Merged in GZDB r2476. 2016-01-23 09:34:09 +01:00