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
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
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
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
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
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
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
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
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
1d9759aedf
Improved interaction of auto-alignment with 3D floors
2020-06-16 19:11:03 +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
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
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
aaa252bd35
Moved slope arching code into its own class
...
Improved functionality
2020-06-03 23:34:22 +02:00
biwa
b4e89974bd
Added dialog to modify the slope arch
2020-06-01 21:57:17 +02:00
biwa
4e36099b22
Arching works... kind of
2020-06-01 17:16:13 +02:00
biwa
aecb1e67b7
Preliminary code for arching
2020-06-01 09:50:35 +02:00
biwa
82f019b8bd
Fixed a potential crash when undoing while having slope handle picking enabled
2020-05-30 16:41:05 +02:00
biwa
c164139d5e
Fixed some more places where values given to new UniValue were cast to float instead of double
2020-05-26 18:49:42 +02:00
biwa
342ea4f518
Trying to fix jittery camera when being really far away from the map origin (didn't fix it yet)
2020-05-23 10:37:42 +02:00
biwa
bdc6a23934
Fixed some more cases where UniValues were set to floats. Added throwing exceptions to the UniValue constructor (gasp!)
2020-05-23 10:01:52 +02:00
biwa
9338d1221f
Removed lots of unnecessary casts to float of the Math methods. Also removed some other minor implicit casts
2020-05-22 22:30:32 +02:00
biwa
ab81b17554
More conversion from float to double. Doesn't seem to crash anymore.
2020-05-22 21:39:18 +02:00
biwa
91cbcde1eb
It's compiling!
2020-05-21 14:20:02 +02:00
biwa
f0bfc74702
Decoupled plane equation slopes from sector heights. This means that changing sector heights will not change those slopes (use the offset box in the "slope" tab of the Edit Sector Dialog instead)
2020-05-16 10:40:24 +02:00
biwa
594fe0403d
Removed DebugConsole functionality in non-debug builds
2020-04-26 00:58:42 +02:00
biwa
ac73ca7422
Fixed a crash that would happen when the line slope things (9500/9501) are used but the linedef they are tagged to doesn't have a front sidedef. Fixes #398 .
2020-04-10 12:11:42 +02:00
biwa
ff5cea7ba3
Fixed rare potential crash when raising/lowering floors/ceiling to the closed neighbor
2020-04-07 21:18:07 +02:00
biwa
560d4a5828
When auto-aligning textures on floors/ceilings they can be scaled independently on slope type
...
Added option to select behavior (Tools -> Preferences -> Editing) of scaling when auto-aligning textures on floors/ceilings (use base scale of 1 (default), use current scale as base, never scale)
2020-04-04 18:03:40 +02:00
biwa
a3ce81dc2b
Merge branch 'master' into visual-slope2
2020-04-04 13:12:20 +02:00
biwa
ef4c763879
Fixed display and auto-align issues when using hires texture replacements with local scaling
2020-04-02 22:46:40 +02:00
biwa
3f4a0a0e23
Aligning textures on the X axis now works correctly with negative scale values when world panning is not enabled.
2020-03-29 12:49:05 +02:00
biwa
91e0f8d56c
Fixes for raisesectortonearest and lowersectortonearest action when used on slope handles to account for float rounding errors
2020-03-21 01:19:04 +01:00
biwa
f5baa09684
The raisesectortonearest and lowersectortonearest now work with visual slope handles
2020-03-19 16:16:08 +01:00
biwa
7b0adadbfb
Merge branch 'master' into visual-slope2
2020-03-17 22:10:04 +01:00
biwa
e798450abd
The sloping between handles action is now a bit more convenient and tries to figure out what the user wants to do even if not exactly two slope handles are selected.
2020-02-24 13:57:26 +01:00
biwa
afef349220
- Slope handles are not shown anymore when showing selection is disabled
...
- Smart pivot handles are now shown for the highlighted slope handle
2020-02-24 12:54:59 +01:00
biwa
37e8154556
- Some refactoring
...
- Added action to slope selected floors/ceilings between selected slope handles (default key: Ctrl-F)
- Added Shift-W as default key to toggle visual slope picking
2020-02-23 12:44:59 +01:00
biwa
915d83c92a
- If geometry is selected and the geometry the modified slope handle belongs to is not selected it will now also be modified
...
- Made the slope handles hover closer to the geometry
2020-02-23 11:17:14 +01:00
biwa
631ccc12af
Slope handles can now be set as pivot while other surfaces are selected
2020-02-23 00:48:47 +01:00
biwa
9c3d8d46ba
It's not possible to have a slope handle be selected and set as pivot at the same time
2020-02-23 00:09:57 +01:00
biwa
1b79d9f6c4
Improved drawing length of slope handles on sloped lines (still too short, possibly because of aspect ratio correction?)
2020-02-19 23:03:32 +01:00
biwa
50a73b6af2
Pivot handles can now be set with the normal action to edit objects (no additional hotkey needed)
2020-02-19 22:43:41 +01:00
biwa
e4644b7cab
The slope handle closes to the mouse cursor will now always be picked (no minimum distance required anymore)
2020-02-19 22:14:29 +01:00
biwa
21c8379904
Added action to toggle between picking slope handles or other map elements
2020-02-19 21:59:42 +01:00
biwa
7154dec8c7
Code cleanup, added some comments
2020-02-16 22:07:20 +01:00
biwa
ff1ea95d86
Drawing visual slope handles is (mostly) working now
...
Also fixed some cases where slopes were applied incorrectly
2020-02-16 20:51:16 +01:00
biwa
d9cfc04e2e
More trying to get it to work...
2020-01-18 21:10:21 +01:00
Magnus Norddahl
fc7093b959
Load images when they accessed
...
Load previews when they are accessed
2020-01-12 23:10:57 +01:00
Magnus Norddahl
0abaeaf758
Replace GetBitmap with more descriptive functions and move the alpha test inside ImageData
2020-01-12 19:37:27 +01:00
biwa
2c9235e4ea
Trying to figure out matrix black magic
2020-01-07 21:27:37 +01:00
biwa
8aee7fc550
Merge branch 'master' of https://github.com/jewalky/UltimateDoomBuilder into visual-slope2
2020-01-04 22:15:13 +01:00
biwa
0efb786a97
Slopes in 3D floors work again
2020-01-03 01:11:23 +01:00
biwa
7e84883125
Some cleanups
2020-01-02 20:32:37 +01:00
biwa
e4e05542ec
Fixed a problem where negative Y scales of sidedefs would result in a wrong offset when auto-aligning
2020-01-02 01:32:55 +01:00
biwa
55135f2982
- Handles on floor are shown
...
- Fixed a problem where the wrong plane was assigned to ceiling surfaces
2020-01-01 21:47:33 +01:00
biwa
4bfbe567c1
Merge branch 'master' of https://github.com/jewalky/UltimateDoomBuilder into visual-slope2
2019-12-31 23:46:56 +01:00
Magnus Norddahl
a18e165d99
Fix geometry constantly being rebuilt in some situations
2019-12-31 03:44:36 +01:00
biwa
ba713f7a25
Ported visual sloping to UDB
2019-12-31 00:08:17 +01:00
Magnus Norddahl
03e50615f6
Remove explicit image unloading and fix previews
2019-12-29 22:59:57 +01:00
ZZYZX
58d2d67e77
Do not try to continuously reload failed textures
2019-12-29 14:25:53 +02:00
biwa
0ebba7bdb9
Fixed a bug where flats on a 3D floor could not be auto-aligned (auto-aligning the flats of the tagged sector instead). Fixes #338 .
2019-12-27 18:49:12 +01:00
biwa
9b256efdbb
Fixed an issue where selected objects were unnecessarily cleared in visual mode, resulting in slowdowns. Partly addresses #337 .
2019-12-27 17:00:13 +01:00
ZZYZX
cbe8abbc9a
Fixed: 3D mode linedefs were completely broken -- reverted 718405b580
2019-12-26 10:08:11 +02:00
Magnus Norddahl
9d5f8ec7c1
Rewrite VisualBlockMap to use a quad tree
2019-12-26 00:39:15 +01:00
Magnus Norddahl
718405b580
Remove the remaining dictionary lookups when culling
2019-12-25 18:57:39 +01:00
Magnus Norddahl
11aa31452b
Remove more dictionaries from the render loop
2019-12-21 05:43:16 +01:00
biwa
ceb4555d6c
- Fixed a crash when undoing 3D floor plugin actions while being in visual mode. Fixes #309 .
2019-11-01 17:23:41 +01:00
biwa
560d23894d
- Auto-aligning textures now produces more intuitive results and is consistent between UDMF and non-UDMF maps
2019-10-19 00:29:14 +02:00
biwa
c255a6e957
- Fixed several issues where slopes were not shown correctly in visual mode
2019-10-06 21:56:55 +02:00
biwa
6aa82e2ad9
- Slope effects related to slope things are now displayed more correctly in visual mode (they were not applied at all). Fixes #160
...
- Slope effects of UDMF vertex heights are now displayed more correctly in visual mode (they could be overwritten by lower tier slopes)
2019-09-21 14:03:30 +02:00
biwa
2516b97cee
- Added option to enable additive paint selecting without holding shift independently from regular additive selecting
2019-06-20 15:38:41 +02:00
biwa
a2567e4df5
- Textures will now wrap correctly in visual mode when the flag of the Line_SetIdentification special is set in Hexen format. Fixes #271
2019-06-18 21:20:14 +02:00
biwa
f2a343e118
- Added support for the ForceWorldPanning MAPINFO option. Fixes #258
...
- Improved support for auto aligning scaled textures
2019-04-14 18:24:37 +02:00
biwa
3d156a3be8
3D floors are now updated in real time in visual mode when their control sector is sloped through the line slope action. Fixes #250 .
2019-03-27 21:47:47 +01:00