Commit graph

6707 commits

Author SHA1 Message Date
Bastien Bouclet
0a8049e30c SDL: Fix gamepad mouse cursor wrapping on hi-res screens
The cursor position was overflowing a signed 16-bits integer once
multiplied with MULTIPLIER when using a resolution such as 2560x1440.

It would be nice changing this code to make more sense, sadly it is
thightly coupled with platform specific subclasses.

Fixes #10996.
2019-06-27 20:12:52 +02:00
Henrik "Henke37" Andersson
39f63f1236 WIN32: Make use of the window handle when calling ShellExecute. 2019-06-25 07:54:31 +03:00
Lothar Serra Mari
119bcc2b90 WIN32: Use HINSTANCE for OSystem_Win32::openUrl
This implementation now matches previous ShellExecute() calls, so we are
now consistent in that regard. It also
silences a warning in Mingw complaining about a type mismatch.
2019-06-24 17:00:20 +03:00
Cameron Cawley
16f8c024d1 OPENGLSDL: Move stretch mode handling into OpenGLGraphicsManager 2019-06-24 02:19:28 +03:00
Cameron Cawley
0ddfe927ce OPENGLSDL: Move getSupportedFormats into OpenGLGraphicsManager 2019-06-22 01:15:39 +03:00
Cameron Cawley
b9e29cedfc ANDROID: Move isConnectionLimited into OSystem 2019-06-21 08:19:37 +03:00
rsn8887
dbc0a5ff09 SWITCH: Make direct touch (pointer jumps to finger) the default 2019-06-16 14:07:46 -05:00
rsn8887
536521d356 SWITCH: Enable touchpad mouse mode option in controls 2019-06-13 15:38:10 -05:00
Henrik "Henke37" Andersson
b527b573cf WIN32: Let the PE header control showing the console.
This applies DRY to the console config and avoids junk code changes seen by git.
2019-06-09 13:42:06 +03:00
Hubert Maier
0bb8c0c8a6 AMIGAOS4: RM2AG.rexx rewrite
closes #1631
2019-06-06 14:46:11 +02:00
SupSuper
091b6ebe39 WIN32: Fix leaked handles in CreateProcess 2019-06-03 20:17:24 +03:00
rsn8887
a6d7c6c02a SWITCH: Update build instructions in readme.switch 2019-05-24 12:14:45 -05:00
rsn8887
afc9182e5b SWITCH: Update build instructions etc. in readme.switch 2019-05-24 10:32:47 -05:00
rsn8887
655fea4a6f SWITCH: Enable gfx filtering by default for better image quality 2019-05-23 10:07:11 -05:00
rsn8887
f7ba39c4d5 SWITCH: add makefile target switch_release for buildbot 2019-05-22 09:56:00 -05:00
Le Philousophe
dc0bfbc724 COMMON: Fix button state desynchronization when warping mouse 2019-05-22 00:14:56 +02:00
Lothar Serra Mari
95d4678de7
NEWS: Convert German NEWS file to Markdown (#1627)
* NEWS: Convert German NEWS file to Markdown

* NEWS: Fix Markdown conversion errors in NEUES.md

* BUILD: Add the German NEWS file to the build system

* NEWS: Fix formatting in NEUES.md
2019-05-18 14:03:43 +02:00
rsn8887
30ee1f2cdc Switch: fix version, remove redundant settings and unneeded defines 2019-05-12 11:59:44 +03:00
rsn8887
875bc0b1c2 Switch: fix build, add build instructions, avoid using delete() 2019-05-12 11:59:44 +03:00
Cpasjuste
488bbb267a SWITCH: add nintendo switch support 2019-05-12 11:59:44 +03:00
Paul Gilbert
b821e8fce4 COMMON: Changed DumpFile & StdIOStream to derive from SeekableWriteStream 2019-05-12 11:44:15 +03:00
Cameron Cawley
6989e63a25 ANDROID: Make pushEvent take 7 parameters instead of 6 2019-05-09 18:58:09 +01:00
SupSuper
276f6e0bfd SDL: Fix MSVC warnings
Fixes warning C4121: alignment of a member was sensitive to packing
by hiding warnings from system headers
2019-05-09 18:13:10 +10:00
SupSuper
03c43f0588 CLOUD: Fix MSVC warnings
Fixes warning C4305: truncation from 'double' to 'float'
2019-05-09 18:13:10 +10:00
D G Turner
889cadaca5 BACKENDS: Fix GCC Compiler Warning in Default Timer Implementation
This is another instance of a warning from usage of memset on a
non-trivial data structure, but this can be removed and replaced by a
constructor.
2019-05-09 05:06:44 +01:00
Thierry Crozat
04301f32d0 AmigaOS4: Fix copy of renamed RM2AG.rexx file 2019-05-06 12:23:42 +01:00
Stefan
a122470034 AmigaOS4: Activate syntax highlighting in GitHub 2019-05-05 15:51:02 +03:00
Bastien Bouclet
1d0d842e2a BUILD: Add the licence file for the Source Code Pro font 2019-05-05 08:52:12 +02:00
Cameron Cawley
3309c574c0 DS: Replace strlcpy with Common::strlcpy 2019-05-01 16:43:26 +01:00
Cameron Cawley
68e700ea54 PSP2: Fix warning 2019-05-01 16:43:04 +01:00
Cameron Cawley
fb0b63ba66 RISCOS: Add Drag and Drop support 2019-04-30 22:17:04 +01:00
Cameron Cawley
d7b2b1b8f9 GUI: Support adding games via Drag and Drop 2019-04-30 22:17:04 +01:00
Cameron Cawley
04229fd70b
POSIX: Clean up formatting 2019-04-28 15:06:31 +01:00
rsn8887
35785d04a8 PSP: remove legacy-libs, not needed with the updated psp toolchain 2019-04-25 17:31:05 -05:00
Thierry Crozat
66ef22d555 MACOSX: Improve opening files from the Help menu
Now in addition to rtf extension and no extension, it also looks
for the html and md extensions. Also unless the extension is RTF or
HTML, which are widely recognized, it explicitely indicate that the
file should be open with TextEdit.

This fixes bug #10938, with opening the README and NEWS file from
the Help menu failing when the bundle was compiled without using
pandoc and thus the only files available are the markdown ones.

Support for the html extension is to prepare for a future change
to have a nicer README than the plain text one.
2019-04-21 11:01:34 +01:00
Cameron Cawley
5d7cd526e8 ANDROID: Add a pthreads-based mutex manager 2019-04-20 15:53:56 +03:00
Cameron Cawley
50ed922cb7 RISCOS: Support creating a StrongHelp manual 2019-04-18 03:55:22 +01:00
Cameron Cawley
ab0fab9bf9 POSIX: Move implementation of exists, isReadable and isWritable into posix-fs.cpp 2019-04-16 00:55:43 +03:00
Cameron Cawley
8c15b41dd7 RISCOS: Move the path conversion functions into a separate file 2019-04-15 16:24:51 +01:00
Cameron Cawley
bcef809e61 WINCE: Fix compilation 2019-04-15 08:06:39 +03:00
Cameron Cawley
2af325f60a ANDROID: Factor event pushing into pushEvent
Originally from ResidualVM.
2019-04-12 21:42:54 +01:00
Cameron Cawley
d75a1355ba ANDROID: Move event types to a separate file
Originally from ResidualVM.
2019-04-12 21:39:07 +01:00
Hubert Maier
ce8227323b AmigaOS4: Exclude platform from a SDL1/2 keyboard fix that breaks numpad usage (#1551)
SDL1/2: Exclude AmigaOS4 from returning 0 for .ascii

*reset .ascii to 0, when Num-Lock is NOT enabled and keypad directional keys are pressed* (original description) is causing the numpad to play dead completely on AmigaOS4 (no matter if numlock is active or not). This is a workaround for the SCUMM engine, where keycodes are mixed with ASCII codes.

Check commit f5ed14e93d for reference. 

Fixes bug #10558. Tested with both SDL1 and 2 on AmigaOS4 and with both Indiana Jones games.
2019-04-11 01:28:18 +03:00
Cameron Cawley
c21090ea03 BACKENDS: Simplify setGraphicsMode on GPH, Dingux and LinuxMoto 2019-04-07 20:52:39 +03:00
Cameron Cawley
62660da0bc RISCOS: Log messages using !Reporter 2019-04-05 18:50:05 +01:00
Cameron Cawley
e4b78f4f62 WIN32: Ensure the translated dialog strings are using the correct encoding 2019-04-04 01:06:30 +03:00
Cameron Cawley
e40cdea6ba
SDL: Use Common::KEYCODE_KP_ENTER instead of SDLK_KP_ENTER 2019-04-02 22:41:21 +01:00
Matan Bareket
e84e71ed34 BACKENDS: Add gray20 color to our XPM icon parser
We don't change the icon that often but there's much more x11 colors than just black and gray20 that we may end up having in the XPM file
2019-04-02 13:56:12 -04:00
Cameron Cawley
27e6a28e4e BACKENDS: Fix compilation with SDL_Net enabled and cloud support disabled 2019-04-02 12:02:21 -04:00
Cameron Cawley
364fb12e83 BUILD: Convert the NEWS.md file if pandoc is installed 2019-04-02 11:59:31 -04:00