Commit Graph

76 Commits

Author SHA1 Message Date
spherallic ab4126a39f Revert "Internal: not copying all lumps manually anymore on 'Save As'. The WAD is copied with File.Copy anyway."
This reverts commit ec90554cf4.
2023-05-30 16:49:57 +02:00
spherallic 27d53481fa Revert "Internal: removed now unneeded CopyAllLumpsExceptMap"
This reverts commit 0cc6cf2e64.
2023-05-30 16:49:51 +02:00
spherallic 554f79f585 Revert "Internal: reverted mysterious MaxED edit in map saving functions"
This reverts commit 4d97f41a4b.
2023-05-30 16:49:45 +02:00
spherallic 37b872787f Revert "Fixed: old map format is now autodetected when saving a map over an existing one. Saving a map in different format shouldn't leave junk lumps anymore."
This reverts commit ab4b59c981.
2023-05-30 16:49:24 +02:00
spherallic 72231d330d Revert "Fixed: consequential duplicate maps weren't handled properly"
This reverts commit 6bd76dee4e.
2023-05-30 16:49:18 +02:00
spherallic 5cbf236d50 Revert "Fixed: in case there are other (non-map) lumps in the archive that have the same name as a map (e.g. MB2 patch and MB2 map in idl201x WADs) only the valid map is read."
This reverts commit 9054d07b9f.
2023-05-30 16:49:08 +02:00
spherallic f5f13dfc3d Revert "Fixed: 'Save into' would detect non-map lumps with the same name as maps and ask if you want to save over..."
This reverts commit 7cb80cf9f2.
2023-05-30 16:48:53 +02:00
spherallic aa0bd8de91 Revert "Fixed: 'forbidden' lumps are not supposed to count towards matching while detecting map type"
This reverts commit c6a2288c22.
2023-05-30 16:48:14 +02:00
spherallic daf38b5bd3 Revert "Fixed a bug where saving WADs that didn't have their data starting right after the header would corrupt the file. Fixes #531"
This reverts commit 6c55197264.
2023-05-30 16:46:11 +02:00
biwa 6c55197264 Fixed a bug where saving WADs that didn't have their data starting right after the header would corrupt the file. Fixes #531 2023-05-09 02:17:14 +02:00
biwa 0043160e30 - Fixed an issue where the current editing mode was not re-initialized properly when opening a map from current WAD 2023-05-09 02:10:39 +02:00
ZZYZX c6a2288c22 Fixed: 'forbidden' lumps are not supposed to count towards matching while detecting map type 2023-05-09 02:10:10 +02:00
ZZYZX 7cb80cf9f2 Fixed: 'Save into' would detect non-map lumps with the same name as maps and ask if you want to save over... 2023-05-09 02:09:04 +02:00
ZZYZX 9054d07b9f Fixed: in case there are other (non-map) lumps in the archive that have the same name as a map (e.g. MB2 patch and MB2 map in idl201x WADs) only the valid map is read. 2023-05-09 02:08:34 +02:00
ZZYZX 6bd76dee4e Fixed: consequential duplicate maps weren't handled properly 2023-05-09 02:08:08 +02:00
ZZYZX ab4b59c981 Fixed: old map format is now autodetected when saving a map over an existing one. Saving a map in different format shouldn't leave junk lumps anymore. 2023-05-09 02:07:35 +02:00
ZZYZX 4d97f41a4b Internal: reverted mysterious MaxED edit in map saving functions 2023-05-09 02:06:33 +02:00
ZZYZX 0cc6cf2e64 Internal: removed now unneeded CopyAllLumpsExceptMap 2023-05-09 01:59:59 +02:00
ZZYZX ec90554cf4 Internal: not copying all lumps manually anymore on 'Save As'. The WAD is copied with File.Copy anyway. 2023-05-09 01:59:38 +02:00
spherallic 3d398cc899 Move GZBuilder/GZDoom 2023-05-09 00:46:39 +02:00
spherallic a9ca5ae625 Clear out GZBuilder directory a bit 2023-05-09 00:02:14 +02:00
biwa f59fbed358 Sector/Linedef/Thing/Vertex Edit Form: the map will not be marked as changed anymore when canceling changes made in the forms, when the map wasn't marked as changed before
Copying map elements doesn't mark the map as changed anymore if the map wasn't marked as changed before copying
2023-05-08 13:21:15 +02:00
biwa 7d180e5cae Snap selection to grid: fixed a problem that could cause a crash if geometry got removed by snapping it to the grid 2023-05-08 12:34:41 +02:00
spherallic fc748c18c9 Rename SRB2Type back to Type 2023-04-26 17:17:28 +02:00
spherallic dde06fa12c Add unique launcher parameters for resource archives vs. directories to support -folder 2023-04-23 23:48:44 +02:00
MaxED 97dcfb0275 Added, Automap mode: added "Show hidden lines" top menu button.
Added, Automap mode: added "Show secrets" top menu button.
Added, Automap mode: added "Color preset" top menu drop-down.
2023-04-05 01:12:02 +02:00
spherallic 7243994446 Prevent config window from crashing with directory loaded 2023-04-03 21:46:51 +02: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
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 8874166a34 Fixed: angle clamping logic was partially broken. 2023-01-06 12:59:54 +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 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 64c93749a0 Fixed a crash when using "Open map in current WAD" action in Visual mode. 2023-01-06 11:44:14 +01:00
MaxED 6651a14bc6 Changed: single-sided linedefs with only back sidedef present are now automatically flipped when loading a map.
Changed, "Flip Linedefs" action: the action will no longer flip single-sided linedefs with only front side.
Fixed a crash when trying to determine sprite angles when images with non-sprite names, starting with expected characters, were present in the Sprites namespace.
2023-01-05 00:44:34 +01:00
MaxED d301042f42 Changed: "Unable to save the map: there are too many unique sidedefs!" error message now displays info about sidedefs counts before and after sidedef compression.
Fixed, Draw Grid mode: in some cases invalid geometry was created when drawing very large grids.
Fixed, Things mode, "Rotate Clockwise" action: fixed inability to change thing angle from 0 to 315 when "doomthingrotationangles" Game Configuration property was set to true.
Updated ZDoom_DECORATE.cfg.
2023-01-05 00:30:34 +01:00
MaxED e34fe0d32f Added "Split Joined Sectors" Edit menu item and toolbar button. When enabled, joined sectors adjacent to drawn lines will be split.
Added "doomthingrotationangles" Game Configuration property. When enabled, editor actions related to changing thing angle will snap the resulting angle to 45 degree increments. This property is set to true for vanilla game configurations.
Fixed a crash when changing game configuration from one without Thing actions support to one with them while in Things mode.
Fixed, cosmetic, DB2 bug: current editing mode button was deselected after reloading resources.
Updated documentation ("Game Configuration - Basic Settings" page).
2023-01-05 00:27:03 +01:00
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 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 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 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
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
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 4a582c81d5 Merge branch 'master' into unofficial-port 2022-11-25 19:05:46 +01:00
sphere 095aa9bb68 GZDB merging - part 1 2022-11-25 17:14:35 +00:00
justburner 9ff08fe97b Rewrote unofficial 2.10 over latest official commit 2021-12-05 02:44:25 +01:00
sphere c8f83515e4 Improve Stair Sector Builder controls & fix a few misspelled status messages. 2021-05-15 15:20:17 +02:00