Commit graph

3314 commits

Author SHA1 Message Date
biwa
6b9565604d Sector Edit Form UDMF: fixed a bug where resetting a slope when the sectors doesn't have a slope resulted in a nonsensical sector height 2021-04-09 19:48:38 +02:00
biwa
f1bf6a6803 Fixed a crash that happened when a thing isn't inside a sector. Fixes #548 2021-04-09 07:26:15 +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
Derek MacDonald
bef514fabb
Ignore texture patch negative vertical offset (#544)
https://doomwiki.org/wiki/Vertical_offsets_are_ignored_in_texture_patches

BIGDOOR7 & STEP2 in doom.wad and doom2.wad contain
negative Y-offsets some a patch but instead the
renderer defaults to Y-offset value of 0.

This stops UDB's 3D visual mode from using the
negative value - change it to 0 to match the game
renderer. (G)ZDoom behaves the same as vanilla.
2021-04-06 21:16:50 +02:00
Derek MacDonald
f693959df4
Unchanged script editor skips implicit save (#543)
Stop calling ScriptFileDocumentTab.RemoveTrailingWhitespace()
on a text editor that has unchanged text. This causes the
currently-opened map to be marked 'isChanged == true' when
nothing is modified.
2021-04-06 20:38:48 +02:00
biwa
6c8a3cb50b Visual Mode: things inside self-referencing sectors are now displayed at the correct height 2021-04-05 19:15:14 +02:00
biwa
fe71e53edc Game configurations are now saved as soon as the configuration dialog is closed
Program preferences are now saved as soon as the configuration dialog is closed
Recent files are now saved as soon as an existing map is loaded
2021-04-02 12:13:22 +02:00
biwa
95f5c719b7 Sector/Linedef/Thing/Vertex Edit Form: the map will not be marked as changed anymore when canceling changes made in the forms, when the map wasn't marked as changed before
Copying map elements doesn't mark the map as changed anymore if the map wasn't marked as changed before copying
2021-04-01 23:31:52 +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
6de1d10065 Script Editor: fixed a problem where folded blocks were unfolded unexpectedly when the script was saved. Fixes #392 2021-03-22 12:11:25 +01:00
biwa
6917ded506 Linedef Editing Form (UDMF): fixed a problem where activation checkboxes were shown red for actions that don't require activation 2021-03-22 10:56:31 +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
2ef76c39d0 Sector Edit Form (UDMF): fixed a problem where resetting slopes did not work correctly 2021-03-21 17:38: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
2abcbfffab Fixed a bug where trying to align the grid to a linedef or setting the grid origin to a vertex would crash when no map was opened. Fixes #536 2021-03-14 16:40:55 +01:00
James R
feef304423
Ignore Keys.None event (#537)
Such an event invokes every unbound action.
2021-03-14 16:26:09 +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
122784f739 Removed limitation of 4 models per frame as this limitation is lifted in GZDoom 2021-03-11 21:06:34 +01:00
biwa
250b89dc4e Find And Replace Mode: added options to search for UDMF fields 2021-03-07 14:27:23 +01:00
biwa
b1583060b6 CVARINFO: added support for "nosave" scope 2021-03-06 23:07:04 +01:00
biwa
0264224e6e CVARINFO: added support for "cheat" and "latch" flags. Fixes #535 2021-03-06 22:51:22 +01:00
biwa
f0c985385a Added portal options to the sector edit form for the Eternity Engine UDMF configuration 2021-03-06 21:28:00 +01:00
biwa
677473fce8 Small cleanups to the build process 2021-02-28 11:30:13 +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
46c577b9e1 Fixed a bug where saving WADs that didn't have their data starting right after the header would corrupt the file. Fixes #531 2021-02-27 17:47:37 +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
7d2e3db982 Fixed a bug where resetting the ceiling slope in the UDMF sector edit form would invert its original height 2021-02-20 16:17:32 +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
b168570241 Added safeguard to MapSet.NearestLinedefRange if selectionmap is null. Might fix #529. 2021-02-20 13:11:03 +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
cbedfb24b5 DECALDEF parser: fixed a problem where opening curly braces in the same line as a decal definition caused a parsing error 2021-02-14 23:17:16 +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
18d56c6e04 Decorate/Zscript Actors that replace other actors should now display the correct actor name given through the $Title editor key. Fixes #122 2021-02-13 15:12:49 +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
c4c2f4b3fe Fixed a visual glitch where grid lines appear to be slightly offset when using a transformed grid 2021-02-06 15:09:16 +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
2b6c7b44c2 Fixed a problem where the last line of UDMF maps were not parsed correctly 2021-01-31 18:11:10 +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
4f9111d075 Textures with whitespace at the beginning or end are now handled correctly. Fixes #522 2021-01-30 23:44:42 +01:00
biwa
4eb223b3f0 Added support for "abstract" ZScript functions. Fixes #523 2021-01-30 23:08:41 +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
7cec462a15 Fixed a problem where values specified with the UserDefaultValue editor key in ZScript were not applied for float/double values 2021-01-04 13:28:45 +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
biwa
9090642d4e Fixed a problem where custom boolean UDMF fields could not set be to false 2020-12-28 20:22:04 +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
d8d03916ea Added safeguard against crashes related to config disposing. Fixes 251. Fixes 352. Fixes 514. 2020-12-23 16:43:59 +01:00
biwa
7b42ba622f The docker is now expanded by default so that users actually realize that it exists (new installations only) 2020-12-23 11:49:51 +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
9f58a545f6 Fixed a crash that could happen when the blockmap was too small because of off-grid vertices 2020-12-13 14:03:53 +01:00
biwa
931bd1e225 Fixed a problem where the DistanceCheck actor property didn't work correctly, resulting in things unexpectedly not being drawn in Visual Mode 2020-12-12 11:48:46 +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
0f3e979fa9 Color picker dialog: custom colors are now saved 2020-11-21 13:12:01 +01:00
biwa
82af8bfe56 Fixed a bug with argument boxes where the value wasn't saved correctly when using the mouse wheel to change the value 2020-11-19 22:14:19 +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
c7b383595a MapSet.NearestLinedefRange using a blockmap now takes into account that the maxrange could be bigger than the blockmap block size 2020-11-15 13:59:04 +01:00
Magnus Norddahl
49edfed449 Fix MakeAlphaTestImage performance issue 2020-11-15 03:20:41 +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
15772da839 Texture browser: using the tab key to jump between the currently selected used texture and the position of the texture in the list of all textures works again (this time without toggling the "used textures on top" checkbox). Also added option to vertically center the view on the selected texture (enabled by default) 2020-11-01 18:21:22 +01:00
biwa
eab7de4f9e New map dialog: the "open map resources in read-only mode" option is now checked by default. This option is deprecated and will be removed entirely eventually 2020-11-01 11:57:53 +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
5a1ceb2a9c Linedef edit form (UDMF): fixed a problem where the first argument was set to 0 instead left blank when multiple lines with script execution actions were being edited 2020-10-31 23:40:12 +01:00
biwa
00d9be5266 Things Mode: increased rendering speed 2020-10-31 21:13:37 +01:00