Commit graph

2038 commits

Author SHA1 Message Date
ZZYZX
4fd97fec9c Added warnings about possibly invalid resource configurations before starting to edit a map 2022-09-18 20:54:53 +03:00
JaedenDuhreis
82f1ee09bc
Added parsing of relative includes in ZScript (PR#787 by JaedenDuhreis) 2022-09-15 19:04:07 +03:00
ZZYZX
aee47aacb0 Improved error reporting for invalid ZScript input 2022-09-15 03:12:27 +03:00
biwa
d16ffe135a Added some explanatory comments to source code 2022-09-13 19:45:27 +02:00
biwa
b24a2dda84 Visual Mode: fixed an issue where the crosshair was distorted after the viewport was resized. Fixes #321. Fixes #777 2022-09-03 13:07:16 +02:00
biwa
3fd7f99ba2 Fixed an issue where textures OBJ models with w components in their texture coordinates were not displayed correctly. Fixes #775 2022-09-03 12:25:26 +02:00
biwa
450198cfe7 Fixed a crash when trying to create the screenshot folder failed. Fixes #774 2022-09-03 11:12:37 +02:00
Alison Watson
6b0b047c57
Added support for some niche ZScript and MODELDEF syntax. Resolves #747 2022-08-23 13:37:58 +02:00
biwa
c1e69eb548 Fixed a problem where grid transform didn't work when the new origin had an x value of 0. Fixes #769 2022-08-21 12:18:13 +02:00
biwa
d597c11e1f Added "-debugrenderdevice" command line argument to write a logfile for the render device 2022-08-18 10:18:16 +02:00
biwa
c1e401013b Fixed a problem where IWADINFO lumps with properties without values failed for parse. Fixes #760 2022-08-13 13:48:59 +02:00
ZZYZX
692ceb719b Internal: fixed Linux and Mac build 2022-08-07 22:48:23 +03:00
ZZYZX
f11127ca71 Made non-existent ZScript classes a fatal error.
Added explicit warning if gzdoom.pk3 is not loaded for GZDoom game configurations.

Fixed tokenizer not picking up the very last token in the stream.
2022-08-07 21:26:22 +03:00
biwa
39ec35984d Fixed a problem where the flags selection form could be too small to accommodate the "OK" button when the game configuration contained too few flags 2022-07-21 16:02:10 +02:00
biwa
27ba367174 OBJ Models: fixed a crash that occurred when the usemtl directive had the texture to use in quotes. Fixes #758 2022-07-13 23:25:10 +02:00
biwa
fd68806dc6 Texture set definitions can now be imported/exported to/from game configurations using configuration files 2022-07-13 23:13:48 +02:00
biwa
cb12c83877 Fixed an issue that allowed to open Hexen format maps with a Doom format game configuration when using the "Open Map in Current WAD..:" feature. 2022-07-03 15:22:33 +02:00
biwa
a269b13a2d ZScript: fixed an issue where user default variables from class extensions were not applied 2022-06-12 20:24:30 +02:00
biwa
d46dc1413b Things: fixed an issue where inserting a new thing would not immediately apply ZScript user variables 2022-06-12 20:07:41 +02:00
biwa
5dc8d1eda0 Merge branch 'master' of https://github.com/jewalky/UltimateDoomBuilder 2022-06-11 13:16:14 +02:00
biwa
0f7d6c6062 CVARINFO: fixed a problem parvins CVARs with incompatible flags. Fixes #748 2022-06-11 13:14:38 +02:00
biwa
21e89cf975
Added support for ZDRay static light things 2022-06-02 20:18:35 +02:00
biwa
90cdb7db55 More fixes related to crashes when running actions when no map is opened 2022-05-29 17:30:54 +02:00
biwa
59de9762ad Fixed two crashes that happened when trying to reset the grid transform, or toggling the grid visibility while no map was opened 2022-05-29 10:47:00 +02:00
biwa
4f526dc57f Toolbar buttons now show their assigned shortcut key in their tool tip 2022-05-28 16:19:01 +02:00
biwa
57b796e87d Visplane Explorer Mode: fixed an issue that caused a crash when the map doesn't have nodes the Visplane Explorer Mode understands. Fixes #736 2022-05-27 15:52:53 +02:00
biwa
7e3dbdefac DeHackEd: editor keys are once again recognized 2022-05-15 00:38:36 +02:00
biwa
df29245a59 DeHackEd: fixed and issue where the "#" in "ID #" fields was erroneously interpreted as a comment. Fixes #735 2022-05-15 00:32:21 +02:00
biwa
d08bc4438b DECORATE/ZScript: fixed an crash introduced in 070aa9f36f that happened when a base actor didn't have a thing type info 2022-05-14 18:07:50 +02:00
biwa
070aa9f36f DECORATE/ZScript: fixed an issue where setting the thing category using the editor key didn't work for replaced actors. Fixes #729 2022-05-14 17:10:49 +02:00
biwa
183af344e6 DeHackEd: made reading comments in unexpected places more robust. Fixes #732 2022-05-11 23:28:50 +02:00
biwa
3cda0e53d1 Fixed an issue that prevented models from being loaded correctly when some model indices in MODELDEF were unused. Fixes #727 2022-04-23 17:23:22 +02:00
biwa
ddd68de72e Command line arguments:
- using "-map" with lower case parameter doesn't crash anymore
 - using "-cfg"/"-config" with a non-existing configuration file doesn't crash anymore
2022-04-17 18:09:29 +02:00
biwa
ac57fecf0c Fixed an issue where "WallTextures" from the TEXTURES lump were not loaded correctly. Fixes #719 2022-04-15 00:19:16 +02:00
biwa
5cb40a23c2 ZScript: fixed an issue where #include files were not parsed when the parent file had a //$GZDB_Skip comment. Fixes #716 2022-04-09 17:00:49 +02:00
biwa
9c7526a80c Added command palette that allows the user to search for (and execute) commands at any time. Unbound by default. Resolves #555 2022-04-09 11:10:41 +02:00
biwa
91d79e12be Moved some custom scaling code for MainForm from the designed file to code file 2022-03-20 16:17:00 +01:00
biwa
f8bb87e143 Fixed an issue where wall textures and flats did not have the correct precedence. Fixes #710 2022-03-05 16:57:23 +01:00
biwa
2dfe043e1e UDMF: fixed an issue where user variables with default values were not saved when their value was equal to the type's default value. Fixes #709 2022-02-26 16:21:59 +01:00
biwa
1f13839dbd Added event handler for when values change to ArgumentBox control 2022-02-19 11:21:28 +01:00
biwa
2a1d595173 Fixed a problem where the display was desaturated in certain situations in classic modes when wireframe rendering was enabled when exiting Visual Mode. Fixes #619
Fixed a problem where sectors were not desaturated correctly in classic modes on map load
2022-02-12 12:14:50 +01:00
biwa
6c2ad3efaf Linedefs Mode: further speed improvements related to sector labels 2022-02-08 21:30:54 +01:00
volte
be06471f52
Vertex rendering options (#701)
* Extended rendering options for drawing vertices
* Fixed vertex scale slider behaviour
* Force plot highlighted vertex in DragSectorsMode
* Moved ShouldRenderVertices property into the properties region
* made config file variable lower case to be in line with other config file variables
2022-02-06 12:19:03 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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