Commit graph

3356 commits

Author SHA1 Message Date
Derek MacDonald
73b7eac30c
Improve game detection in "Open Map" modal dialog (#595) 2021-08-14 11:40:09 +02:00
Derek MacDonald
166e3281d2
Don't auto-add upper texture for lower adjacent sky sectors (#594) 2021-08-14 11:33:52 +02:00
Derek MacDonald
6622c6f516
Skip validating unchecked game config resources (#593) 2021-08-12 12:54:41 +02:00
biwa
82a4182242 The deprecated Slope Mode can not be selected as the default mode when opening a map anymore 2021-08-01 17:42:25 +02:00
biwa
3ade52303d Added safeguard so that the program doesn't crash when encountering an unknown header while unpacking zip files. It will add an error to the log instead 2021-08-01 11:10:51 +02:00
biwa
80a3237cc7 Effect browser form: fixed a bug where effects consisting of multiple bits were not selected correctly. Fixes #589 2021-07-31 23:51:47 +02:00
biwa
9944748cbf Fixed a bug that could cause a crash when going over the maximum linedef limit 2021-07-16 17:56:55 +02:00
biwa
e0515c3209 Visual Mode: fixed a bug where auto-aligning textures wouldn't work correctly in game configurations without support for local sidedef texture offsets, when short texture names were used, but the texture's source was a full texture name (i.e. from the /textures directory) 2021-07-04 10:51:05 +02:00
biwa
62d9da0e73 Fixed a rare crash when pasting a thing that has a model assigned to another map 2021-06-26 22:20:39 +02:00
biwa
98321b6f40 Image exporter: sector colors are now taken into account 2021-06-24 19:58:26 +02:00
biwa
a86a596e00 OBJ model loader: fixed sanity checks for faces that reference non-existing vertices, texture coordinates, or normals 2021-06-24 18:07:05 +02:00
biwa
2407b2d1f3 MODELDEF: Fixed a crash when a FrameIndex tried to reference a model index that wasn't defined. Fixes #578 2021-06-24 17:45:02 +02:00
biwa
9055170a61 DECALDEF parser: fixed a crash when decal numbers were reused 2021-06-06 18:13:23 +02:00
biwa
102e251fda Improved solution for issue #573 to not destroy the undo history when no player start is present 2021-06-03 12:02:51 +02:00
biwa
c35a409f54 Fixed a crash when undoing after using the "test from current position" action when no player 1 start is in the map. Fixes #573 2021-06-02 20:06:19 +02:00
biwa
a0dfd1fccb Stair Sector Builder Mode: fixed a crash when trying to build geometry from linedefs without sidedefs. Fixes #569 2021-05-30 19:01:42 +02:00
biwa
e0f620827d Linedefs Mode: fixed a problem where flipping a highlighted linedef would also select the linedef. Fixes #571 2021-05-30 18:27:56 +02:00
biwa
3e9d86e4b3 Fixed a crash when textures contain non-existing patches 2021-05-29 19:40:39 +02:00
biwa
e980523843 Map options: removed checkbox for opening resources as read-only. Resources are now always opened as read-only. Fixes #559 2021-05-29 12:04:32 +02:00
biwa
793643b20d Open WAD dialog: don't filter for lowercase *.wad exclusively on non-Windows platforms. Resolves #567 2021-05-29 11:43:06 +02:00
biwa
839eb843bb Game configuration dialog: don't filter for only .exe and .bat when selecting a test program on non-Windows platforms. Resolves #566 2021-05-29 11:21:40 +02:00
biwa
d3205d4557 UDMF: ceiling plane equation fields are not rounded anymore 2021-05-28 18:56:50 +02:00
biwa
307c319375 Grid transform actions can now be assigned to special keys 2021-05-27 19:45:13 +02:00
biwa
369403c7de Action browser form: fixed a visual glitch with action ids that have more than 3 digits 2021-05-24 22:26:01 +02:00
biwa
0817ea2de6 Generalized options in game configurations can now optionally define a name 2021-05-24 21:37:23 +02:00
ZZYZX
9fcb45e1b1 Fixed: a single selected linedef was deselected after flipping it 2021-05-19 12:59:24 +03:00
biwa
ea15732e8d Vertical patch offsets for masked patches are now handled correctly based on the game configuration 2021-05-16 22:48:45 +02:00
biwa
5191e9822a Negative vertical patch offsets are now handled correctly based on the game configuration. Fixes #561 2021-05-16 16:47:42 +02:00
biwa
898fe21f75 TEXTURES lump: fixed a problem where textures that use textures as patches were too bright when gamma correction was enabled 2021-05-13 21:36:29 +02:00
biwa
0d78a48bd5 Fixed a problem where linedefs were not split correctly under certain conditions when drawing or moving lines 2021-05-13 14:44:15 +02:00
biwa
926fcd486d Visplane Explorer: added some additional error reporting when loading a map fails 2021-05-08 09:44:19 +02:00
biwa
3ae5b1e27d Fixed a problem where sprites with 16 rotations defined in the TEXTURES lump would not be handled correctly (they are still not displayed with 16 rotations, but don't throw an error anymore) 2021-04-27 20:12:46 +02:00
biwa
23c4325f96 Fixed a problem where UDB would try to compile a nonexistent DIALOGUES lump 2021-04-23 18:46:09 +02:00
biwa
f8e836a5cf Don't use thread unsafe collections in threaded code (hopefully fixes crash in Sectors Mode when selecting sectors) 2021-04-22 21:10:10 +02:00
biwa
d0f45982c1 3D Floor Mode: fixed a typo in an error message
3D Floor Mode: only 3D floors with the "user_managed_3d_floor" field set to true will be modified in UDMF maps
2021-04-22 18:45:28 +02:00
biwa
547aec7541 Sectors Mode: potentially fixed some crashes related to determining thing sectors 2021-04-22 16:12:14 +02:00
biwa
a790f224db Fixed a problem where dragging or drawing geometry sometimes broke sectors. Fixes #556 2021-04-21 22:24:10 +02:00
biwa
7d67ec2be9 Resetting a slope in Sector Edit Form UDMF or with the Reset Slope action will not set the height to the z position at the center of the sector anymore, but to its original height 2021-04-18 21:16:28 +02:00
biwa
83adef923d Increased performance on multi-core CPUs when selecting sectors in Sectors Mode when Synchronize Thing Editing is enabled 2021-04-17 20:06:58 +02:00
biwa
871d46e50c Added some sanity checks for maximum number of entries in the VERTEXES/SIDEDEFS/LINEDEFS/THINGS lumps for the binary map formats 2021-04-15 22:06:49 +02:00
biwa
37ef0ed868 Fixed a problem where saving a map would hang when the nodesbuilder produced too much output on stdout and strerr. Fixes #417. Fixes #498 2021-04-10 19:45:57 +02:00
biwa
ba497f1c45 Fixed some problems with determining which sector a thing is in 2021-04-10 11:31:36 +02:00
biwa
6b9565604d Sector Edit Form UDMF: fixed a bug where resetting a slope when the sectors doesn't have a slope resulted in a nonsensical sector height 2021-04-09 19:48:38 +02:00
biwa
f1bf6a6803 Fixed a crash that happened when a thing isn't inside a sector. Fixes #548 2021-04-09 07:26:15 +02:00
Derek MacDonald
da935dd8d7
VPO limit configurable for Visplane Explorer (#546)
https://doomwiki.org/wiki/Static_limits

The VPO limit is raised by Hexen (160) & Strife (200)
so make it configurable in the basegame.

The hover tooltip will reflect the adjusted max
limit and the heatmap is interpolated to 0-255
for the 256x10 visplane_pal.png colour range
gradient.
2021-04-08 21:41:40 +02:00
Derek MacDonald
bef514fabb
Ignore texture patch negative vertical offset (#544)
https://doomwiki.org/wiki/Vertical_offsets_are_ignored_in_texture_patches

BIGDOOR7 & STEP2 in doom.wad and doom2.wad contain
negative Y-offsets some a patch but instead the
renderer defaults to Y-offset value of 0.

This stops UDB's 3D visual mode from using the
negative value - change it to 0 to match the game
renderer. (G)ZDoom behaves the same as vanilla.
2021-04-06 21:16:50 +02:00
Derek MacDonald
f693959df4
Unchanged script editor skips implicit save (#543)
Stop calling ScriptFileDocumentTab.RemoveTrailingWhitespace()
on a text editor that has unchanged text. This causes the
currently-opened map to be marked 'isChanged == true' when
nothing is modified.
2021-04-06 20:38:48 +02:00
biwa
6c8a3cb50b Visual Mode: things inside self-referencing sectors are now displayed at the correct height 2021-04-05 19:15:14 +02:00
biwa
fe71e53edc Game configurations are now saved as soon as the configuration dialog is closed
Program preferences are now saved as soon as the configuration dialog is closed
Recent files are now saved as soon as an existing map is loaded
2021-04-02 12:13:22 +02:00
biwa
95f5c719b7 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
2021-04-01 23:31:52 +02:00
biwa
c748209eba Curve Linedefs Mode: fixed a problem where the curve would not flip when being dragged with the mouse 2021-04-01 21:44:49 +02:00
biwa
7dd0a0a4af OBJ Exporter: unchecking the "Generate ZScript/DECORATE" and/or "Generate MODELDEF" checkboxes will now really not generate the respective files 2021-04-01 21:12:34 +02:00
biwa
0bd049b29b Sectors Mode: fixed a crash when joining sectors. Fixes #539 2021-03-22 22:01:55 +01:00
biwa
ccfafec7d8 OBJ Exporter: fixed problem where parts of the dialog would be erroneously enabled or disabled 2021-03-22 18:14:05 +01:00
biwa
a771de1848 OBJ Exporter: once again trying to fix normals 2021-03-22 17:54:20 +01:00
biwa
72ff5ecf24 OBJ Exporter: fixed a problem where concave sectors with exactly four corners were not exported correctly. Fixes #249 2021-03-22 16:16:34 +01:00
biwa
6de1d10065 Script Editor: fixed a problem where folded blocks were unfolded unexpectedly when the script was saved. Fixes #392 2021-03-22 12:11:25 +01:00
biwa
6917ded506 Linedef Editing Form (UDMF): fixed a problem where activation checkboxes were shown red for actions that don't require activation 2021-03-22 10:56:31 +01:00
biwa
85b8b41580 Map Analysis Mode: checking for missing activation flags (UDMF) now finds linedef that are missing an actual activation flag, not only lines without any flags in that group. Fixes #288
Linedef Editing Form (UDMF): now only missing required activation flags are marked red
2021-03-22 10:41:21 +01:00
biwa
6c003f1cb1 Added support for only enabling editing modes when the current game configuration supports the features. Currently only applies to 3D Floor Mode, Slope Mode, and Draw Slope Mode. Fixes #463 2021-03-21 22:58:06 +01:00
biwa
58c476f4e5 Slope Mode, Draw Slopes Mode: both modes are now deprecated as they are superseded by visual sloping. The modes will be removed in the future. Entering the modes will add a warning to the Errors And Warnings dialog 2021-03-21 21:19:14 +01:00
biwa
72085284fe 3D Floor Mode: added option to use Synchronized Things Editing when (de)selecting sectors. Resolves #443 2021-03-21 19:42:43 +01:00
biwa
2ef76c39d0 Sector Edit Form (UDMF): fixed a problem where resetting slopes did not work correctly 2021-03-21 17:38:43 +01:00
biwa
8e95b074ec Visual Mode: fixed inaccuracies of when upper/lower textures are shown when sky rendering is enabled 2021-03-17 20:04:10 +01:00
biwa
a99d5c239b Fixed a bug where pasting texture offsets in UDMF configurations without support for local sidedef texture offset (like the Eternity UDMF configuration) didn't work. Fixes #538 2021-03-16 21:44:12 +01:00
biwa
2abcbfffab Fixed a bug where trying to align the grid to a linedef or setting the grid origin to a vertex would crash when no map was opened. Fixes #536 2021-03-14 16:40:55 +01:00
James R
feef304423
Ignore Keys.None event (#537)
Such an event invokes every unbound action.
2021-03-14 16:26:09 +01:00
biwa
5addd6508c Started to add support for arbitrary UDMF field associations (#401) 2021-03-14 15:58:40 +01:00
biwa
608d1e6ca2 Fixed some visual issues with the OBJ export dialog 2021-03-11 21:56:12 +01:00
biwa
a2b007b9ae OBJ model export: added option to disable generating ZScript/DECORATE and/or MODELDEF 2021-03-11 21:54:48 +01:00
biwa
122784f739 Removed limitation of 4 models per frame as this limitation is lifted in GZDoom 2021-03-11 21:06:34 +01:00
biwa
250b89dc4e Find And Replace Mode: added options to search for UDMF fields 2021-03-07 14:27:23 +01:00
biwa
b1583060b6 CVARINFO: added support for "nosave" scope 2021-03-06 23:07:04 +01:00
biwa
0264224e6e CVARINFO: added support for "cheat" and "latch" flags. Fixes #535 2021-03-06 22:51:22 +01:00
biwa
f0c985385a Added portal options to the sector edit form for the Eternity Engine UDMF configuration 2021-03-06 21:28:00 +01:00
biwa
677473fce8 Small cleanups to the build process 2021-02-28 11:30:13 +01:00
biwa
5534a93051 Sectors Mode: fixed a crash when merging sectors while a shared linedef between them was shown as an association 2021-02-28 01:44:38 +01:00
biwa
46c577b9e1 Fixed a bug where saving WADs that didn't have their data starting right after the header would corrupt the file. Fixes #531 2021-02-27 17:47:37 +01:00
biwa
d3a578c6cc Map Analysis Mode: fixed a crash when the sidedef of 1-sided lines had upper/lower textures defined. Fixes #533 2021-02-23 16:26:31 +01:00
biwa
1e3cf5ccec Using the "Reset plane slope" action now sets the floor or ceiling heights to the height of the plane at the sector's bounding box center 2021-02-20 16:26:35 +01:00
biwa
7d2e3db982 Fixed a bug where resetting the ceiling slope in the UDMF sector edit form would invert its original height 2021-02-20 16:17:32 +01:00
biwa
93cc15640f Error Checker: added config options to ignore unknown textures on sidedefs for certain actions. Resolves #518 2021-02-20 15:04:47 +01:00
biwa
b168570241 Added safeguard to MapSet.NearestLinedefRange if selectionmap is null. Might fix #529. 2021-02-20 13:11:03 +01:00
biwa
467f791bd3 Find and Replace Mode: fixed a bug where searching for linedef or thing action and arguments would not show "0" as an argument if it was the last arguments. Fixes 528 2021-02-20 12:29:35 +01:00
biwa
cbedfb24b5 DECALDEF parser: fixed a problem where opening curly braces in the same line as a decal definition caused a parsing error 2021-02-14 23:17:16 +01:00
biwa
3fbad3c8ac More fixes for erroneously being able to select object multiple times when paint selecting 2021-02-13 22:59:06 +01:00
biwa
18d56c6e04 Decorate/Zscript Actors that replace other actors should now display the correct actor name given through the $Title editor key. Fixes #122 2021-02-13 15:12:49 +01:00
biwa
3c7811de5e Added option for special handling of triangular sectors when doing visual sloping. When enabled it'll always select an opposite smart pivot handle. Enabled by default, can be disabled in Tools -> Preferences -> Editing -> Opposite side/vertex is smart pivot handle on triangular sectors 2021-02-13 12:03:37 +01:00
biwa
b70970ebcf Some refactoring related to visual sloping 2021-02-13 09:57:09 +01:00
biwa
41e1652bfc Successfully exporting as OBJ doesn't show up as a warning anymore 2021-02-07 16:50:42 +01:00
biwa
f80159d528 Toggling visual sloping is now only possible in UDMF 2021-02-07 16:48:45 +01:00
biwa
0911a3a9a4 Some more performance improvements related to visual sloping 2021-02-07 16:44:12 +01:00
biwa
c4c2f4b3fe Fixed a visual glitch where grid lines appear to be slightly offset when using a transformed grid 2021-02-06 15:09:16 +01:00
biwa
5ed77c5d05 Improved performance in visual mode related to visual slopes 2021-02-06 14:51:00 +01:00
biwa
90e7dd1149 Fixed a problem with visual vertex slope indicator angles 2021-01-31 18:29:58 +01:00
biwa
2b6c7b44c2 Fixed a problem where the last line of UDMF maps were not parsed correctly 2021-01-31 18:11:10 +01:00
biwa
d65fb7bbab Fixed a bug where map elements could be selected multiple times when paint selecting in visual mode. Fixes #519. Fixes #520 2021-01-31 00:12:07 +01:00
biwa
4f9111d075 Textures with whitespace at the beginning or end are now handled correctly. Fixes #522 2021-01-30 23:44:42 +01:00
biwa
4eb223b3f0 Added support for "abstract" ZScript functions. Fixes #523 2021-01-30 23:08:41 +01:00
biwa
5bcb27e51f Added some missing files
Some refactoring regarding visual sloping
2021-01-30 22:45:08 +01:00