Commit Graph

270 Commits

Author SHA1 Message Date
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 9972816a3e Fixed, Map Analysis mode, DB2 bug: "Flip Linedef" fix for "Check line references" check was applied incorrectly. 2023-01-04 14:26:33 +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 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 474ca9b895 Added "Sidedef Lower Texture", "Sidedef Middle Texture" and "Sidedef Upper Texture" Find and Replace modes. 2023-01-04 14:12:33 +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
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
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
spherallic 2a2780dc4f more fixes 2023-01-04 13:43:08 +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 1dbc431aeb Fix to SRB2Type 2023-01-04 13:09:34 +01:00
MaxED a6d99339ce Fixed, Map Analysis mode: fixed a crash when running "Check Polyobjects" check on a map without lines using "Polyobj_StartLine" action.
Updated ZDoom_linedefs.cfg (Line_SetPortalTarget).
Updated ZDoom_ACS.cfg (Line_SetPortalTarget).
2023-01-04 13:05:24 +01:00
MaxED 16e476f02e Added, Map Analysis mode: added "Check Polyobjects" checker.
Changed, Game configurations: "Polyobject Anchor" things should not trigger "Thing outside the map geometry" error in the Map Analysis mode.
Updated ZDoom_DECORATE.cfg (A_SetScale).
2023-01-04 13:04:52 +01:00
spherallic e3b78324d6 Fix spacing in increment/decrement tag text 2022-12-30 21:01:29 +01:00
spherallic a772edc820 Fix typo in vertex slope handling 2022-12-30 20:55:41 +01:00
spherallic dbdb8bc931 Add quick sector/linedef tag increment/decrement actions 2022-12-21 02:21:30 +01:00
spherallic 44159ebbd4 Count vertices without any attached lines as non-essential 2022-12-19 23:06:01 +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
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 655b6b6c5e Disable linedef action 96 support, as it may cause crashes in Visual Mode 2022-10-12 13:57:09 +02:00
spherallic c3027c0d9b Allow searching for thing height 2022-10-12 13:56:41 +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
spherallic c813106ec5 Update version number to 2.14 2022-03-07 10:04:26 +01:00
spherallic 25ded2b07a Merge branch 'master' into unofficial-port 2022-03-05 13:18:05 +01:00
spherallic 953312482d Fix mistake in non-essential linedef check. 2022-03-04 21:13:27 +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
justburner 9ff08fe97b Rewrote unofficial 2.10 over latest official commit 2021-12-05 02:44:25 +01:00
sphere cf516fd0e6 Fixes to non-essential vertex/line detection. 2021-11-15 20:32:58 +01:00
sphere 4f2a8a15ca Visual Mode: first attempt at handling multitags 2021-11-10 01:26:41 +01:00
sphere 8c290a9e7c Edit Selection mode: add actions for moving the selection around the grid. 2021-11-10 01:21:37 +01:00
sphere af673f3270 Expand non-essential selection functionality to lines. 2021-11-10 01:03:40 +01:00
sphere 65f1577fec Update version number to 2.13 2021-10-25 22:47:16 +02:00
sphere 3dc0eea0c6 oops 2021-10-25 22:19:24 +02:00
sphere 59bd8d984a Add default keybinds to new actions. 2021-10-25 22:17:31 +02: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 3341b1917e Some fixes for aligning flats to linedefs. 2021-06-05 01:37:39 +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 738fcfe2c3 Fix a couple of spelling and grammar mistakes. 2021-05-24 13:33:55 +02:00
sphere c8f83515e4 Improve Stair Sector Builder controls & fix a few misspelled status messages. 2021-05-15 15:20:17 +02:00
sphere 29d900da32 Improve and add some selection actions for Visual Mode. 2021-05-14 20:58:08 +02:00
sphere b9c5f33ec2 A few bugfixes for some of the new actions. 2021-05-10 23:52:54 +02:00
sphere c1ff954692 Another new cleanup action: Reset flags (for linedefs and things) 2021-05-10 13:45:19 +02:00
sphere 367a3ed6c6 Some new cleanup actions: Select non-essential vertices & Reset actions and tags (for linedefs and sectors) 2021-05-08 23:35:32 +02:00
sphere 5bb6488ca0 Support "Align floor/ceiling to front side" actions in SRB2 maps 2021-05-06 13:18:50 +02:00
sphere 5133ff3040 Allow selecting both sides of a midtexture again, using Ctrl + Shift 2021-05-05 19:17:05 +02:00
sphere 292a8e1d04 Update version number to 2.12 2021-04-09 16:54:10 +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
sphere 11b40e4589 Update credits. 2021-03-23 12:32:27 +01:00
sphere 9cd41b15ef Fix checkboxes in the Editing tab of Preferences and remove a stray bracket. 2021-03-22 21:07:13 +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
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 09581306be Update version number to v2.11. 2021-03-14 15:31:04 +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 1f3f0358c7 Fix regression in repeating midtexture handling. 2021-03-14 00:16:36 +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 3856a65588 Update 2D flat alignment on pasting linedef properties. 2021-03-13 17:42:47 +01:00
sphere a754bf447a Display flat alignment in classic (2D) modes. 2021-03-13 02:16:24 +01:00
sphere f50866dd31 Change default settings in Map Analysis mode, add texture name wildcards to the reference manual, update the installer. 2021-02-27 02:21:33 +01:00
sphere 4958338bbb Add tooltips for special characters in the Find and Replace menu; code shamelessly taken from UDB. 2021-02-25 00:31:10 +01:00
sphere 1f962e46e9 Add support for !/!= in searches for sector brightness/height/tag, linedef tag and thing type/angle, and update the documentation. 2021-02-21 15:22:14 +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 37993cde49 First and very hacky attempt at rendering flat rotation/offsets in classic editing modes. 2021-02-19 11:17:12 +01:00
sphere 960065111a Update version number, credits & config. 2021-02-18 23:57:42 +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
sphere 365aff2803 Add support for using >, <, >= and <= in searches for sector brightness/height/tag, linedef tag and thing type/angle. 2021-02-17 15:58:13 +01:00
MascaraSnake 9ffb23be71 Adapt flat alignment to 2.2 setup 2020-05-17 13:36:27 +02:00
MascaraSnake e8e87bf8f1 Updated version number 2018-12-16 14:51:28 +01:00
MascaraSnake def78d6852 Updated version number 2017-12-03 18:23:29 +01:00
MascaraSnake 166f2b1747 Updated version number 2017-11-03 09:03:41 +01: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 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 6b930b8e5b Allow Thing angles outside of 0-359 in Find/Replace mode 2016-10-04 18:35:32 +02: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 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 35b96f907d Updated version number 2016-07-31 17:03:40 +02:00
MascaraSnake 9cf8014098 In SRB2, indefinitely tiled middle textures can still be offset from the pegged plane 2016-06-02 19:42:35 +02:00
MascaraSnake 4b9bf6f7ac Colormap is now applied correctly to flipped Things 2016-06-01 23:20:41 +02:00
MascaraSnake 442fff3890 Fixed skewing for upper textures 2016-06-01 20:26:06 +02:00
MascaraSnake 71a6a83e67 Fixed a typo in the last commit 2016-06-01 20:01:20 +02:00
MascaraSnake 74fbb652c1 Fixed the pegging for lower textures with Lower Unpegged. 2016-06-01 19:28:22 +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 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 1be3ecb922 Updated version number to prepare for 2.3 release. 2016-04-06 20:34:18 +02:00
MascaraSnake 8617836230 Added shortcut actions for Insert Things Radially Mode and changed the default values for number and radius. 2016-04-06 16:52:49 +02:00
MascaraSnake 289c2b7c5f Fixed a bug that caused offsets to be incorrectly applied to middle textures 2016-03-05 22:00:54 +01:00
MascaraSnake ba2412c9dd Changed the button image for Insert Things Radially Mode. 2016-03-01 21:18:02 +01:00
MascaraSnake 92d11bdc60 Updated version number to prepare for 2.2 release. 2016-03-01 20:25:30 +01:00
MascaraSnake 4885e4d502 Added a thing type browser to Insert Things Radially Mode 2016-02-28 21:37:04 +01:00
MascaraSnake c9a0de7287 Added Insert Things Radially Mode 2016-02-28 21:09:08 +01:00
MascaraSnake 0c1ab582a7 Added support for SRB2's Thing type "parameter" property. 2016-02-29 11:41:17 +01:00
MascaraSnake 552a4ea920 Added texture skewing for everything except 3D floors. This is only partially tested and may display incorrectly in some situations. 2016-02-28 19:58:42 +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 56c8ba57aa Prepare for v2.0 release 2016-01-30 17:20:08 +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 a45b2124d0 Merged in GZDB r2483. 2016-01-25 16:50:03 +01:00
MascaraSnake ac82d01def Made "Copy Properties" tool work for SRB2 2016-01-23 13:44:10 +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 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 b524dd8277 Merged in GZDB r2469. 2016-01-23 02:50:13 +01:00
MascaraSnake af2a941cf7 Merged in GZDB r2467. 2016-01-23 01:36:59 +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 16d8bb39c6 Centered hitboxes are now handled via the config 2016-01-14 23:44:00 +01:00
MascaraSnake e29f7af427 Unflippable Thing types and Thing types where the Z position is ignored are now handled via the config 2016-01-14 23:33:17 +01:00
MascaraSnake 23f7be610a Things that float when the Ambush flag is checked are now handled via the config 2016-01-14 23:13:34 +01:00
MascaraSnake 841f4087b6 Special Z position handling for NiGHTS path items and hoops 2016-01-13 22:28:16 +01:00
MascaraSnake 1e10c8b129 Render Things whose Z position indicates the position of the center rather than the bottom accordingly 2016-01-13 21:39:26 +01:00
MascaraSnake ed44947404 Things that float when given the Ambush flag are now displayed as such in Visual Mode 2016-01-13 20:17:19 +01:00
MascaraSnake 36ec727743 Added functionality for rendering only sides/planes of a 3D floor 2016-01-13 19:27:21 +01:00
MascaraSnake 4611851122 Added capability for rendering the NiGHTS path 2016-01-12 00:26:00 +01:00
MascaraSnake 6388c93034 Lowered the minimum segment length for the Draw Curve tool to 1 2016-01-10 22:38:52 +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 645ff67d8d Render slope vertices so that their center intersects with the slope, rather than the bottom 2016-01-10 17:37:08 +01:00
MascaraSnake 6c739c1a07 Fixed flat rotation (0° is east in SRB2) 2016-01-10 17:25:09 +01:00