Commit graph

1880 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
2ef76c39d0 Sector Edit Form (UDMF): fixed a problem where resetting slopes did not work correctly 2021-03-21 17:38:43 +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
122784f739 Removed limitation of 4 models per frame as this limitation is lifted in GZDoom 2021-03-11 21:06:34 +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