Commit graph

3750 commits

Author SHA1 Message Date
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
d12f5fdb59 Merge branch 'master' of https://github.com/jewalky/UltimateDoomBuilder 2020-09-27 14:46:49 +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
Magnus Norddahl
61a2a30099
Merge pull request #475 from Talon1024/feature/makeDebug
Allow build type to be set in the environment
2020-09-27 02:32:48 +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
Kevin Caccamo
88dae8938f
Allow build type to be set in the environment
This allows for release or debug configurations, for those who prefer typing "make" into the terminal.
2020-09-25 14:46:12 -04: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
4a559ba127
Update README.md
Fix debian package name.
2020-09-20 12:00:20 +02:00
Magnus Norddahl
94a2f042fe
Update README.md 2020-09-20 11:58:53 +02:00
Magnus Norddahl
1ef6391bbb Added builder script with execute bit set so the .exe doesn't confuse Linux users 2020-09-20 11:41:28 +02: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
df6ecb66df Add debug log file to gitignore 2020-09-19 15:08:01 +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
biwa
9f0c584479 Heretic game configuration: actions 28 and 33 now correctly state that they are for green keys instead of non-existing red keys. Fixes #468. 2020-09-17 21:42:59 +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
7695429dd4 Improve build output on linux 2020-09-12 15:46:07 +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
Magnus Norddahl
e5101bcc91
Merge pull request #466 from alexey-lysiuk/ci_stop_on_error
Report build error in corresponding CI job
2020-09-12 14:49:02 +02:00
Magnus Norddahl
9cf04996a7
Merge pull request #465 from alexey-lysiuk/win_build_fix
Fix compilation error of Windows targets
2020-09-12 14:48:18 +02:00
alexey.lysiuk
d391538337 Report build error in corresponding CI job
Without explicit check for msbuild return code 'Test Files Presence' was marked as failed job
2020-09-12 12:16:25 +03: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
800090d5b3 Add 'make run' 2020-09-12 01:24:20 +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