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
d831d22217
Visual Mode: fixed a problem where wide classic skies were not rendered with the correct orientation
2020-10-29 20:21:42 +01:00
biwa
bb5780cf28
Thing/Linedef/Sector editing dialog: fixed a crash when pressing the up key in the action input box when the last action is selected. Fixes #493 .
2020-10-25 01:52:49 +02:00
biwa
8330c70a41
Configuration file parser: floating point numbers without the "f" suffix are now parsed as double precision floating point numbers
2020-10-24 23:27:04 +02:00
biwa
0fc2296ce9
ACS parser: fixed a bug that prevented scripts from being recognized when the previous line ended with an empty line comment
2020-10-24 21:23:06 +02:00
biwa
ee6aad4150
Texture browser: filtering for a texture name now automatically selects the best matching texture name. Addresses #483 .
2020-10-23 23:30:07 +02:00
biwa
09e40d2bae
DECALDEF parser: fixed a crash when there are duplicate decal group entries in the DECALDEF files
2020-10-23 21:04:49 +02: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
79a507a8a7
DECALDEF parser: fixed a crash when there are duplicate entries in the DECALDEF files
2020-10-17 23:11:44 +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
722c79d894
Added preliminary DECALDEFS support. Parsing works, indexed decals and decal groups can be selected as the first argument of the Decal thing. Decals are not displayed in Visual Mode, decals without an index are not supported
2020-10-11 22:36:07 +02:00
biwa
3af704b7a6
Fixed a bug where PNG sprites without an offset incorrectly had their offset centered instead of using (0, 0)
2020-10-11 13:18:08 +02:00
biwa
50c00991d3
Fixed typo.
2020-10-11 01:07:36 +02:00
biwa
c0984c8b67
When loading UDMF maps and fields that have NaN (not a number) as a value are encountered those fields will now be dropped permanently. A warning that this happens will be displayed in the Errors and Warnings dialog.
2020-10-11 00:31:55 +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
a2c87358ea
Merge branch 'master' of https://github.com/jewalky/UltimateDoomBuilder
2020-10-04 10:21:35 +02:00
biwa
22f7e99803
Fixed a crash when switching into Sectors Mode when there are no vertices in the map, but things
2020-10-04 10:21:13 +02:00
Magnus Norddahl
a66d4e72f2
Oops, forgot one flipped #if while testing
2020-10-03 23:34:07 +02:00
Magnus Norddahl
a608ad71fa
For mono, put clipboard data in text/base64 form instead of relying on a memory stream
2020-10-03 23:33:04 +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
Magnus Norddahl
275b841e31
Merge branch 'texteditor'
2020-10-02 01:37:33 +02:00
Magnus Norddahl
160882a962
Fix null pointer that builds in Windows apparently didn't care about
2020-10-02 01:35:44 +02:00
Magnus Norddahl
61788e2be2
TabControlEX doesn't work with mono (why am I not surprised? xamarin, I want my money back!!)
2020-10-02 01:09:06 +02:00
Magnus Norddahl
a091225483
Update project file
2020-10-02 00:46:08 +02:00
Magnus Norddahl
3cdfc99f8e
Remove NoScintilla.cs as it is no longer needed
2020-10-02 00:41:48 +02:00
Magnus Norddahl
f3dea17d1c
Case sensitivity for the loss!
2020-10-02 00:37:06 +02:00
Magnus Norddahl
b330e61512
Create a minimal text editor implementation for mono where scintilla isn't available
2020-10-02 00:20:23 +02:00
Magnus Norddahl
e390bce8f6
Find the exact Scintilla.NET API used by UDB and create a stub implementation so that it builds without
2020-09-30 03:34:11 +02:00
Magnus Norddahl
d919570818
Workaround mono winforms clipboard bug
2020-09-29 23:41:45 +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
8e043aa875
Added support for loading PK3s in read-only mode ( #477 )
2020-09-27 15:05:27 +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
8064bc63b7
Added option in Preferences -> Appearance -> Rendering to toggle showing of the FPS counter in Visual Mode (disabled by default)
2020-09-26 18:15:01 +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
Magnus Norddahl
6e885fbcf5
Merge pull request #471 from Talon1024/fix/monoForms
...
Fixes for Linux/Mono WinForms
2020-09-25 08:10:27 +02:00
Kevin Caccamo
0b4b781980
Check whether geobuffers is null before indexing it
...
This is an attempt to fix #474
2020-09-24 20:52:33 -04: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
Magnus Norddahl
c98ed6575b
Throw away 6 mb of memory at 1920x1080 to support AMD cards with awful drivers
2020-09-20 11:07:20 +02:00
biwa
cd8d73d4cb
Fixed problem when #include'ing files from a directory structure and using different directory path separators than the current OS's ones. Fixes #470 .
2020-09-19 20:34:32 +02:00
Magnus Norddahl
2998fc514a
Rewrite the OpenGL context creation to use exactly the same steps as GZDoom uses:
...
- dummy window destroyed immediately after getting the OpenGL 3 function pointers (debatable if that's even legal)
- calling the OpenGL 3 creation functions without an active opengl context (debatable if that's even legal)
- use wglChoosePixelFormatEXT even if it should be completely pointless
2020-09-19 17:43:03 +02:00
Magnus Norddahl
e3208f989c
Add version info to the log file
2020-09-19 15:49:19 +02:00
Magnus Norddahl
77fd7da6c7
Don't create a depth/stencil buffer for the default frame buffer
2020-09-19 15:01:10 +02:00
Magnus Norddahl
dbafb36abf
Add command line for launching builder from the BuilderNative project (this makes it easier to setup breakpoints in the native code)
2020-09-19 15:00:00 +02:00
biwa
3626d5d6ca
Reverted changes from be1fab9f65
because it severely broke the additional mode buttons in the main menu.
2020-09-19 08:59:19 +02:00
Magnus Norddahl
be1fab9f65
Fix layout issue with the menu in mono winforms
2020-09-15 00:46:41 +02:00
Magnus Norddahl
353c714efc
A few more hacks for the wonderful mono implementation of winforms
2020-09-15 00:41:53 +02:00
Magnus Norddahl
90831bd630
Fix cursor visible on Linux when in 3D mode
2020-09-13 23:43:11 +02:00
Magnus Norddahl
b740cadc13
Fix menubar getting the focus all the time on Linux
2020-09-13 23:01:38 +02:00
Kevin Caccamo
fdfeba1731
Fix some input issues on non-Windows systems (PR#467 by Talon1024)
...
* Fix some input issues on non-Windows systems
Disable the main menu bar when the 3D view is active.
Disable mouse input processing and "exclusive mouse input" until each editing dialog closes.
* Enable front/backgroup in LinedefEditForm{,UDMF} in the Setup method
The Setup method is called to specify which linedefs are being edited by the LinedefEditForm, and set up the dialog appropriately, so the front/backgroup should be enabled in the Setup method, at the same time the front/backside check boxes are checked or unchecked.
2020-09-13 19:40:09 +03:00
biwa
3218218dcc
Fixed a crash when trying to load files that do not exist
2020-09-13 10:45:30 +02: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
626af9e85e
Merge pull request #448 from Talon1024/fix/UnixCaseSensitivity
...
Attempt to improve Unix filesystem support
2020-09-12 15:42:29 +02:00
alexey.lysiuk
a5672c19c5
Fix compilation error of Windows targets
...
General\General.cs(70,58): error CS0234: The type or namespace name 'Form' does not exist in the namespace 'System.Windows' (are you missing an assembly reference?)
2020-09-12 12:14:06 +03:00
Kevin Caccamo
71f86980fd
Handle multiple entries with the same name but different case
...
This is done so that entries whose keys have a higher ordinal value (lowercase) will replace entries whose keys have a lower ordinal value. This is based on how I've seen GZDoom handle this sort of situation.
2020-09-11 22:24:43 -04:00
Magnus Norddahl
30c2ad22ea
Workaround groups Enabled flag not getting applied in mono winforms implementation
2020-09-12 02:15:21 +02:00
Magnus Norddahl
efec88994b
Apply workaround to datagridviews
2020-09-12 02:06:14 +02:00
Magnus Norddahl
ccf2191f10
Add workaround for broken View.List implementation in mono's winforms
2020-09-12 01:25:59 +02:00
Magnus Norddahl
87fe50df56
Write replacements for the unimplemented native calls for unix
2020-09-11 23:17:30 +02:00
Magnus Norddahl
0d07050bcb
Remove the need for ZeroMemory
2020-09-11 22:39:18 +02:00
Magnus Norddahl
e62c8bdad4
Fallback C# implementation for when rawmouse is not present
2020-09-11 22:22:36 +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
Kevin Caccamo
2f48255ddf
Remove GetCorrectCaseForFile call in GetFileAtPath
...
It's redundant because GetCorrectCaseForFile is called in DirectoryReader.LoadFile, and UDB will change all filenames in a PK3 to lowercase when it loads a PK3 into memory.
2020-07-29 17:30:17 -04:00
biwa
6a926d337e
Some cleanup, added some comments.
2020-07-29 22:05:12 +02:00
Kevin Caccamo
42be899204
Attempt to improve Unix filesystem support
...
Add some new methods to PK3StructuredReader and DirectoryReader, which get the filename with the correct case, and get a file at a particular path.
Replace backslashes in modeldef model paths with forward slashes, instead of doing the opposite, which was preventing some models from loading.
I don't know whether or not this is a good solution or not, since I don't know the UDB codebase very well.
2020-07-29 04:14:37 -04:00
Magnus Norddahl
7af52a9bf7
Fix BuilderNative.vcxproj to work in both Visual Studio 2017 and 2019 at the same time
2020-07-29 04:09:44 +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
8aa7462993
Files specific to UDB are now used in the program configuration folder. The files are now called UDBuilder.cfg, UDBuilder.log, and UDBCrash.txt. If there's no UDBuilder.cfg it first tries to copy GZBuilder.cfg before creating a new configuration file. Resolves #442
2020-07-25 18:42:07 +02:00
Kevin Caccamo
96208f7166
Fix directory separators
...
Path.DirectorySeparatorChar is a forward slash on Linux/Unix, so it ended up preventing DECORATE and ZSCRIPT code from being loaded on Linux.
2020-07-20 04:20:03 -04: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
ZZYZX
4202b3ea58
Add new random quote to exception dialog
2020-07-08 18:25:22 +03: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
ZZYZX
0aaef4980b
Fix exception caused by horizontal mouse wheel ( resolves #409 reported by ioan-chera, reported by KanaiZo)
2020-07-07 13:56:42 +03: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
2813a392e7
Force HiRes replacements to always use worldpanning. Fixes #432
2020-07-05 09:20:08 +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
9185a48445
Removed some more forced conversions to float
2020-06-22 16:37:32 +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
f2840e9a7b
Fixed a bug introduced by addressing #427 that stopped the script editor to show up in vanilla Hexen. Fixes #429 .
2020-06-20 15:13:49 +02:00
biwa
dbe0a7b414
3D Floor Mode: increased performance when creating new 3D floors
2020-06-20 14:39:23 +02:00
biwa
233153cdb5
Fixed a problem where translucent 3D floors were drawn solid. The cause was a rounding error because of the transition from float to double.
2020-06-20 01:21:17 +02:00
biwa
22d00763a9
The script editor is now only shown if the current game configuration supports scripts. Resolves #427 .
2020-06-19 23:30:01 +02:00
biwa
ea31f495d7
Fixed a problem where textures for OBJ models were flipped vertically
2020-06-19 12:22:57 +02:00
biwa
b3d817f053
Fixed a crash in the DIALOG/SCRIPTS editor when selecting any other than the first two options in the "look in" combo box in the replace tab. Fixes #425 .
2020-06-17 23:38:26 +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
cdf745745a
Texture sets now work with textures from a directory or PK3/PK7 (it matches against the short 8 character name)
2020-06-04 16:16:09 +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
0a6ee07ba1
3D Floor Mode: fixed a bug that would not increment the sector tags correctly if a tag range is used
2020-06-01 11:54:25 +02:00
biwa
17987918de
Fixed a bug where modifying a user_ ZScript variable through the custom properties tab would cause a crash. Fixes #420 .
2020-06-01 11:12:52 +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
10ceef6715
Fixed jittery camera when being far away from the map origin
2020-05-24 11:35:53 +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
abb61f1f09
Possible fixed a crash in LinedefInfoPanel.SetPairedUDMFFieldsLabel
2020-05-23 01:37:14 +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
7114d17eeb
Texture browser: input boxes don't lose focus anymore when the mouse is moved into the texture list area. Fixes #369 .
2020-04-28 23:35:36 +02:00
biwa
9cadd378bc
Changed the ambient sound drop down menu of ambient sound things to natural sort order. Resolves #406 .
2020-04-28 22:48:00 +02:00
biwa
594fe0403d
Removed DebugConsole functionality in non-debug builds
2020-04-26 00:58:42 +02:00
biwa
f15c0e0eb1
Fixed a crash that happened when the script window is opened but minimized, the script has syntax errors, and then the map is saved. Fixes #402 .
2020-04-25 17:43:14 +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
308e8fe4cb
Fixed a bug where the DECORATE parser got confused by wrong tokens after starting the states definition. Fixes #374 .
2020-04-11 18:46:45 +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
12b3906470
Added "Smart Grid Transform" action that sets grid transformation based on the selected elements. Vertex selected: set grid origin to that vertex. Linedef selected: align grid to that linedef. Nothing selected: reset grid transformation to the default coordinate system. No default key bound.
2020-04-10 13:40:30 +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
999d5ade9e
More BuilderMono.csproj fixes
2020-04-10 11:20:19 +02:00
biwa
a09b9b93e4
BuilderModesMono.csproj needs the fix too, of course.
2020-04-10 11:04:00 +02:00
biwa
ca4dc1958c
Hopefully fixed BuilderMono.csproj to compile for Mac and Linux again.
2020-04-10 10:57:38 +02:00
biwa
58d5bfd59b
Merge branch 'visual-slope2'
2020-04-10 10:40: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
895053ec26
Fixed indentation in ImageBrowserItem
2020-04-05 20:21:35 +02:00
volte
9693321590
Further performance improvement to image browser
2020-04-05 11:40:14 -04:00
volte
b1f4cdcd1c
Fixed slowdown in ImageBrowser due to repeated queries for system font
2020-04-05 09:15:34 -04: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