Commit graph

1547 commits

Author SHA1 Message Date
spherallic
ba67a87c75 Optimize SRB2 NiGHTS/zoom tube/polyobject rendering
(Text labels are removed because of performance issues)
2023-06-15 12:25:46 +02:00
spherallic
1c0649883f Disable light/sound radii toggles if unsupported 2023-06-12 12:35:34 +02:00
spherallic
8f7da9ac1c Add config parameters for disabling certain Doom-related modes (that don't make sense for SRB2) 2023-06-12 11:06:13 +02:00
spherallic
ac9b6137b2 Implement FOF texture alignment 2023-06-11 01:03:17 +02:00
spherallic
ba064bae3e Update revision number to match latest UDB merge 2023-06-11 00:59:51 +02:00
spherallic
c32f677c44 Merge remote-tracking branch 'udb/master' 2023-06-10 19:31:53 +02:00
spherallic
606f323cac Support Flip flag, add properties for flip & absolutez flags 2023-06-10 16:08:38 +02:00
spherallic
073798166a Implement absolutez flag for things 2023-06-10 03:00:20 +02:00
spherallic
ba4fca0861 Add centerhitbox thing property 2023-06-10 01:13:54 +02:00
biwa
bc98a5391f
Added action to change the index of linedefs, things, sectors, and vertices. Can be accessed through a shortcut (not bound by default) or the menu of the respective mode (#903) 2023-06-09 11:17:01 +02:00
wisselstem
0d4cecc134
Edit Selection Mode: added support for (counter)clockwise rotation actions (#900) 2023-06-09 09:54:23 +02:00
spherallic
a962eed418 Update revision number to reflect latest UDB merge 2023-05-29 11:06:02 +02:00
spherallic
69c667073a Merge remote-tracking branch 'udb/master' 2023-05-29 11:04:31 +02:00
wisselstem
606e43ca35
Stair Sector Builder Mode: fix "Back" option never being checked when loading default preset (#890) 2023-05-26 21:16:38 +02:00
wisselstem
d2a4dcffce
Edit Selection Mode: added actions for moving the selection around the grid (#888) 2023-05-26 20:56:30 +02:00
spherallic
78dc4e5c1e Update git revision in assembly version 2023-05-26 16:59:12 +02:00
spherallic
3aad6d2bb7 Rebrand UDB to UZB 2023-05-26 16:55:19 +02:00
sphere
10e2e3f4cb Merge branch 'texture-skewing' into 'master'
Implement proper texture skewing in Visual Mode

See merge request STJr/UltimateZoneBuilder!5
2023-05-26 12:51:41 +00:00
sphere
af9c803ed6 Merge branch 'reduce-blockmap-use' into 'master'
Reduce blockmap use when drawing/stitching geometry

See merge request STJr/UltimateZoneBuilder!4
2023-05-26 12:51:28 +00:00
spherallic
5b9dc62dde Change hardcoded line slope action to match SRB2 2023-05-26 14:09:04 +02:00
spherallic
2bbb2aaf30 Implement proper texture skewing in Visual Mode 2023-05-26 13:26:15 +02:00
spherallic
06e2c06553 Reduce blockmap use when drawing/stitching geometry, increasing performance in large maps 2023-05-24 12:50:45 +02:00
MascaraSnake
787dfe33f4 Infinitely repeating midtextures: Handle offsets correctly 2023-05-23 09:53:47 +02:00
MascaraSnake
cbf1fe14c8 Add support for repeating midtextures 2023-05-23 08:51:09 +02:00
MascaraSnake
4783f4823c Thing-based vertex slopes: Pick the right mapthings 2023-05-22 20:51:10 +02:00
MascaraSnake
2933d5ad5f Wrap xcopy arguments in quotes to handle spaces in paths 2023-05-22 18:09:26 +02:00
spherallic
2f3d9e07cb Various project changes to make UDBScript work again 2023-05-21 23:03:10 +02:00
spherallic
34cdf97ca4 Merge remote-tracking branch 'udb/master' into udbmerge202304 2023-05-19 00:47:18 +02:00
wisselstem
a2c67a9c5e
Select Sectors Outline action: fixed an issue where selection info/labels were not updated (#884) 2023-05-17 17:45:17 +02:00
spherallic
087b1c8e8f Merge remote-tracking branch 'udb/master' into udbmerge202304 2023-05-12 13:45:56 +02:00
Xaser Acheron
184c13a563
Automap Mode: improved support for GZDoom (#876)
- A new "Show Textures" option up on the top bar, which draws any sector not flagged to be hidden on the textured automap
- Holding Shift will highlight sectors instead of lines
- Left-clicking on a highlighted sector will toggle the "Not shown on textured automap" flag
- Textures will be shown when Shift is held down even if the "Show Textures" toggle is off
2023-05-01 09:32:09 +02:00
biwa
86f1532a9f Edit Selection Mode: fixed a problem where floor and ceiling textures were unintentionally scaled in UDMF when resizing the selection. Fixes #873 2023-04-22 19:38:18 +02:00
James R
e2900f8d25 Fix mono build 2023-03-19 01:28:15 -07:00
biwa
d706e04149 UDBScript: fixed a problem where the Angle2D class wasn't usable from old API versions anymore 2023-03-06 16:12:59 +01:00
biwa
e1672281e6 UDBScript: fixed a problem where hot reloading would not select the previously selected script 2023-03-06 11:57:10 +01:00
biwa
6c53594ec8 Nodes Viewer Mode: fixed a problem where trying to engage the mode with an empty map could crash. Fixes #857 2023-03-03 10:49:40 +01:00
biwa
bb7857d2bb Map Analysis Mode: fixed a problem where lines with fractional vertex positions could erroneously be reported as overlapping 2023-03-03 09:53:08 +01:00
biwa
0fb4c98a77 Stair Sector Builder Mode: fixed an issue where the number of sectors and the sector depth was not loaded correctly when a default prefab was set. Fixes #847 2023-01-28 23:52:07 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
biwa
f86c52c021 UDBScript: fixed a bug in Vector3D's crossProduct method that resulted in wrong calculations 2022-02-07 22:10:34 +01:00
biwa
7d11b0dd27 Linedefs Mode: fixed a problem where sector labels and linedef selection labels were not shown 2022-02-06 13:55:37 +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
c425b2bdc9 Visual Mode: added actions to lower and raise map elements by the current grid size (no defaults bound). Resolves #699 2022-02-05 18:40:08 +01:00
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
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
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
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
MascaraSnake
cc2fbe1c4b Add rudimentary support for SRB2's FOFs to Visual Mode 2022-01-17 20:21:36 +01:00