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
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
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
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
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
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
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
biwa
c34b6e310a
Rotating sectors with plane equation slopes in Edit Selection Mode works properly now
2020-03-14 20:06:30 +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
247d3e7a97
Merge branch 'master' of https://github.com/jewalky/UltimateDoomBuilder into visual-slope2
2020-01-09 20:05:34 +01:00
biwa
2c9235e4ea
Trying to figure out matrix black magic
2020-01-07 21:27:37 +01:00
Magnus Norddahl
20f5f01b84
Unix build fixes
2020-01-06 08:07:52 +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
624c5ea1d3
Fixed: don't use full Renderer2D pipeline while updating the grid after resize (fixes debug build)
2019-12-26 14:33:23 +02:00
ZZYZX
cbe8abbc9a
Fixed: 3D mode linedefs were completely broken -- reverted 718405b580
2019-12-26 10:08:11 +02:00
ZZYZX
3491bdccea
Fixed: lines in 2D mode had random gray pixels with high quality enabled ( resolves #331 )
2019-12-26 08:16:38 +02:00
ZZYZX
607ac7751e
Fixed: use application default font family for rendered labels if user-selected font is not available
2019-12-26 07:09:28 +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
ZZYZX
96f2b4e94e
Fixed TGA texture loading
2019-12-24 21:33:16 +02:00
ZZYZX
99b1770004
Fixed references to GZDB in the setup
2019-12-24 20:43:55 +02:00
ZZYZX
81df5e858f
Removed remaining DirectX references, fixed setup
2019-12-24 19:45:23 +02:00
ZZYZX
d995f983fc
Rebranding
2019-12-24 09:14:28 +02:00
Magnus Norddahl
11aa31452b
Remove more dictionaries from the render loop
2019-12-21 05:43:16 +01:00
ZZYZX
f0aee1e174
Merge branch 'master' into slimgl_merge
2019-12-14 23:50:40 +02: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
05a64b4ab8
- Fixed a bug where searching for generalized sector effects was not handled properly in Find & Replace Mode. Fixes 305.
2019-10-19 20:58:30 +02: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
mykola-ambar
c6b879bb1a
Fix sector offset transformation in Edit Selection mode (PR#274 by mykola-ambar)
2019-09-20 21:49:30 +03:00
biwa
e799d882a9
Fixed a crash when manually modifying a sidedef's sector index to a sector with a tag
2019-09-17 20:22:51 +02:00
Magnus Norddahl
15a7f02617
Create mono projects for all the plugins
2019-08-31 14:14:25 +02:00
biwa
b603cb35c7
- Unused textures error checker doesn't erroneously report textures on 3D floors with the use upper/lower flags set (followup to #269 )
...
@ Refactored texture error checks to reuse code
2019-08-08 15:06:10 +02:00
Magnus Norddahl
21b46010c1
Merge remote-tracking branch 'origin/master' into slimgl
2019-08-08 04:07:00 +02:00
Magnus Norddahl
90b5c41517
- update solution to .net framework 4.7.2 and add build output files to .gitignore
2019-08-08 00:18:44 +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
8d75bfc3d2
- The missing textures checker now finds missing upper/lower textures on 3D floors when the appropriate flags of the Sector_Set3dFloor special are used. Fixes #269
2019-06-20 14:53:51 +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
57054c132f
- Fixed a bug where the unknown texture error checker didn't report unknown textures on sidedefs that were never seen. Fixed #270
2019-06-16 20:14:10 +02:00
biwa
22df516e11
- Fixed a bug where moving the mouse outside the window could crash when pasting a selection while having auto dragging enabled. Fixes #110 .
2019-04-20 16:55:20 +02:00
biwa
03cb5249af
Merge branch 'master' of https://github.com/jewalky/GZDoom-Builder-Bugfix
2019-04-14 18:27:34 +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
ZZYZX
95a9d28798
Specify git.exe instead of just 'git' for compatibility with my environment with Cygwin git...
2019-03-29 20:41:01 +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
davidxn
838d04e9c7
Missing Activation map check (PR#260 by davidxn)
...
* Adding check for missing activations on lines that have an activation-requiring action
* Adding skip check if the map isn't UDMF
* Oops, typo in name of check
2019-02-27 19:12:15 +02:00
ZZYZX
5c42035731
Fixed unused variable warnings; fixed compilation error in Renderer2D
2019-01-19 10:02:54 +02:00
biwa
eaebf7ec1a
Added paint selecting to visual mode (PR#248 by biwa)
2019-01-19 09:56:13 +02:00
volte
a1d28e1e56
Grid rotation and alignment functionality (PR#252 by Volte)
2019-01-14 20:07:08 +02:00
ZZYZX
6fc15a179f
Fixed crash while trying to reference nonexistent vertices in Unreal models
2018-07-25 16:03:41 +03:00
ZZYZX
80b7d86cd8
Added: color user variable, //$UserReinterpret for color control on integer user variable
2018-07-24 11:35:52 +03:00
ZZYZX
04dc210db5
Added: string/float user variables, //$UserDefaultValue <value> for specifying default user variable value
2018-07-24 10:27:29 +03:00
ZZYZX
74e31b658b
Fixed Builder.exe.config, only this time properly
2018-07-16 21:33:22 +03:00
ZZYZX
a196457f83
Fixed: GZDB wouldn't load plugins on certain paranoid systems due to plugin DLL's being "remote" and unsigned (reported by Lorenzo)
2018-07-16 17:06:49 +03:00
ZZYZX
1933b0b6de
Changed Resource directory browser to use Win7 folder dialog, not Win9x one (reported by dpJudas)
2018-07-13 07:56:13 +03:00
ZZYZX
50d458f764
Fixed null reference in visual mode when trying to render a thing without a sector (reported by Ozymandias81)
2018-06-23 19:20:39 +03:00
ZZYZX
b026e58a89
Added: MODELDEF #include support
2018-06-09 17:26:03 +03:00
ZZYZX
3c433cfcb8
Fixed scalar in UE1 model reader (was 127, should be 128)
2018-06-07 11:59:52 +03:00
JakeSmokie
6768bc7f37
Added sector raise/lower by 128mp (PR #215 by JakeSmokie)
2018-06-07 11:32:36 +03:00
ZZYZX
320b5f017f
Updated Unreal model loading to the fixed behavior in GZDoom - axes were remapped incorrectly (I blame Marisa_Kirisame)
2018-05-28 11:00:57 +03:00
ZZYZX
8af4a46c5b
Actually fixed vertex axes in Unreal models. Fixed the order of rotations in MODELDEF Offsets (this was not releavent to Unreal issues)
2018-05-28 04:06:21 +03:00
ZZYZX
260ffbe57b
Fixed skin remapping method
2018-05-27 23:25:17 +03:00
ZZYZX
85f00ab9d7
Added multiple texture support for Unreal models
2018-05-27 21:05:57 +03:00
ZZYZX
db36293462
Added platform information to the saved error report
2018-04-16 03:22:24 +03:00
ZZYZX
e9c83d0646
Fixed: GZDB was built against wrong SlimDX version (including 64-bit which was built against 32-bit SlimDX) - (reported by StrikerMan780, leodoom85, Rockstar Racoon)
2018-04-16 01:51:57 +03:00
ZZYZX
a2a6004a61
Fixed (?): The new .NET 4.6.x JIT method inlining was fucking with GetCallingAssembly-based plugin detection
2018-04-15 01:59:58 +03:00
ZZYZX
d9dfab64a0
Made some edits to the build scripts and auto-update routine to support 64-bit updating
2018-04-14 18:11:40 +03:00
jewalky
0b14bdeec1
GZDB native 64-bit binary support (PR#197 by StrikerMan780)
2018-04-14 16:55:21 +03:00