Commit graph

456 commits

Author SHA1 Message Date
spherallic
505bad3943 Update MF_ flags 2023-03-28 20:02:50 +02:00
spherallic
0293c455f6 Don't error out of Lua parsing when mobjinfo[] isn't a object definition 2023-03-22 20:33:26 +01:00
spherallic
9afe69ffef Paste Properties window: highlight OK by default instead of Cancel 2023-03-22 20:31:46 +01:00
spherallic
e65108a177 Open PK3 archives as read-only 2023-02-16 17:34:31 +01:00
spherallic
448f85d7ad Make linedef angles match SRB2 again 2023-02-16 01:22:54 +01:00
spherallic
90b59fcebc Allow rotation actions in Edit Selection mode 2023-02-14 23:39:45 +01:00
spherallic
41d26c1d14 Some more fixes for angle loop handling 2023-02-14 14:28:49 +01:00
spherallic
e3b2c25fb0 Fix copy-paste typo 2023-02-08 21:48:06 +01:00
biwa
71e44108a0 Fixed nonsensical values being returned when using +++/--- in many fields. 2023-02-07 20:01:00 +01:00
biwa
33d55dce7b Using --- and +++ now also works correctly for the height offset in the edit sector properties dialog 2023-02-06 20:56:29 +01:00
spherallic
ccbd5c85ff Don't disable dynamic grid when changing the grid manually 2023-02-06 20:30:24 +01:00
spherallic
4321beca2d Fixed "fixed things scale" option behaving weirdly 2023-02-06 11:08:00 +01:00
spherallic
398bd9fee7 Fix dynamic grid toggle on the toolbar being broken 2023-02-05 20:11:49 +01:00
spherallic
5b1ceb8941 small fixes 2023-02-02 12:20:21 +01:00
MaxED
8f74ff048e Fixed: added some additional boilerplate to FileLockChecker.CheckFile. 2023-02-02 12:20:09 +01:00
spherallic
e6cff92056 Fix possible error with resetting linedef actions/tags 2023-02-02 10:54:09 +01:00
spherallic
3a2f959a6b Disable sector increment warning 2023-01-09 16:30:21 +01:00
spherallic
667c15b59a Fix inconsistencies in Preferences forms 2023-01-09 15:31:09 +01:00
MaxED
022b0474af Fixed inability to disable bilinear filtering in Visual mode some users experienced.
Fixed occasional TreeView flickering in Edit Things window, Browse Action window and Tag Explorer panel.
Updated Thing category icons in the Edit Things window. They now have "opened" and "closed" states.
Internal: added BufferedTreeView to the core controls.
Updated ZDoom game configurations (sector crush mode).
Updated ZDoom ACC.
2023-01-09 12:41:11 +01:00
spherallic
bad5ccfc91 Restore TestSkin & TestGametype for new engines 2023-01-09 11:08:29 +01:00
MaxED
0d726c6884 Added, Draw Lines mode: added "Remove First Vertex" action (Ctrl-Backspace). It removes the first drawn vertex from the drawing session. Renamed "Remove Previous Vertex" action to "Remove Last Vertex".
Changed, Classic modes: added a limit on how far the view can be scrolled from the editable map area.
Fixed, Drag geometry modes: in some cases incorrect vertices were removed when using "Replace with dragged geometry" drag mode.
Fixed, Game configurations: sector special 195 ("Hidden Sector") was missing from Hexen/UDMF specials list.
2023-01-08 13:20:01 +01:00
MaxED
264ae55a03 Fixed, Tag Explorer: in some cases Tag Explorer update logic was switching focus from the Script Editor to the main window. 2023-01-08 13:15:59 +01:00
spherallic
5fd95f703d Fixed: in some cases the editor could stuck in an infinite loop when searching for wad lumps. 2023-01-08 13:14:41 +01:00
spherallic
4222e06c71 Fixed: 3d floor indicators in 2D modes were not updated after leaving Visual mode. 2023-01-08 13:11:33 +01:00
spherallic
3f70ad23f1 Restore some thing-related functionality for SRB2 2023-01-08 13:05:33 +01:00
MaxED
2cda8bd933 Fixed: window size and location was not saved when closing a maximized or minimized window. 2023-01-06 14:38:08 +01:00
MaxED
79531796e6 Added, Game configurations, ZDoom: Ambient sound things (14001 - 14064) were missing arguments definitions.
Fixed, Make Sectors mode: in some cases sector shape detection logic returned incorrect shape, or no shape at all.
2023-01-06 14:37:51 +01:00
MaxED
7eafaa4d1a Added, Game configurations, ZDoom: added Line_SetBlocking (55) linedef action.
Fixed, Draw Rectangle mode: fixed a crash caused by incorrectly changing text labels array when accepting the drawing.
Fixed, "Check unknown ACS scripts" error check: named scripts check was performed incorrectly causing it to fail on script names containing uppercase letters.
2023-01-06 14:35:18 +01:00
MaxED
66fb6c39b7 Fixed map lumps duplication when saving the map several times after converting the map from/to UDMF map format by changing it in the Map Options window.
Fixed, cosmetic: in some cases incorrect resource loading time was displayed after saving the map.
2023-01-06 14:30:03 +01:00
MaxED
c930ba17c2 Restored the ability to paste map elements copied in DB2/DB64. 2023-01-06 14:29:22 +01:00
MaxED
05bfa851c4 Changed, Sector drawing: sector height is set to 0 when the nearest sector's height is < 0 (previously default sector height was used when the nearest sector's height was <= 0). 2023-01-06 14:29:03 +01:00
MaxED
fe61fe3af8 Updated, Curve Linedefs mode: distance/angle are now changed using bigger increments when being modified by mouse-dragging. You can hold Shift to enable increments by 1 unit.
Updated, Curve Linedefs mode: changing angle by mouse-dragging when "Fixed circular curve" option is enabled is now performed in a more predictable way.
Updated, Curve Linedefs mode: generated geometry is now merged with existing geometry.
Added, Curve Linedefs mode: a hint label is now displayed when modifying settings using mouse-dragging.
Added, Curve Linedefs mode: number of curve vertices can now be changed using LMB+RMB-drag.
2023-01-06 14:27:21 +01:00
MaxED
52940badf6 Optimized map geometry merging performance when creating drawn lines.
Optimized map geometry merging performance when pasting map geometry.
Added, Curve Linedefs mode: added "Flip Curve" button.
Updater: partially rewrote fix from the previous commit.
2023-01-06 14:27:04 +01:00
spherallic
c56f6137ec resource bullshit 2023-01-06 14:24:09 +01:00
MaxED
36169dc15f Changed, Curve Linedefs mode: re-designed the mode UI. Alternative control options are now available (check Help tab while the mode is active).
Changed, Curve Linedefs mode: changed curve generation logic. Setting Distance to 0 will now divide selected linedefs into equal parts.
Changed, Curve Linedefs mode: curve vertices are now drawn.
Updated ZDoom_DECORATE.cfg.
2023-01-06 14:16:03 +01:00
MaxED
62835e28fb Updated: sector triangulation logic now works ~50% faster than DB2 implementation. 2023-01-06 14:02:55 +01:00
MaxED
41ae6b3c55 Added, Game configurations: added "ignoreddirectories" parameter. It lists directory names to be ignored when loading PK3/PK7/Directory resources.
Added, Game configurations: added "ignoredextensions" parameter. It lists file extensions to be ignored when loading PK3/PK7/Directory resources.
Updated: sector triangulation logic now works ~20% faster.
Changed: a case when a pk3/pk7 archive contains several entries with identical filename is now treated as a warning, not as an error.
Fixed, Visual mode: absolute floor/ceiling brightness should not be affected by brightness transfer effects (like 3d floors).
Fixed, Draw Lines mode: in some cases unclosed sectors were created when several points were successively drawn at the same location.
Updated documentation.
2023-01-06 14:02:41 +01:00
MaxED
50a547a570 Added: some numeric text inputs now support expressions (e.g. (23+15)*1.5). - inspired by https://www.doomworld.com/vb/doom-editing/91089-gzdoombuilder-patch-expression-evaluation-for-sector-heights/
Fixed, Game Configurations window: fixed a crash when switching to a game engine without the file path using the "Engine" drop-down.
2023-01-06 13:47:19 +01:00
MaxED
924c10968b Updated, Visual mode: updated FLATSPRITE support to match the current GZDoom implementation.
Fixed, Visual mode: things in sectors affected by line slope effect were not updated when sector height was indirectly changed.
Game configurations: added "internalsoundnames" property.
Updated documentation ("Game Configuration - Basic Settings" page).
2023-01-06 13:37:41 +01:00
MaxED
66f4b43184 Changed, Vertices/Linedefs/Sectors/Things modes: selected map element is no longer deselected after accepting Edit window when it was the only selected map element when the Edit window was opening. 2023-01-06 13:35:19 +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
b02175a779 Changed, Visplane Explorer mode: calculated data is now fully reset when toggling "Open doors" option.
Changed, Visplane Explorer mode: vpo.dll is now initialized when entering the mode instead of after opening a map.
Fixed inconsistent Hexen Puzzle Gears names between game configuration and spawn numbers list.
Updated ZDoom_DECORATE.cfg (GetMissileDamage).
2023-01-06 13:22:15 +01:00
MaxED
838b1dc702 Fixed, Linedefs mode: linedef selection labels must be updated when performing undo/redo.
Fixed, Things mode: thing selection labels must be updated when performing undo/redo.
Fixed another case of invalid sectors being created after dragging map elements when using "Merge Dragged Geometry" and "Replace with Dragged Geometry" drag modes.
2023-01-06 13:20:48 +01:00
MaxED
c334888621 Fixed: some stored window settings were incorrectly restored from the program configuration. 2023-01-06 13:17:36 +01:00
MaxED
c919c250f7 Fixed: in some cases lines with only back side were created after dragging map elements when using "Merge Dragger Vertices Only" drag mode.
Fixed: in some cases invalid sectors were created after dragging map elements when using "Merge Dragged Geometry" and "Replace with Dragged Geometry" drag modes, when at least one of dragged linedef was facing into an enclosed void area.
Fixed a crash after drawing lines over a sector with unclosed/invalid boundaries.
Fixed(?): probably fixed a crash when closing Script Editor with an unsaved file during program termination.
2023-01-06 13:16:59 +01:00
MaxED
246f947cba Changed: position/size/state of the editor windows are now stored/applied in a uniform fashion.
Fixed: stored windows positions were not checked against current screen bounds, which may have resulted in windows being shown off-screen.
2023-01-06 13:15:26 +01:00
MaxED
8874166a34 Fixed: angle clamping logic was partially broken. 2023-01-06 12:59:54 +01:00
spherallic
147b5d8d87 FIXES 2023-01-06 12:58:27 +01:00
MaxED
17abdf5186 Added Rendering toolbar items to the View menu.
Merged "Toggle models, dynamic lights and fog rendering" and "Toggle Geometry Effects" actions into "Toggle Enhanced Rendering Effects" action.
Removed "Dynamic light size" and "Dynamic light intensity" settings.
Updated documentation ("Rendering toolbar" page).
2023-01-06 12:50:52 +01:00
MaxED
10450bacd7 Fixed, Visual mode: in some cases mouse cursor movement was not clipped to the render area when focusing the editor after Alt-Tabbing from the Visual mode.
Addressed, Line drawing: in some cases extra vertices were created when drawing lines on top of nearly parallel non-cardinal lines.
2023-01-06 12:36:20 +01:00