Commit graph

294 commits

Author SHA1 Message Date
spherallic
0e53c4e394 Add actions to invert X/Y texture scale in Visual Mode 2024-06-13 13:01:20 +02:00
spherallic
4b9ae5e332 Add invisible FOF toggle for Visual Mode 2024-06-07 12:52:28 +02:00
spherallic
982d50470c Make texture scaling actions more sensible, add multiply/divide by 2 actions 2024-05-24 15:05:59 +02:00
spherallic
b1833b0100 Clean up 3D floor texture offset handling, and make it match SRB2 more closely 2024-05-06 22:55:46 +02:00
spherallic
1fc96e9ad9 Merge remote-tracking branch 'udb/master' 2023-10-23 19:59:32 +02:00
biwa
728eea84b2 Visual Mode: the effect of slope things are now only applied if they are specified in the game configuration 2023-10-21 16:11:35 +02:00
biwa
807df65279 Game Configurations: added support for enabling or disabling support for vertex heights in UDMF game configurations 2023-10-21 14:45:42 +02:00
spherallic
6bb4df359c Merge remote-tracking branch 'udb/master' 2023-10-16 18:47:14 +02:00
biwa
e97aa905eb Visual Mode: fixed a problem where flood selection would operate from all selected surfaces and not just the clicked on one. This behavior can be reverted by enabling the "Use buggy flood select in Visual Mode" option in Preferences -> Editing 2023-10-14 14:24:09 +02:00
spherallic
9046f6a4f7 Merge remote-tracking branch 'udb/master' 2023-09-20 21:04:54 +02:00
spherallic
76f6483829 Visual Mode: changing brightness now affects sector brightness, holding Alt will change local brightness 2023-09-19 17:53:27 +02:00
biwa
ed93c4d69b Visual Mode: looking through selection now applies the thing's pitch to the camera 2023-09-17 13:05:50 +02:00
biwa
1d6c2a1c13 Visual Mode: when applying camera rotation and pitch to things a status message will now be displayed. Fixes #955 2023-09-17 12:40:28 +02:00
spherallic
27a268ae89 Iterate over things before lines in Visual Mode 2023-09-08 23:04:00 +02:00
spherallic
925c50bfd3 Clean up map element loops when rebuilding Visual Mode data 2023-09-07 14:27:53 +02:00
spherallic
92418d40a6 Merge remote-tracking branch 'udb/master' 2023-09-06 22:42:33 +02:00
biwa
809bb24ae0 Visual Mode: fixed an issue where trying to apply a rotation to things that were not seen yet would cause a crash 2023-09-06 19:20:12 +02:00
spherallic
ab830ea159 Disable Visual Mode features that don't apply to SRB2 2023-09-04 18:36:03 +02:00
spherallic
b56ca5e018 Merge remote-tracking branch 'udb/master' 2023-08-21 20:41:15 +02:00
biwa
1d0430d48e Visual Mode: fixed a problem where the selection order was not kept when synchronized selection between visual and classic modes was enabled. Fixes #938 2023-08-12 16:43:07 +02:00
spherallic
74d71b1acf Merge remote-tracking branch 'udb/master' 2023-06-27 21:05:32 +02:00
wisselstem
55e2d5a902
Add toasts to Visual Mode's "Show Things" action (#922) 2023-06-27 20:40:22 +02:00
spherallic
ac9b6137b2 Implement FOF texture alignment 2023-06-11 01:03:17 +02:00
spherallic
5b9dc62dde Change hardcoded line slope action to match SRB2 2023-05-26 14:09:04 +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
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
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
MascaraSnake
5ed59088fc Add support for Peg Midtexture flag 2022-01-30 08:39:16 +01:00
MascaraSnake
a604d5b382 Display SRB2's mapthing slopes in Visual Mode 2022-01-29 16:23:43 +01:00
MascaraSnake
cc2fbe1c4b Add rudimentary support for SRB2's FOFs to Visual Mode 2022-01-17 20:21:36 +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
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
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
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
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
5bcb27e51f Added some missing files
Some refactoring regarding visual sloping
2021-01-30 22:45:08 +01:00