Commit graph

3996 commits

Author SHA1 Message Date
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
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
5d50279a9e Eternity Engine game configuration: removed the lightfloorabsolute and lightceilingabsolute fields from the sector flags, so that they are handled correctly. Fixes #670 2021-12-17 17:14:29 +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
c50d8da0ec GZDoom game configuration: added some missing UDMF fields 2021-12-15 16:50:07 +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
DrinkyBird
c1d0428ccc
Zandronum 3.1 ACS changes (#668)
* Updated the bundled Zandronum ACC with Zan 3.1 changes

* Add Zandronum 3.1 functions and constants to its ACS configuration

* Updated the Zandronum ACC (again), as it was missing GAMESTATE definitions
2021-12-14 20:24:23 +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
beacc21d96 Hexen Game Configuration: fixed a problem where the default arguments of the Death Wyvern had special names, even though they actually don't do anything in game. Also renamed the thing from "Dragon Lich" to the correct "Death Wyvern". Fixes #660 2021-12-09 01:18:53 +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