Commit graph

609 commits

Author SHA1 Message Date
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
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
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
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
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
ZZYZX
4202b3ea58 Add new random quote to exception dialog 2020-07-08 18:25:22 +03: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
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
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
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
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
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
Magnus Norddahl
29b30a3dcc This joke isn't funny when half the racists in the US is saying this 2020-03-17 20:09:34 +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
b415046694 Fixed nonsensical values being returned when using +++/--- in many fields. 2020-01-04 23:29:35 +01:00
ZZYZX
7b5506363e Fixed F10 key focusing the menu on key release 2019-12-31 15:32:57 +02:00
ZZYZX
c00e2a8074 Fixed F10 key focusing the menu instead of opening the script editor as intended 2019-12-31 14:57:29 +02:00
ZZYZX
e092235262 Removed the remains of resource editing 2019-12-31 14:16:13 +02:00
Magnus Norddahl
f97f2d36b1 Remove preview manager and remove CreateTexture 2019-12-29 20:48:11 +01:00
ZZYZX
87f74cb9c3 Trashed embedded resource editing UI 2019-12-29 15:27:29 +02:00
Magnus Norddahl
d46c72b04a Refactor the ImageData load code so that the UI thread requires no locks 2019-12-29 03:54:12 +01:00
ZZYZX
f41c5bdd6f Used slightly better approach for executing stuff in the main thread 2019-12-28 22:01:57 +02:00
ZZYZX
bd811aac7d Fixed deadlock caused by errors displayed by texture loading 2019-12-28 21:37:05 +02:00
Magnus Norddahl
11b5cb4e8f Fix crash if entering 3D mode early
Remove thread priority settings (this is not the right way to do it)
Stop brain dead busy looping and use Monitor.Wait + Monitor.Pulse
Only call Control.Invoke if its a worker thread calling RunOnUIThread
Add the code for running multiple background threads (unfortunately blocked by DevIL apparently not being thread safe, gg!)
2019-12-27 07:21:43 +01:00
Magnus Norddahl
7e0ea54254 Don't use SendMessage when the built-in Invoke function does the same 2019-12-27 04:37:10 +01:00
ZZYZX
24e4c55ed0 Fixed logos in the About form 2019-12-26 15:15:13 +02:00
ZZYZX
8320402201 Fixed background in About form for larger fonts 2019-12-26 04:16:23 +02:00
NickZ
1aa020b2d0 Added test configuration option to use Linux paths, added different font for text labels (PR#268 by NickZ)
* Add Linux Path option to test config

* make shortpaths and linuxpaths mutually exclusive
2019-12-25 19:45:19 +02:00
ZZYZX
d559ba30d7 Added error reporting to Update Checker; Fixed update checking failure in certain setups 2019-12-24 23:32:37 +02:00
ZZYZX
f3c60ac5e5 Corrected Git Issues link for error dialog 2019-12-24 20:13:18 +02:00
ZZYZX
8b682a658c Fixed wrong icon in auto-update Newsflash 2019-12-24 20:04:20 +02:00
ZZYZX
e1f3dfda87 Changed link to UDB 2019-12-24 19:47:07 +02:00
ZZYZX
4b86389a5c Clarified credits a bit 2019-12-24 15:28:31 +02:00
ZZYZX
cd9da4b4a1 Changed splash image and icons 2019-12-24 11:59:58 +02:00
ZZYZX
d995f983fc Rebranding 2019-12-24 09:14:28 +02:00
ZZYZX
81c8cdeec6 Added credit to Talon1024 & dpJ 2019-12-16 00:27:29 +02:00
ZZYZX
f0aee1e174 Merge branch 'master' into slimgl_merge 2019-12-14 23:50:40 +02:00
ZZYZX
2c3013f74c Make everything build with VS2015 again 2019-12-14 23:42:44 +02:00
biwa
31eaf98cbe Using --- and +++ now also works correctly for the height offset in the edit sector properties dialog 2019-12-14 11:52:46 +01:00