Commit graph

3152 commits

Author SHA1 Message Date
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