Commit graph

3138 commits

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