Commit graph

3607 commits

Author SHA1 Message Date
biwa
6259b6d99f Linedefs Mode: improved performance when showing the vertex insertion preview 2022-02-05 00:44:04 +01:00
biwa
484b0817bd Snap selection to grid: fixed a problem that could cause a crash if geometry got removed by snapping it to the grid 2022-02-03 19:35:10 +01:00
biwa
b369b944f9 Visual Mode: fixed a problem that resulted in incorrect texture offsets when moving a texture by grid size, and the grid was a multiple of the texture size 2022-02-02 19:37:43 +01:00
volte
d37e2400bc
Made classic rendererer respect per-surface light levels (#698) 2022-01-31 19:49:26 +01:00
MascaraSnake
5ed59088fc Add support for Peg Midtexture flag 2022-01-30 08:39:16 +01:00
biwa
6f8d617347 Fixed typos introduced in 78ded20481. 2022-01-29 18:59:24 +01:00
biwa
c12b9f624d OBJ Exporter: fixed a problem where the model path controls were disabled unless creation of MODELDEF was enabled. Fixes #692 2022-01-29 18:37:41 +01:00
MascaraSnake
a604d5b382 Display SRB2's mapthing slopes in Visual Mode 2022-01-29 16:23:43 +01:00
biwa
78ded20481 GZDoom game configuration: added support for distinct upper/middle/lower sidedef brightness levels. Resolves #694 2022-01-29 14:48:41 +01:00
biwa
e0313a18bb DeHackEd: fixed a problem where patches with things without names resulted in an parsing error 2022-01-28 00:59:48 +01:00
biwa
a86fce577e Game configurations: added ability to show certain UDMF fields on specific thing types only 2022-01-27 19:34:28 +01:00
biwa
8274321cf1 UDBScript: fixed a bug where changing a thing's or linedef's arguments did not recorded for the undo system 2022-01-25 16:30:46 +01:00
biwa
8536eb1d95 Game configuration: fixed a crash when using enums for universal field definitions
GZDoom game configuration: added enum list for the automapstyle UDMF linedef field
2022-01-23 19:02:45 +01:00
biwa
1b69dbe795 UDBScript: fixed a problem where getting a highlighted map element would not work correctly in some circumstances 2022-01-23 17:58:04 +01:00
biwa
afa09e6c64 Fixed a problem where polyobject numbers where not sorted correctly in the editing dialogs. Fixes #690 2022-01-22 11:06:13 +01:00
volte
910bd0fb22
Made the classic renderer ignore texture brightening settings (#687) 2022-01-19 17:58:12 +01:00
MascaraSnake
cc2fbe1c4b Add rudimentary support for SRB2's FOFs to Visual Mode 2022-01-17 20:21:36 +01:00
MascaraSnake
f6f4cea346 Refactor the Effect3DFloor code to prepare for SRB2's 3D floor types 2022-01-17 19:10:15 +01:00
volte
02b0e93049
Added radial drawing capability to Rectangle and Ellipse tool (#689) 2022-01-16 20:42:45 +01:00
biwa
6d70c70fdc ZScript: user variables from mixins now show up in the "custom" tab of the edit thing dialog 2022-01-16 20:27:18 +01:00
volte
69cac01827
Hotfix for potential crash if COLORMAP or PLAYPAL don't have expected size (#685) 2022-01-08 10:48:16 +01:00
biwa
9612b80924 Visual Mode: added toggleable option to select all adjacent visual vertex slope handle when selecting a visual slope vertex handle. The action is called "Toggle Adjacent Visual Vertex Slope Selection" 2022-01-07 16:28:06 +01:00
biwa
cfada3b4c9 UDBScript: the progress bar in the running script dialog now stops its animation when no progress was set and the script finished. 2022-01-07 11:56:26 +01:00
biwa
8992b66df5 UDBScript: fixed a problem where the UDB.log() method crashed when a non-string object was passed to it 2022-01-07 11:51:04 +01:00
biwa
92fefb766a UDBScript: the scalex and scaley UDMF properties of things can now be set through the UDMF fields 2022-01-07 11:45:13 +01:00
biwa
d59342ed7f UDBScript: groups all classes, objects, and methods in a new UDB namespace, usable with the new feature version 4. Updated the documentation accordingly. Resolves #679 2022-01-06 18:46:37 +01:00
volte
7fbd07e586
New feature: classic lighting renderer for visual mode (#680)
Added classic rendering mode to closer emulate software renderer visuals in visual mode
2022-01-04 20:17:12 +01:00
volte
90896acd43
Additional camera movement actions in visual mode (#682)
Added "Orbit" and "Move Camera to Cursor" visual mode actions (not bound by default)
2022-01-03 15:46:00 +01:00
biwa
e2374102ee
UDBScript asynchronous execution (#684)
Script run by UDBScript are now executed asynchronously
2022-01-03 14:33:34 +01:00
biwa
12f32e2bc6 UDBScript: fixed a bug where Map.nearestLinedef, Map.nearestThing, Map.nearestVertex, and Map.nearestSidedef would not return valid objects when no nearest map element was found 2021-12-28 11:21:37 +01:00
biwa
0bb555622e Fixed a crash with Mono that happened because of the placeholder text in the "additional parameters" text box in the testing drop down menu. Fixes #677 2021-12-27 01:51:10 +01:00
biwa
5c61600d0f Removed some debugging code 2021-12-26 15:36:00 +01:00
biwa
69a3194d69 Fixes for Mono in the ScriptEditorPanel 2021-12-26 13:21:54 +01:00
biwa
288de511e4 DECALDEF: fixed a bug where the drop down list of available decals was empty. Fixes #678 2021-12-26 13:11:00 +01:00
biwa
bc18ae1558 Event lines are now shown between things and map elements even if the thing doesn't have an action, but directly uses its args. Resolves #676 2021-12-26 11:40:13 +01:00
biwa
634225b77b UDBScript: Exported the classes Linedef, Sector, Sidedef, Thing, and Vertex, so that they can be used with instanceof
UDBScript: Map class: the getSidedefsFromSelectedLinedefs() method now correctly only returns the Sidedefs of selected Linedefs in visual mode (and not also the highlighted one)
UDBScript: Map class: added a new getSidedefsFromSelectedOrHighlightedLinedefs() method as the equivalent to the other getSelectedOrHighlighted*() methods
UDBScript: Sector class: added new floorSelected, ceilingSelected, floorHighlighted, and ceilingHighlighted properties. Those are mostly useful in visual mode, since they always return true when the Sector is selected or highlighted in the classic modes. The properties are read-only
UDBScript: Sidedef class: added new upperSelected, middleSelected, lowerSelected, upperHighlighted, middleHighlighted, and lowerHighlighted properties. Those are mostly useful in visual mode, since they always return true when the parent Linedef is selected or highlighted in the classic modes. The properties are read-only
UDBScript: added new example to apply textures for floor/ceiling and upper/middle/lower texture for selected map elements
UDBScript: updated documentation
2021-12-25 14:43:56 +01:00
biwa
ca7b9e8b7e DeHackEd: fixed a crash with malformed patches. Fixes #673 2021-12-23 12:48:04 +01:00
biwa
0f51f23360 Improved associations between arbitrary UDMF fields (used by the Eternity Engine game configuration) 2021-12-17 16:33:42 +01:00
biwa
bc2a74d155 Find and Replace Mode: fixed a problem where linedef activation flags could not be found or replaced. Fixes #667 2021-12-14 21:29:05 +01:00
biwa
54b99ee710 Added missing source file for placeholder tool strip text box 2021-12-14 18:19:47 +01:00
biwa
a5df323717 Added option to enter additional parameters when testing a map. Resolves #646 2021-12-14 18:15:23 +01:00
biwa
9f85f70deb When choosing a difficulty or engine in the test toolbar button the engine will not be launched immediately. This can be reverted in the preferences. Resolves #626 2021-12-11 12:43:33 +01:00
biwa
a75249b315 ACS parser: fixed problem when trying to include files that contain invalid characters. Fixes #664 2021-12-11 11:27:29 +01:00
biwa
32acb551c3 UDBScript: clarified documentation of QueryOptions when using enums 2021-12-10 20:18:50 +01:00
biwa
6cad9218f0 Script editor: Reverted to an old version of ScriptEditorPanel 2021-12-10 18:18:25 +01:00
biwa
a69141c3d0 Script editor: made the fix for #663 a bit cleaner 2021-12-10 18:13:16 +01:00
biwa
0945875bd6 Script editor: fixed a crash when opening the script editor. Fixes #663 2021-12-10 17:58:03 +01:00
biwa
3226e0d5a6 UDBScript: fixed a problem where a version warning was shown then the script version was not equal to the UDBScript version (instead of only showing the warning when the script version was higher) 2021-12-10 12:55:44 +01:00
biwa
ebd7d0c01c UDBScript: the methods of the Pen class now return the instance of the Pen class to allow method chaining. Resolves #662 2021-12-10 11:54:22 +01:00
biwa
d68f41a2a3 IPK3 and IPK7 with an IWADINFO lump with a single IWAD definition are now recognized as the main resource file (used for the -iwad parameter when testing). Fixes #653 2021-12-10 11:10:42 +01:00
biwa
ee307fcda3 UDBScript: fixed a problem where using QueryOption resulted in an exception being thrown. Fixes #661 2021-12-09 00:57:12 +01:00
biwa
8157c0a6bd ZScript: user variables of parent actors were not displayed in the custom tab of the thing editing dialog. Fixes #649 2021-11-29 00:35:57 +01:00
biwa
686cebd64d DeHackEd: fixed a problem where only the last DEHACKED lump was parsed. Fixes #657 2021-11-28 18:20:46 +01:00
biwa
a9284f0cc6 Fixed a problem where DeHackEd lumps failed to parse when their header wasn't at the beginning of the file. Fixes #647 2021-11-28 18:02:35 +01:00
biwa
6f0330d650 Drag Geometry Mode: floor and ceiling panning are now correctly preserved when dragging geometry. Fixes 648 2021-11-28 15:52:09 +01:00
biwa
86cc9ca909 UDBScript: expanded/collapsed status of the directory structure is now saved correctly 2021-11-28 15:01:09 +01:00
biwa
843058c76c UDBScript: directories are now expanded by default 2021-11-28 14:50:49 +01:00
biwa
5eb438e3ba
Add map scripting capabilities to UDB (#656)
Added map scripting capabilities to UDB (#656). Documentation at https://biwa.github.io/udbscript-docs/
2021-11-28 14:00:24 +01:00
biwa
b8892f7edb ZScript parser: fixed a bug where trying to parse the undocumented alternative array declaration syntax failed. Fixes #645 2021-10-26 23:50:34 +02:00
biwa
bd887c1f27 Fixed an issue where thing positions were modified even when the new position was the same as the old one. Fixes #644 2021-10-25 00:32:10 +02:00
biwa
7448e0fb05 Fixed a crash when undoing/redoing while in Things Mode 2021-10-24 20:28:36 +02:00
biwa
a0971e0ef2 Added option to reselect changed map elements after undo/redo 2021-10-24 19:22:00 +02:00
biwa
161e5ed5b5 ZScript parser: fixed a bug where included files where parsed when the #include directive was encountered, and not after the rest of the file was parsed. Fixes #641 2021-10-23 20:02:40 +02:00
biwa
ca264c71b1 Visual Mode: fixed a bug where textures on 3D floors were not scaled correctly when using the upper/lower texture 3D floor flags. Fixes #640 2021-10-21 20:25:56 +02:00
biwa
c2e7ac9b6b Script editor: added support for the //$Skip editor in scripts. Adding this line will not add the next script to the drop down list of available scripts for the ACS actions in the thing and linedef editor dialogs. Resolves #636 2021-10-15 23:38:52 +02:00
biwa
cbe231c853 Image Exporter: added option to chose between taking sector colors into account or not when exporting. Resolves #635 2021-10-14 21:43:41 +02:00
biwa
c2a6e577c7 Image Exporter: fixed a bug where texture scales were not taken into account when exporting. Fixes #634 2021-10-14 21:09:49 +02:00
biwa
dee9a2a183 Map Analysis Mode: checked status of checks is now remembered between sessions. Resolves #629 2021-10-13 22:51:28 +02:00
biwa
8f70ab66f2 ZScript: fixed a problem where whitespace between a state label and the colon resulted in a parsing error. Fixes #631 2021-10-11 21:34:26 +02:00
biwa
80e56310a3 UDMF reader/writer: fixed a bug where unknown top level fields and blocks were not preserved. Fixes #627 2021-10-03 21:04:38 +02:00
biwa
d8bd7165a7 Visplane Explorer: fixed a bug where changing the settings after re-entering the mode would result in a crash. Fixes #624 2021-10-01 23:38:59 +02:00
biwa
ff96a669e0 Fixed a problem where floating point numbers for actor radius and height were not interpreted correctly. Fixes #623 2021-09-28 17:36:16 +02:00
biwa
ef18385ee7 Fixed a problem in the UDMF parser that could cause data loss. Fixes #622 2021-09-28 16:02:46 +02:00
biwa
b0cfc8ef26 Added an option to run commands before and after resources are reloaded, and before testing a map. This option can be accessed from the map options dialog. 2021-09-27 16:33:35 +02:00
biwa
a53198f44e Find And Replace Mode: fixed a bug where searching for UDMF fields in a selection would crash 2021-09-19 22:45:55 +02:00
biwa
0039945086 Eternity Engine game configuration: it's again possible to set the floor and ceiling brightness independently from the sector brightness 2021-09-13 21:19:48 +02:00
biwa
05939279dc Dehacked: fixed a crash when loading data from a directory that didn't contain a Dehacked patch 2021-09-11 22:47:52 +02:00
biwa
fca82f5c91 Dehacked: added support for editor keys
Dehacked: Dehacked files are now properly loaded from directories
2021-09-11 22:11:07 +02:00
Derek MacDonald
4b1e5d8e22
Avoid infinite recursion in script editor's Find/Replace All (#615) 2021-09-11 12:30:08 +02:00
biwa
0b70b08bd8 Fixed some compiler warnings 2021-09-06 23:43:30 +02:00
biwa
21471a45f9 Dehacked: fixed warning about unsupported patch version 19 2021-09-06 23:27:07 +02:00
biwa
da52f71154 Game configurations: added option to enable/disable GZDoom style distinct brightness for walls/ceilings/floors. Fixes #618 2021-09-06 23:05:58 +02:00
biwa
d766f27e75 Fixed a bug with generalized options introduced in ea37ed1 2021-09-05 16:42:27 +02:00
biwa
e362df1d98
Added DeHackEd support (#617) 2021-09-05 14:59:31 +02:00
biwa
5a19e70c05 Visual Mode: added some safeguards against potential crashes that should never happen. Potentially fixes #614 2021-09-05 11:06:50 +02:00
biwa
fa36bf48aa 3D Floor Mode: improved usability in Window's high contrast mode 2021-09-04 12:37:27 +02:00
biwa
dd7d109e2b Sectors Mode, Linedefs Mode, 3D Floor Mode, Grid Setup: fixed a problem where textures were not shown in Windows's high contrast mode. Fixes #612 2021-09-04 12:21:17 +02:00
biwa
ea37ed18fc Fixed a problem where generalized effects could output a warning if they are made up of multiple bits (like in the MBF21 generalized sector effects) 2021-09-04 09:12:16 +02:00
biwa
2abd39fa97 Texture Browser: fixed a problem where cycling through the width and height jumped to 196 instead of 192. Fixes #613 2021-09-04 08:58:00 +02:00
biwa
e281cfc93e 3D Floor Mode: fixed some problems when relocating control sectors that contain things 2021-09-03 20:00:14 +02:00
biwa
d05ab0bb8b 3D Floor Mode: relocating control sectors now also moves the things inside the control sectors 2021-09-03 19:11:12 +02:00
Derek MacDonald
d7a4e2bf8b
Missing/Unused Textures checks cover floor to lowest, next higher & highest (#608) 2021-09-03 18:31:36 +02:00
Derek MacDonald
e75dc2c746
Draws vector arrow between Doom format line-to-line specials (#602) 2021-08-25 20:31:28 +02:00
Derek MacDonald
edfd1fcae8
Cursor position playtest: stop always marking map changed (#605) 2021-08-25 19:28:20 +02:00
Derek MacDonald
f652678f35
Cursor position playtest: Fix spawning sector height check (#604) 2021-08-25 19:25:03 +02:00
biwa
0fb187fcbe Stair Sector Builder Mode: current settings can be now be saved as a default prefab that will always be loaded when using the Stair Sector Builder Mode 2021-08-24 22:21:14 +02:00
biwa
c047998501 Classic modes: fixed a problem where "test from cursor position" wasn't working correctly when there was no player 1 start in the map and the last edited thing had its argument 0 set. Fixes #603 2021-08-24 21:33:57 +02:00
biwa
b77bb9fe6f Visual Mode: fixed a problem where highlighted visual slope handles were not highlighted anymore after clearing the selection 2021-08-24 20:25:36 +02:00
biwa
19f1cf64cd 3D Floor Mode: fixed a problem where 3D floor indicators on linedefs were still shown after removing all 3D floors from a sector 2021-08-23 22:32:13 +02:00
biwa
45dc796dca ZScript: added support for extending classes. Resolves #597 2021-08-21 20:42:06 +02:00
Derek MacDonald
be84f19da1
Add player view height dropdown to Visplane Explorer plugin UI (#600) 2021-08-21 09:28:05 +02:00
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
biwa
5d1492c5c2 Added visual sloping for vertices (has an extra action to toggle visual vertex slope picking) 2021-01-30 22:01:55 +01:00
biwa
478690e08f Fixed a potential crash when changing the ceiling texture to or from sky. Fixes #517 2021-01-06 19:37:58 +01:00
biwa
7cec462a15 Fixed a problem where values specified with the UserDefaultValue editor key in ZScript were not applied for float/double values 2021-01-04 13:28:45 +01:00
biwa
46962aac89 Using visual sloping to create a horizontal slope will now remove the slope and set the appropriate sector height instead
The Edit Sector dialog will not remove horizontal slopes anymore unless necessary
2021-01-01 22:08:54 +01:00
biwa
4f5a4eba24 Visual Mode: fixed a problem where pasting a texture to a 3D floor sometimes didn't show the pasted texture immediately 2020-12-31 11:43:56 +01:00
biwa
23dacae944 OBJ exporter: changed tab order to make sense 2020-12-30 22:13:34 +01:00
biwa
9090642d4e Fixed a problem where custom boolean UDMF fields could not set be to false 2020-12-28 20:22:04 +01:00
ZZYZX
2945ca24cd Fixed: flat slope != no slope 2020-12-28 00:47:55 +02:00
ZZYZX
eaa5227dc8 Slightly tweaked size of Controls list. Added 'Reset plane slope' action. 2020-12-28 00:13:56 +02:00
biwa
a3aba9b371 OBJ Exporter: textures to skip are now saved between sessions 2020-12-24 21:28:55 +01:00
biwa
4087506446 OBJ Exporter: fixed a problem where textures were flipped horizontally 2020-12-24 20:59:51 +01:00
biwa
7f1442ce86 Export selection to image: added progress bar and button to cancel export 2020-12-24 15:00:16 +01:00
biwa
676a8c0a26 OBJ Exporter: added sanity checks to the actor name 2020-12-23 22:08:56 +01:00
biwa
1a68194869 OBJ Exporter: model can now be centered or has its z position normalized when not exporting for GZDoom 2020-12-23 20:58:24 +01:00
biwa
d8d03916ea Added safeguard against crashes related to config disposing. Fixes 251. Fixes 352. Fixes 514. 2020-12-23 16:43:59 +01:00
biwa
7b42ba622f The docker is now expanded by default so that users actually realize that it exists (new installations only) 2020-12-23 11:49:51 +01:00
biwa
2c5a433d57 Export selection to image: fixed a problem where the export failed when sectors had a brightness of more than 255 2020-12-23 11:10:47 +01:00
biwa
a17ecae740 Curve Linedefs Mode: fixed a problem where it was impossible to flip fixed curves when the distance was set to 0. Fixes 487 2020-12-16 18:06:02 +01:00
biwa
9f58a545f6 Fixed a crash that could happen when the blockmap was too small because of off-grid vertices 2020-12-13 14:03:53 +01:00
biwa
931bd1e225 Fixed a problem where the DistanceCheck actor property didn't work correctly, resulting in things unexpectedly not being drawn in Visual Mode 2020-12-12 11:48:46 +01:00
biwa
cd7a156cd7 Sectors Mode: fixed a problem where copying/pasting sector properties could not copy/past Doom 64 style sector/wall/sprite colors, and floor/ceiling glow. Fixes #508. 2020-12-06 12:10:21 +01:00
biwa
bb7cf59a65 Sectors Mode: fixed a problem where things were not selected correctly when synchronized thing edit was enabled 2020-11-22 18:19:47 +01:00
biwa
c5054c5449 Fixed a problem where duplicating 3D floors sometimes changed the slopes of adjacent 3D floors 2020-11-21 22:38:16 +01:00
biwa
f2f0e1bae1 Export selection to image: added option to scale the output image to a higher resolution 2020-11-21 17:44:10 +01:00
biwa
cf61c74e35 Export selection to image: decreased memory footprint 2020-11-21 15:14:48 +01:00
biwa
0f3e979fa9 Color picker dialog: custom colors are now saved 2020-11-21 13:12:01 +01:00
biwa
82af8bfe56 Fixed a bug with argument boxes where the value wasn't saved correctly when using the mouse wheel to change the value 2020-11-19 22:14:19 +01:00
biwa
3ee12f4ca7 Sectors Mode: tag and effect labels are now only updated when necessary, increasing performance 2020-11-16 00:45:57 +01:00
biwa
c7b383595a MapSet.NearestLinedefRange using a blockmap now takes into account that the maxrange could be bigger than the blockmap block size 2020-11-15 13:59:04 +01:00
Magnus Norddahl
49edfed449 Fix MakeAlphaTestImage performance issue 2020-11-15 03:20:41 +01:00
biwa
8b643aef65 Wavefront OBJ exporter: improved handling of long texture names. Probably fixes #495 2020-11-06 20:59:13 +01:00
biwa
f040306c55 Linedefs Mode: fixed a problem where after splitting a linedef the insert vertex preview would not work correctly
Vertices Mode: fixed a problem where after inserting a vertext the insert vertex preview would not work correctly
2020-11-06 20:14:00 +01:00
biwa
601d741b7e Vertices Mode: fixed a potential crash when deleting/dissolving vertices 2020-11-01 23:08:41 +01:00
biwa
41e6632b18 Sectors Mode: fixed an potential crash when joining/merging sectors 2020-11-01 21:29:57 +01:00
biwa
f4510aba3e Draw Geometry Modes: removed status messages expressing negative feeling when finishing a drawing and replaces them with positive messages 2020-11-01 18:49:15 +01:00
biwa
9c85635ff0 More renaming GZDB Visual Mode to just Visual Mode
The exception dialog now correctly states that it's UDB and not GZDB
2020-11-01 18:33:19 +01:00
biwa
15772da839 Texture browser: using the tab key to jump between the currently selected used texture and the position of the texture in the list of all textures works again (this time without toggling the "used textures on top" checkbox). Also added option to vertically center the view on the selected texture (enabled by default) 2020-11-01 18:21:22 +01:00
biwa
eab7de4f9e New map dialog: the "open map resources in read-only mode" option is now checked by default. This option is deprecated and will be removed entirely eventually 2020-11-01 11:57:53 +01:00
biwa
5820665e70 Some project file fixes 2020-11-01 11:37:44 +01:00
biwa
2dda3d228d Visual Mode: changed name from "GZDB Visual Mode" to simply "Visual Mode". The naming difference was for historical reason that doesn't apply anymore. Also reverted the mode icon to the original one 2020-11-01 11:31:57 +01:00
biwa
5a1ceb2a9c Linedef edit form (UDMF): fixed a problem where the first argument was set to 0 instead left blank when multiple lines with script execution actions were being edited 2020-10-31 23:40:12 +01:00
biwa
00d9be5266 Things Mode: increased rendering speed 2020-10-31 21:13:37 +01:00
biwa
7a5c7e5090 Linedefs Mode: increased rendering speed 2020-10-31 21:06:24 +01:00
biwa
4a0e1d7c62 Sectors Mode: significantly increased rendering speed 2020-10-31 20:45:05 +01:00
biwa
4991c323c3 Linedefs Mode, Sectors Mode, Vertices Mode, Sound Environment Mode, Sound Propagation Mode: slightly improved performance when moving the mouse 2020-10-31 16:09:22 +01:00
biwa
d831d22217 Visual Mode: fixed a problem where wide classic skies were not rendered with the correct orientation 2020-10-29 20:21:42 +01:00
biwa
bb5780cf28 Thing/Linedef/Sector editing dialog: fixed a crash when pressing the up key in the action input box when the last action is selected. Fixes #493. 2020-10-25 01:52:49 +02:00
biwa
8330c70a41 Configuration file parser: floating point numbers without the "f" suffix are now parsed as double precision floating point numbers 2020-10-24 23:27:04 +02:00
biwa
0fc2296ce9 ACS parser: fixed a bug that prevented scripts from being recognized when the previous line ended with an empty line comment 2020-10-24 21:23:06 +02:00