Commit graph

1644 commits

Author SHA1 Message Date
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
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
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
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
32acb551c3 UDBScript: clarified documentation of QueryOptions when using enums 2021-12-10 20:18:50 +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
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
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
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
d8bd7165a7 Visplane Explorer: fixed a bug where changing the settings after re-entering the mode would result in a crash. Fixes #624 2021-10-01 23:38:59 +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
biwa
fa36bf48aa 3D Floor Mode: improved usability in Window's high contrast mode 2021-09-04 12:37:27 +02:00
biwa
dd7d109e2b Sectors Mode, Linedefs Mode, 3D Floor Mode, Grid Setup: fixed a problem where textures were not shown in Windows's high contrast mode. Fixes #612 2021-09-04 12:21:17 +02:00
biwa
e281cfc93e 3D Floor Mode: fixed some problems when relocating control sectors that contain things 2021-09-03 20:00:14 +02:00
biwa
d05ab0bb8b 3D Floor Mode: relocating control sectors now also moves the things inside the control sectors 2021-09-03 19:11:12 +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
0fb187fcbe Stair Sector Builder Mode: current settings can be now be saved as a default prefab that will always be loaded when using the Stair Sector Builder Mode 2021-08-24 22:21:14 +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
19f1cf64cd 3D Floor Mode: fixed a problem where 3D floor indicators on linedefs were still shown after removing all 3D floors from a sector 2021-08-23 22:32:13 +02:00
Derek MacDonald
be84f19da1
Add player view height dropdown to Visplane Explorer plugin UI (#600) 2021-08-21 09:28:05 +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
82a4182242 The deprecated Slope Mode can not be selected as the default mode when opening a map anymore 2021-08-01 17:42:25 +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
a0dfd1fccb Stair Sector Builder Mode: fixed a crash when trying to build geometry from linedefs without sidedefs. Fixes #569 2021-05-30 19:01:42 +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
926fcd486d Visplane Explorer: added some additional error reporting when loading a map fails 2021-05-08 09:44:19 +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
d0f45982c1 3D Floor Mode: fixed a typo in an error message
3D Floor Mode: only 3D floors with the "user_managed_3d_floor" field set to true will be modified in UDMF maps
2021-04-22 18:45:28 +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
Derek MacDonald
da935dd8d7
VPO limit configurable for Visplane Explorer (#546)
https://doomwiki.org/wiki/Static_limits

The VPO limit is raised by Hexen (160) & Strife (200)
so make it configurable in the basegame.

The hover tooltip will reflect the adjusted max
limit and the heatmap is interpolated to 0-255
for the 256x10 visplane_pal.png colour range
gradient.
2021-04-08 21:41:40 +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
6c003f1cb1 Added support for only enabling editing modes when the current game configuration supports the features. Currently only applies to 3D Floor Mode, Slope Mode, and Draw Slope Mode. Fixes #463 2021-03-21 22:58:06 +01:00
biwa
58c476f4e5 Slope Mode, Draw Slopes Mode: both modes are now deprecated as they are superseded by visual sloping. The modes will be removed in the future. Entering the modes will add a warning to the Errors And Warnings dialog 2021-03-21 21:19:14 +01:00
biwa
72085284fe 3D Floor Mode: added option to use Synchronized Things Editing when (de)selecting sectors. Resolves #443 2021-03-21 19:42:43 +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
biwa
5addd6508c Started to add support for arbitrary UDMF field associations (#401) 2021-03-14 15:58:40 +01:00
biwa
608d1e6ca2 Fixed some visual issues with the OBJ export dialog 2021-03-11 21:56:12 +01:00
biwa
a2b007b9ae OBJ model export: added option to disable generating ZScript/DECORATE and/or MODELDEF 2021-03-11 21:54:48 +01:00
biwa
250b89dc4e Find And Replace Mode: added options to search for UDMF fields 2021-03-07 14:27:23 +01:00
biwa
5534a93051 Sectors Mode: fixed a crash when merging sectors while a shared linedef between them was shown as an association 2021-02-28 01:44:38 +01:00
biwa
d3a578c6cc Map Analysis Mode: fixed a crash when the sidedef of 1-sided lines had upper/lower textures defined. Fixes #533 2021-02-23 16:26:31 +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
93cc15640f Error Checker: added config options to ignore unknown textures on sidedefs for certain actions. Resolves #518 2021-02-20 15:04:47 +01:00
biwa
467f791bd3 Find and Replace Mode: fixed a bug where searching for linedef or thing action and arguments would not show "0" as an argument if it was the last arguments. Fixes 528 2021-02-20 12:29: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
41e1652bfc Successfully exporting as OBJ doesn't show up as a warning anymore 2021-02-07 16:50:42 +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
biwa
46962aac89 Using visual sloping to create a horizontal slope will now remove the slope and set the appropriate sector height instead
The Edit Sector dialog will not remove horizontal slopes anymore unless necessary
2021-01-01 22:08:54 +01:00
biwa
4f5a4eba24 Visual Mode: fixed a problem where pasting a texture to a 3D floor sometimes didn't show the pasted texture immediately 2020-12-31 11:43:56 +01:00
biwa
23dacae944 OBJ exporter: changed tab order to make sense 2020-12-30 22:13:34 +01:00
ZZYZX
2945ca24cd Fixed: flat slope != no slope 2020-12-28 00:47:55 +02:00
ZZYZX
eaa5227dc8 Slightly tweaked size of Controls list. Added 'Reset plane slope' action. 2020-12-28 00:13:56 +02:00
biwa
a3aba9b371 OBJ Exporter: textures to skip are now saved between sessions 2020-12-24 21:28:55 +01:00
biwa
4087506446 OBJ Exporter: fixed a problem where textures were flipped horizontally 2020-12-24 20:59:51 +01:00
biwa
7f1442ce86 Export selection to image: added progress bar and button to cancel export 2020-12-24 15:00:16 +01:00
biwa
676a8c0a26 OBJ Exporter: added sanity checks to the actor name 2020-12-23 22:08:56 +01:00
biwa
1a68194869 OBJ Exporter: model can now be centered or has its z position normalized when not exporting for GZDoom 2020-12-23 20:58:24 +01:00
biwa
2c5a433d57 Export selection to image: fixed a problem where the export failed when sectors had a brightness of more than 255 2020-12-23 11:10:47 +01:00
biwa
a17ecae740 Curve Linedefs Mode: fixed a problem where it was impossible to flip fixed curves when the distance was set to 0. Fixes 487 2020-12-16 18:06:02 +01:00
biwa
cd7a156cd7 Sectors Mode: fixed a problem where copying/pasting sector properties could not copy/past Doom 64 style sector/wall/sprite colors, and floor/ceiling glow. Fixes #508. 2020-12-06 12:10:21 +01:00
biwa
bb7cf59a65 Sectors Mode: fixed a problem where things were not selected correctly when synchronized thing edit was enabled 2020-11-22 18:19:47 +01:00
biwa
c5054c5449 Fixed a problem where duplicating 3D floors sometimes changed the slopes of adjacent 3D floors 2020-11-21 22:38:16 +01:00
biwa
f2f0e1bae1 Export selection to image: added option to scale the output image to a higher resolution 2020-11-21 17:44:10 +01:00
biwa
cf61c74e35 Export selection to image: decreased memory footprint 2020-11-21 15:14:48 +01:00
biwa
3ee12f4ca7 Sectors Mode: tag and effect labels are now only updated when necessary, increasing performance 2020-11-16 00:45:57 +01:00
biwa
8b643aef65 Wavefront OBJ exporter: improved handling of long texture names. Probably fixes #495 2020-11-06 20:59:13 +01:00
biwa
f040306c55 Linedefs Mode: fixed a problem where after splitting a linedef the insert vertex preview would not work correctly
Vertices Mode: fixed a problem where after inserting a vertext the insert vertex preview would not work correctly
2020-11-06 20:14:00 +01:00
biwa
601d741b7e Vertices Mode: fixed a potential crash when deleting/dissolving vertices 2020-11-01 23:08:41 +01:00
biwa
41e6632b18 Sectors Mode: fixed an potential crash when joining/merging sectors 2020-11-01 21:29:57 +01:00
biwa
f4510aba3e Draw Geometry Modes: removed status messages expressing negative feeling when finishing a drawing and replaces them with positive messages 2020-11-01 18:49:15 +01:00
biwa
9c85635ff0 More renaming GZDB Visual Mode to just Visual Mode
The exception dialog now correctly states that it's UDB and not GZDB
2020-11-01 18:33:19 +01:00
biwa
5820665e70 Some project file fixes 2020-11-01 11:37:44 +01:00
biwa
2dda3d228d Visual Mode: changed name from "GZDB Visual Mode" to simply "Visual Mode". The naming difference was for historical reason that doesn't apply anymore. Also reverted the mode icon to the original one 2020-11-01 11:31:57 +01:00
biwa
00d9be5266 Things Mode: increased rendering speed 2020-10-31 21:13:37 +01:00
biwa
7a5c7e5090 Linedefs Mode: increased rendering speed 2020-10-31 21:06:24 +01:00
biwa
4a0e1d7c62 Sectors Mode: significantly increased rendering speed 2020-10-31 20:45:05 +01:00
biwa
4991c323c3 Linedefs Mode, Sectors Mode, Vertices Mode, Sound Environment Mode, Sound Propagation Mode: slightly improved performance when moving the mouse 2020-10-31 16:09:22 +01:00
biwa
d92ab46838 Visual Mode: fixed a bug where selected 3D floor tops/bottoms would appear to be selected after undo, but actually weren't selected anymore 2020-10-23 20:56:50 +02:00
biwa
f91bf312fb 3D Floor Mode: fixed typo in the 3D floor editing window 2020-10-23 20:31:08 +02:00
biwa
eec2c40dcc Visual Mode: fixed a bug where the line slope things (9500 and 9501) would slope the same sector multiple times when multiple lines of the same sector were tagged to the thing. Fixes #491. 2020-10-22 21:11:12 +02:00
biwa
9c10069d58 Visual Mode: improved support for GZDoom UDMF rendering styles. Partially addresses #485 2020-10-19 21:42:34 +02:00
biwa
2217e6f633 Visual Sloping: fixed a problem where slopes were not computed correctly in certain cases 2020-10-19 17:32:34 +02:00
biwa
0a1e40f11d Export selection as image: potentially decreased memory usage when also exporting brightmaps 2020-10-17 12:42:23 +02:00
biwa
14e4162d35 Copy/Past thing properties: fixed a crash when pasting properties from a thing that has no model assigned to a thing that has a model applied 2020-10-17 11:09:53 +02:00
biwa
a7791754c1 Draw Grid Mode: fixed a crash when locking sliced while using a rotated grid 2020-10-16 14:45:59 +02:00
biwa
160db8da8c Editing modes: fixed some crashes related to undoing/redoing while objects with associations were highlighted 2020-10-09 18:53:10 +02:00
biwa
63b3766ae2 Draw Geometry Modes: fixed an issue where drawing started lagging when holding Alt+Shift 2020-10-02 19:46:01 +02:00
biwa
e79a15807b Visual Mode: changed "Apply Camera Rotation To Things" action to apply more sensible rotation values to things 2020-09-28 16:18:36 +02:00
biwa
e6a7751c2d Visual Mode: added "Apply Camera Rotation To Things" action that applies the Visual Mode's current camera pitch and yaw to the selected things. No default key bound 2020-09-27 14:46:16 +02:00
biwa
63eb538b7f Color Picker: buttons with some sensible default values are now used instead of sliders where appropriate. Some miscellaneous fixes. Fixes #436. 2020-09-26 17:52:23 +02:00
biwa
d1455df383 3D Floor Mode: duplicating geometry now copies all properties of the source control sector to the new control sector 2020-09-26 14:02:33 +02:00
biwa
077aa065cb 3D Floor Mode: duplicating geometry now copies all properties of the source control sector's linedef to the new control sector's linedef 2020-09-26 13:47:57 +02:00
Kevin Caccamo
9659ab1d19
Add MouseWheel event handler
I assume this is the advantage/feature NumericUpDownEx has over NumericUpDown
2020-09-22 18:18:07 -04:00
Kevin Caccamo
f90f9e36df
Use NumericUpDown instead of NumericUpDownEx on Mono WinForms 2020-09-22 17:46:04 -04:00
biwa
92c651bede 3D floor mode: fixed a bug where the correct brightness wasn't applied to control sectors when duplicating/pasting 3D floors 2020-09-12 17:12:14 +02:00
Magnus Norddahl
eb6d564d22 Fix MinimumRecommendedRules warning 2020-09-12 16:09:55 +02:00
Magnus Norddahl
efec88994b Apply workaround to datagridviews 2020-09-12 02:06:14 +02:00
biwa
0b646875b7 3D Floor Mode: added "check all" and "uncheck all" buttons to the 3D floor editing dialog 2020-09-05 22:53:22 +02:00
biwa
385338ec42 OBJ Exporter: fixed a bug where the .mtl file also had .obj in its name 2020-08-22 22:00:17 +02:00
biwa
7e5c407722 Edit Selection Mode: fixed a crash when resizing the selection to a line and then trying to pull it out again. Completely squashing to a line in not possible anymore 2020-08-22 21:36:23 +02:00
biwa
ba1abbcb4b Sectors mode: fixed a bug where applying floor and ceiling brightness gradients didn't work correctly 2020-08-04 16:25:49 +02:00
biwa
d0a0479579 Export to image: fixed a problem where exported textures were too bright when an increased texture and flat brightness was set in the preferences 2020-08-01 12:28:23 +02:00
biwa
41b2322ae7 3D Floor Mode: increased performance when switching to 3D Floor Mode (mostly noticeable on complex maps) 2020-07-28 23:33:37 +02:00
biwa
c047b98ba4 Sectors Mode: fixed a bug that could cause a crash when drag-selecting over areas that contained sectors after deleting those sectors 2020-07-27 20:18:33 +02:00
biwa
263c555bb4 Added fallback for event line labels to use the default window font is the one specified for labels couldn't be loaded 2020-07-18 15:49:26 +02:00
biwa
11b586e091 Fixed a crash when highlighting undefined things 2020-07-17 20:35:59 +02:00
biwa
b505fb04d7 Fit Textures: entering floating point numbers in the texture repeat boxes is now less infuriating. Resolves #404. 2020-07-16 23:25:07 +02:00
biwa
f204a17298
Improved associations (#440)
Improved associations and event lines. Refactorings to make the whole thing more sensible (hopefully). Options to display labels on event lines (can be configured in Preferences -> Editing).
2020-07-16 22:01:37 +02:00
biwa
a288629a01 Image Exporter: fixed a bug where the texture scale was not applied
Image Exporter: fixed a bug where it always applied the floor offset, even when exporting the ceiling textures
2020-07-12 11:43:25 +02:00
biwa
9d6244ed65 Fixed a bug where the effective size of scaled textures was too small under certain circumstances 2020-07-11 18:43:49 +02:00
biwa
69e5ba79b7 Color Picker: fixed a bug that prevented all intensity and interval sliders to show up for flicker lights 2020-07-09 22:05:30 +02:00
biwa
9abce031d7 OBJ Exporter: replaced default folder selection dialog with something more convenient (and more consistent with the rest of the program) 2020-07-07 22:27:13 +02:00
biwa
f53c892d3a OJB Exporter: fixed a bug where models were flipped on the y axis when exporting for GZDoom 2020-07-07 22:06:27 +02:00
biwa
5b8dc53e99 OBJ Exporter: fixed a crash when trying to export from an unsaved map 2020-07-07 21:52:07 +02:00
biwa
b290af191f OBJ Exporter: checking the "Solid" checkbox now adds to following flags to the actor: INVULNERABLE, NODAMAGE, SHOOTABLE, NOTAUTOAIMED, NEVERTARGET, DONTTHRUST 2020-07-05 23:04:47 +02:00
biwa
6705f261a6 OBJ Exporter: fixed a crash when trying to export geometry with missing textures 2020-07-05 22:52:10 +02:00
biwa
4b467eeeff OBJ Exporter: improved exporting models for use in GZDoom. It can now export models that can be directly used in GZDoom, and also creates the necessary MODELDEF and ZScript/DECORATE code 2020-07-04 21:26:06 +02:00
biwa
cb0cbe827c Visual Mode: auto-aligning flats does not round the panning anymore, making it more precise 2020-06-25 21:02:56 +02:00
biwa
cc3b6dcd7d Image exporter: added options to use sector brightness for the export, create brightmaps (based on sector brightness), and split the image into 64x64 tiles 2020-06-24 22:10:17 +02:00
biwa
5ddbd73916 Sectors Mode: the sectors things are in are only determined if necessary, which should increase performance when switching into Sectors Mode in very big maps 2020-06-21 12:52:36 +02:00
biwa
0017caa419 3D Floor Mode: fixed a crash when duplicating 3D floor geometry and there was not enough space in the control sector area 2020-06-21 01:22:17 +02:00
biwa
dbe0a7b414 3D Floor Mode: increased performance when creating new 3D floors 2020-06-20 14:39:23 +02:00
biwa
08636d1b18 Enabled PDB generation for all plugins in x64 release mode 2020-06-17 22:57:49 +02:00
biwa
b5b2979c8d Added feature to export the selected sectors as an image 2020-06-17 22:22:00 +02:00
biwa
1d9759aedf Improved interaction of auto-alignment with 3D floors 2020-06-16 19:11:03 +02:00
biwa
f432281ec0 Draw Ellipse Mode: fixed a rounding error that could result in wrong shapes under certain conditions 2020-06-16 10:42:28 +02:00
biwa
5618c2d665 Edit Selection Mode, Flat Align Mode: fixed a bug where snapping occurred to wrong positions on lines when the grid was transformed 2020-06-16 09:59:30 +02:00
biwa
4d28727b6d Draw Rectangle Mode, Draw Grid Mode: fixed a bug where the guidelines were show slightly off 2020-06-15 22:13:54 +02:00
biwa
93bba0ca71 Draw Grid Mode: guidelines are now shown correctly if the grid is transformed 2020-06-15 22:03:28 +02:00
biwa
e4a689fe8a Draw Geometry Mode: guidelines are now rotated if the grid is transformed 2020-06-15 21:57:59 +02:00
biwa
572864ba17 Draw Rectangle Mode: fixed a problem where the guidelines were not displayed correctly under certain conditions 2020-06-15 21:37:47 +02:00
biwa
72169060f9 Things Mode: performing the smart grid transform action will now set the grid origin to the selected or highlighted thing
Sectors Mode: performing the smart grid transform action will now reset the grid transform
2020-06-15 21:25:31 +02:00
biwa
4a693a5a5d Vertices Mode: the preview vertex is now correctly shown on intersections between the closest line and the transformed grid 2020-06-15 00:41:22 +02:00
biwa
d43c4e658c Draw Grid Mode: now works correctly with grid transformation 2020-06-15 00:05:04 +02:00
biwa
323a990144 Draw Rectangle Mode: now works correctly with grid transformation 2020-06-14 22:37:37 +02:00
biwa
57b184a9e6 Merged master into duplicate-3d-floors branch
Added some error handling to duplicating 3D floors
2020-06-13 17:00:12 +02:00
biwa
565f1f885b Changed how performing undo interacts with volatile modes (it will now actually perform the undo instead of just canceling the volatile mode) 2020-06-13 15:56:16 +02:00
biwa
14c65dae5b - Only allow Edit Selection Mode to be cancelled once
- Added preliminary code to remove new 3D floor control sectors when pasting was canceled after duplicating 3D floors
2020-06-13 15:35:20 +02:00
biwa
c43c000109 Draw Grid Mode: fixed a crash that happened when having locking slices to grid enabled 2020-06-13 00:30:58 +02:00
biwa
4fbcc11418 Added functionality to duplicate 3D floor control sectors of selected sectors and paste selected sectors with the new control sectors assigned 2020-06-13 00:24:24 +02:00
biwa
a6dbd2c258 3D Floor Mode: fixed a bug with the "Detach all" and "Split all" that would create (and immediately delete) redundant control sectors 2020-06-11 00:04:20 +02:00
biwa
b5d8985e70 3D Floor Mode: added "Split all" and "Detach all" buttons to 3D floor editing window 2020-06-10 22:54:02 +02:00
biwa
cce50e9376 Hopefully fixed broken auto alignment of certain sloped 3D floors (without breaking anything else) 2020-06-09 22:10:15 +02:00
biwa
0590216c73 Slope Arch Form: added option to invert the arch 2020-06-08 23:45:08 +02:00
biwa
95dd6e284e Draw Grid Mode: number of slices less than 3 will now be remembered correctly
Draw Grid Mode: added option to to draw the slices relative to the origin of the drawing (so that you don't have to change the slice interpolation all the time)
2020-06-08 23:00:14 +02:00
biwa
cb6f6e1d93 Added missing images for arch slope dialog 2020-06-08 21:10:51 +02:00
biwa
5b89a9d4cb Added missing files to the Mono project file 2020-06-08 21:06:39 +02:00
biwa
6e4bb04516 Merge remote-tracking branch 'origin/master' into arching 2020-06-08 20:58:45 +02:00
biwa
d01cbb2c37 Some code cleanup
Added comments to code
2020-06-08 20:58:00 +02:00
biwa
f5d12e06df Improved slope arching form 2020-06-07 18:01:19 +02:00
biwa
d6d579ab76 Some refactoring
Made sloping work more reliably with irregularly shaped sectors
2020-06-06 11:51:09 +02:00
biwa
9855436fa6 3D floor mode: fixed a problem where splitting a 3D floor didn't work correctly when some selected sectors didn't belong to that 3D floor 2020-06-05 19:49:38 +02:00
biwa
f93a13c1f2 Fixed base heights for 3D floors
Improved handling of changing input boxes in slope arching form
2020-06-05 18:37:48 +02:00
biwa
b04cafd016 Added missing file 2020-06-04 17:12:56 +02:00
biwa
2fe9345e76 Updated project file 2020-06-04 15:48:23 +02:00
biwa
aaa252bd35 Moved slope arching code into its own class
Improved functionality
2020-06-03 23:34:22 +02:00