Commit graph

1213 commits

Author SHA1 Message Date
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
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
spherallic
087b1c8e8f Merge remote-tracking branch 'udb/master' into udbmerge202304 2023-05-12 13:45:56 +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
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
MascaraSnake
d29bd54034 Refactor code that relies on the number of action args being exactly 5 2022-12-28 23:04:32 +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
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
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
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
4f526dc57f Toolbar buttons now show their assigned shortcut key in their tool tip 2022-05-28 16:19:01 +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
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
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
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
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
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
volte
02b0e93049
Added radial drawing capability to Rectangle and Ellipse tool (#689) 2022-01-16 20:42:45 +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
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
0f51f23360 Improved associations between arbitrary UDMF fields (used by the Eternity Engine game configuration) 2021-12-17 16:33:42 +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
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
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
7448e0fb05 Fixed a crash when undoing/redoing while in Things Mode 2021-10-24 20:28:36 +02:00
biwa
a0971e0ef2 Added option to reselect changed map elements after undo/redo 2021-10-24 19:22:00 +02: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
cbe231c853 Image Exporter: added option to chose between taking sector colors into account or not when exporting. Resolves #635 2021-10-14 21:43:41 +02:00
biwa
c2a6e577c7 Image Exporter: fixed a bug where texture scales were not taken into account when exporting. Fixes #634 2021-10-14 21:09:49 +02:00
biwa
dee9a2a183 Map Analysis Mode: checked status of checks is now remembered between sessions. Resolves #629 2021-10-13 22:51:28 +02:00
biwa
a53198f44e Find And Replace Mode: fixed a bug where searching for UDMF fields in a selection would crash 2021-09-19 22:45:55 +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
0b70b08bd8 Fixed some compiler warnings 2021-09-06 23:43:30 +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
Derek MacDonald
d7a4e2bf8b
Missing/Unused Textures checks cover floor to lowest, next higher & highest (#608) 2021-09-03 18:31:36 +02:00
Derek MacDonald
e75dc2c746
Draws vector arrow between Doom format line-to-line specials (#602) 2021-08-25 20:31:28 +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
9944748cbf Fixed a bug that could cause a crash when going over the maximum linedef limit 2021-07-16 17:56:55 +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
98321b6f40 Image exporter: sector colors are now taken into account 2021-06-24 19:58:26 +02:00
biwa
e0f620827d Linedefs Mode: fixed a problem where flipping a highlighted linedef would also select the linedef. Fixes #571 2021-05-30 18:27:56 +02:00
ZZYZX
9fcb45e1b1 Fixed: a single selected linedef was deselected after flipping it 2021-05-19 12:59:24 +03:00
biwa
898fe21f75 TEXTURES lump: fixed a problem where textures that use textures as patches were too bright when gamma correction was enabled 2021-05-13 21:36:29 +02:00
biwa
f8e836a5cf Don't use thread unsafe collections in threaded code (hopefully fixes crash in Sectors Mode when selecting sectors) 2021-04-22 21:10:10 +02:00
biwa
547aec7541 Sectors Mode: potentially fixed some crashes related to determining thing sectors 2021-04-22 16:12:14 +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
83adef923d Increased performance on multi-core CPUs when selecting sectors in Sectors Mode when Synchronize Thing Editing is enabled 2021-04-17 20:06:58 +02:00
biwa
c748209eba Curve Linedefs Mode: fixed a problem where the curve would not flip when being dragged with the mouse 2021-04-01 21:44:49 +02:00
biwa
7dd0a0a4af OBJ Exporter: unchecking the "Generate ZScript/DECORATE" and/or "Generate MODELDEF" checkboxes will now really not generate the respective files 2021-04-01 21:12:34 +02:00
biwa
0bd049b29b Sectors Mode: fixed a crash when joining sectors. Fixes #539 2021-03-22 22:01:55 +01:00
biwa
ccfafec7d8 OBJ Exporter: fixed problem where parts of the dialog would be erroneously enabled or disabled 2021-03-22 18:14:05 +01:00
biwa
a771de1848 OBJ Exporter: once again trying to fix normals 2021-03-22 17:54:20 +01:00
biwa
72ff5ecf24 OBJ Exporter: fixed a problem where concave sectors with exactly four corners were not exported correctly. Fixes #249 2021-03-22 16:16:34 +01:00
biwa
85b8b41580 Map Analysis Mode: checking for missing activation flags (UDMF) now finds linedef that are missing an actual activation flag, not only lines without any flags in that group. Fixes #288
Linedef Editing Form (UDMF): now only missing required activation flags are marked red
2021-03-22 10:41:21 +01: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