Commit graph

3561 commits

Author SHA1 Message Date
MascaraSnake
6fba87cfaa Linedef edit form: Add field for executordelay 2022-12-29 21:38:20 +01:00
MascaraSnake
c5d91d15fc Began implementing linedef edit form for SRB2 2022-12-29 21:02:53 +01:00
MascaraSnake
d29bd54034 Refactor code that relies on the number of action args being exactly 5 2022-12-28 23:04:32 +01:00
MascaraSnake
51d56016f3 Refactor the code that open edit forms, to make it easier to add different forms in the future 2022-12-28 13:10:04 +01:00
biwa
5cf8ed914a Comments Panel: docker is now only updated when it is visible 2022-12-25 18:24:52 +01:00
biwa
e0e61d63ec Tag Explorer: docker is now only updated when it is visible 2022-12-25 15:20:23 +01:00
biwa
db8babf811 Nodes Viewer Mode: a crash that could happen when the nodes header was interpreted as an UTF-8 value should be fixed for good now (#827) 2022-12-11 11:02:03 +01:00
biwa
65f1b6c209 Fixed a crash that occurred when using the NullTexture option in the TEXTURES lump. Fixes #833 2022-12-10 19:11:28 +01:00
biwa
af25e772e3 Improved performance in classic modes when panning the view. This is achieved by parallelizing plotting linedefs and vertices on multiple logical CPU cores. Enabled for linedefs by default. Disabled for vertices by default, since it can cause flickering when vertices are close to each other. Settings can be changed in Preferences -> Appearance 2022-12-09 15:37:45 +01:00
biwa
e49c91960b UDBScript: setting an UDMF string field to an empty string will not remove the field anymore, but actually set it to an empty string 2022-11-27 16:49:05 +01:00
biwa
02bc20b736 Nodes Viewer Mode: fixed a potential crash when loading classic nodes. Fixes #827 2022-11-27 12:04:23 +01:00
biwa
f839269a72 Disabled visual sloping for game configurations that do not support plane equation slopes. Fixes #828
Added toasts for visual sloping events
2022-11-27 11:02:26 +01:00
ZZYZX
30548f1765 Fixed crash on AMD hardware (resolves #820 reported by AlexMax) 2022-11-23 18:43:51 +02:00
biwa
5b2b149b40
UDBScript version 5 (#819)
Improved UDBScript to version 5:

- Added Plane class
- Added BlockMap, BlockEntry, and BlackMapQueryResult classes
- Sector class
  - Added getLabelPositions method to get the position of sector labels (where tags, effects etc. are displayed)
- Added support for JavaScript BigInt for UDMF fields. This means it's not necessary anymore to use UniValue to assign integers to new UDMF fields. Instead it can be done like this: sector.fields.my_int_field = 1n;
- Added type information file (udbscript.d.ts)
2022-11-13 01:15:17 +01:00
biwa
204982e5f8
Add support for toasts (#817)
Behavior can be configured in the "Toasts" tab in the preferences.
2022-11-06 15:08:22 +01:00
biwa
13e53ece53 3D Floor Mode: added support for UDMF game configurations without support for sectors with multiple tags (i.e. Zandronum) 2022-11-04 19:49:53 +01:00
biwa
d30347b81b Game Configuration dialog: fixed an crash related to required resource checks when switching through the game configurations too quickly. Fixes #813 2022-10-29 11:14:10 +02:00
biwa
86b86ac67a MODELDEF: added support for the rotation-center command. Resolves #796 2022-10-21 20:29:30 +02:00
biwa
df6ea3ebcd Resource options form: fixed a problem where the text box containing the path to the file could be focused. Fixes #806 2022-10-20 20:40:07 +02:00
biwa
27cc74a440 Fixed a potential crash when adding DECORATE files to game configurations that check for required resources. Fixes #808 2022-10-20 20:10:30 +02:00
biwa
c751ad5a97 Things Mode: fixed an issue where the thing info panel did not show enum values for the first argument. Fixes #804 2022-10-20 20:00:28 +02:00
biwa
9e5a6b5377 Tag Range plugin: fixed a problem where the new tags were not displayed in Sectors Mode when selection numbering was disabled. Fixes #795 2022-10-03 11:29:31 +02:00
ZZYZX
7de0c65b61 Fixed threading and Mono issues in resource check 2022-09-26 23:45:19 +03:00
ZZYZX
1174d1ac10 Fixed a possible cause for infinite resource check loader 2022-09-25 20:41:19 +03:00
biwa
9c4c63a749 Sectors Mode: fixed a regression where sector labels were not updated after editing sectors. Fixes #793 2022-09-21 21:05:30 +02:00
biwa
fa5c741b76 Fixed a regression where editing map elements did not preserve the selection order, but used the index order instead. Fixes #791 2022-09-20 23:52:41 +02:00
ZZYZX
e7ccffa498 Fixed regression in resource list editor where it'd get fucked if the user has non-standard UI scaling enabled 2022-09-19 12:26:26 +03:00
ZZYZX
85a4c3a651 Fixed: Map options form window would become squished if the starting game configuration is invalid 2022-09-19 10:13:27 +03:00
ZZYZX
ca5c77251e Fixed Mono build 2022-09-18 21:27:32 +03:00
ZZYZX
4fd97fec9c Added warnings about possibly invalid resource configurations before starting to edit a map 2022-09-18 20:54:53 +03:00
biwa
179f72068f Things/Linedefs/Sectors/Vertices Modes: standardized how editing and selection works:
- editing a highlighted, not selected map element will deselect other selected map elements, then start editing the highlighted map element
- dragging a highlighted, not selected map element will deselect other selected map elements, then start dragging the highlighted map element
- dragging a single map element will keep its selection state. I.e. dragging a selected map element will not deselect it after dragging anymore
  - dragging a highlighted, not selected thing will not select it after dragging
- dragging a highlighted, not selected sector, while other sectors are selected, will only drag the highlighted sector, and not the selected sector (and deselect the selected sectors)
2022-09-18 16:54:09 +02:00
biwa
7f09ac752b UDBScript: fixed a crash when the UDBScript folder was missing or empty. Fixes #789 2022-09-17 13:53:02 +02: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
biwa
d2967e7a78 Linedefs Mode: fixed a problem where the "Select Single-sided only" and "Select Double-sided only" actions would still display the selection numbers of deselected linedefs 2022-08-28 18:25:50 +02:00
biwa
bacaff5b6b - Sector Color Picker: fixed a problem where the dialog could not be closed using the "enter" or "ESC" buttons
- Light/Sector Color Picker: fixed a problem where closing the dialog would result in a flicker
- Light Color Picker: fixed a problem where canceling the dialog would not revert the color settings
2022-08-23 14:41:03 +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
91010eb92f Nodes Viewer Mode: fixed a crash when the NODES lump contains unsupported ZDBSP nodes. Fixes #766 2022-08-16 14:34:52 +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
cdce5c0a8b Sound Environment Mode: fixed an issue that caused building sound environments to fail when the arguments of the Sound Environment thing had unexpected values. 2022-07-02 23:28:07 +02:00
biwa
59757c3be5 Sound Environment Mode: fixed a crash that happened when exiting Draw Lines Mode with the "edit" action and returning to Sound Environment Mode. Fixes #755 2022-07-02 19:25:10 +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
ab6d46a690 Visplane Explorer Mode: fixed an issue where detecting nodes type failed in certain situations 2022-06-02 00:06:27 +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
a1df690ae4 Merge branch 'master' of https://github.com/jewalky/UltimateDoomBuilder 2022-05-09 23:16:21 +02:00
ZZYZX
c82ef4880c Fixed: Doom64 sector floor color was not applied to a sector below a 3D floor 2022-05-10 00:10:55 +03:00
biwa
d1e9043958 Visual Mode: fixed an issue where using the "apply camera rotation to things" action did not update the thing cages properly 2022-05-08 16:42:15 +02:00
biwa
ccdbc28ed8 Visual Mode: fixed an issue where deleting a thing could cause a crash. Fixes #730 2022-05-07 18:49:36 +02:00
biwa
44a2a0daae Edit Selection Mode: floor and ceiling textures can now be pinned independently. Fixes #728 2022-05-07 17:44:06 +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
d363ab9c30 Draw Settings docker: fixed an issue where toggling the texture check boxes stopped texture overrides from being applied 2022-04-18 16:02:54 +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
f8e0f0b25b Map element associations: fixed a problem where things that have a argument of type tag set to 0 were referencing all things with tag 0. Fixes #718 2022-04-09 19:14:46 +02:00
biwa
98d32f7946 Linedefs Mode: fixed a crash that could happen when the mouse was moved out of the map control while an UDBScript was modifying the map 2022-04-09 17:52:38 +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
5115686a69 Sectors Mode: fixed a crash that could happen when the mouse was moved out of the map control while an UDBScript was modifying the map 2022-03-15 21:31:00 +01:00
biwa
9b08454138 Edit Selection Mode: improved handling of texture transformation (still doesn't work 100% correctly) 2022-03-14 19:52:46 +01:00
biwa
6a55d0086f - Further improvements to the installer and updating process
- The updater can now update itself
2022-03-13 16:51:56 +01:00
biwa
e2ed08261e Map Analysis Mode: fixed an issue where lines were erroneously reported as overlapping in certain situations. Fixes #713 2022-03-11 12:31:48 +01:00
biwa
4f0692e132 More fixes to the Mono project files 2022-03-05 20:59:08 +01:00
biwa
453651e5c9 Added missing preprocessor directives to the 3D Floor Mode Mono project file 2022-03-05 20:30:34 +01:00
biwa
f0f4642581 3D Floor Mode: 3D floor editing dialog can now be resized on non-Windows platforms. Fixes #712 2022-03-05 18:15:29 +01:00
biwa
cb24e346ef Nodes Viewer Mode: the mode will not engage anymore if ZNODES are found, do to ZDBSP reordering the vertices when rebuilding the nodes. Addresses #659 2022-03-05 17:26:16 +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
69fb4ba413 Visual Mode: Fixed a problem where using visual sloping a slope handle around itself resulted in invalid slopes 2022-03-05 10:37:00 +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
c62b8315c4 UDBScript: added an option to open the selected folder in the Explorer to the context menu of folder items in the file tree 2022-02-26 01:04:48 +01:00
biwa
1f13839dbd Added event handler for when values change to ArgumentBox control 2022-02-19 11:21:28 +01:00
biwa
12f0d53775 Copy and Paste Properties: fixed a problem where the "fadecolor" GZDoom UDMF sector property was not copied/pasted 2022-02-19 08:47:30 +01:00
biwa
b9ef63238c Normalized line endings of AutomapMode/BuilderPlug.cs to CRLF 2022-02-12 20:02:49 +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
biwa
e0bd927450 Visual Mode: fixed a problem where offsetting the middle texture of double sided lines would not work under certain circumstances. Fixes #702 2022-02-08 19:07:02 +01:00