Commit graph

1197 commits

Author SHA1 Message Date
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
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
e3e76c2b40 Edit Selection Mode: fixed a bug where the control sectors of sloped 3D floors were not updated correctly when one 3D floor was applied to multiple sectors 2020-05-30 17:32:17 +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
fb3c9e7168 Started conversion from float to double 2020-05-18 18:14:54 +02:00
biwa
66be0af555 Edit Selection Mode: flipping now works on plane equation slopes 2020-05-17 22:45:33 +02:00
biwa
a5a658cc57 Edit Selection Mode: rotating sectors with plane equation slopes now works correctly if the sectors are not rectangular 2020-05-17 15:01:21 +02:00
biwa
bccb1ace56 Some refactoring to remove convoluted code 2020-05-17 12:18:58 +02:00
biwa
caf7477d75 Edit Selection Mode: slopes of 3D floor control sectors are now properly updated when moving/rotating sectors (only when not pasting) 2020-05-17 11:48:58 +02:00
biwa
fd41361f6d Fixed an issue in Edit Selection Mode that could cause Out Of Memory exceptions with vertices that are slightly off grid in the 32 bit version 2020-05-16 13:22:33 +02:00
biwa
4fd976feb9 Using Edit Selection Mode on sectors with plane equation slopes works correctly now (flipping still doesn't work) 2020-05-16 12:26:16 +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
47cec444b5 Slopes of 3D floor are now preserved when dragging the tagged sectors
Added option to lock texture offsets of 3D floors when dragging the tagged sectors
2020-05-03 17:25:07 +02:00
biwa
c0bdae79b8 Fixed a crash that happened when entering Edit Selection Mode while performing the Edit action 2020-04-30 20:22:26 +02:00
biwa
594fe0403d Removed DebugConsole functionality in non-debug builds 2020-04-26 00:58:42 +02:00
biwa
684e366248 3D Floor Mode: allow pasting for texture names with more than 8 characters in the 3D floor editing window 2020-04-21 22:56:19 +02:00
Magnus Norddahl
8eb522c873 Move vpo native code into BuilderNative as it is easier to manage. The plugins folder doesn't support including native dlls properly anyway.
Fix visplane explorer busy looping when waiting for data and reduce the used core count to 75% of the total available
Made vpo native code thread safe, removing the need for ungodly DLL patching hacks
2020-04-19 15:56:24 +02:00
Magnus Norddahl
db44d411c7 Fix black output from visplane explorer 2020-04-19 14:19:18 +02:00
biwa
f4e9556262 Significantly reduced video memory usage when pasting sectors. Should also significantly increase speed when pasting many sectors. Fixes #400. 2020-04-19 11:58:55 +02:00
biwa
29e96f965f Removed default hotkeys from visual sloping actions 2020-04-11 21:19:08 +02:00
biwa
a5a78aa248 Added paint select to 3D Floor Mode
Fixed multi select in 3D Floor Mode to work when starting to drag inside a sector
2020-04-11 11:52:31 +02:00
biwa
b83467148b Fixed a crash in Edit Selection Mode when visual sloping was previously used to make the slope of a sector perfectly planar 2020-04-11 10:51:25 +02:00
biwa
138c96bb13 Moved smart grid transform into Linedefs Mode and Vertices Mode, so it also works when simply highlighting a linedef or vertex. When doing smart grid transform on a linedef it'll also use the vertex closest to the mouse cursor as the origin instead of always the start vertex 2020-04-11 10:42:41 +02:00
biwa
65eec24af4 3D Floor Mode: using tab in the 3D floor editor window now cycles through the input fields in a sane order 2020-04-10 12:20:01 +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
a09b9b93e4 BuilderModesMono.csproj needs the fix too, of course. 2020-04-10 11:04:00 +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
a373421abd Copy'n'paste should now work correctly with plane equation slopes 2020-04-04 22:02:13 +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
alexey.lysiuk
127aff5cc4
Fixes for non-Windows platforms (#371 by alexey-lysiuk) 2020-03-17 21:37:58 +02:00
biwa
0282f34324 3D Floor Mode: Don't set valid plane equation when the the surface isn't sloped 2020-03-15 10:39:26 +01:00
biwa
4ae5f32004 3D Floor Mode: splitting/detaching 3D floors now preserves slope equation slopes 2020-03-14 21:31:24 +01:00
biwa
c34b6e310a Rotating sectors with plane equation slopes in Edit Selection Mode works properly now 2020-03-14 20:06:30 +01:00