Commit graph

465 commits

Author SHA1 Message Date
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
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
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
spherallic
087b1c8e8f Merge remote-tracking branch 'udb/master' into udbmerge202304 2023-05-12 13:45:56 +02: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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Derek MacDonald
166e3281d2
Don't auto-add upper texture for lower adjacent sky sectors (#594) 2021-08-14 11:33:52 +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
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
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
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
3fbad3c8ac More fixes for erroneously being able to select object multiple times when paint selecting 2021-02-13 22:59:06 +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
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
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
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
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