Cameron Cawley
f8a883f2b1
SDL: Unify implementations of activateManager and deactivateManager
2020-05-10 12:02:44 +01:00
mataniko
b0895cf7c2
BACKENDS: Fix SDL version check for SDL_EnableScreenSaver
2020-05-10 00:50:54 -04:00
mataniko
38325bfb94
BACKENDS: Don't turn off screen when ScummVM is running a game
2020-05-10 00:35:29 -04:00
mataniko
dbf404b786
BACKENDS: Allow the screensaver to turn on when ScummVM is running
2020-05-09 19:46:29 -04:00
D G Turner
8f6620b84f
SDL2: Fix GCC Compiler Warning about Enum vs. Non-Enum Type in Conditional
...
The issue is that SDL_GetWindowWMInfo returns a SDL_bool enumeration type
rather than a standard bool. It should be noted that SDL_GetWMInfo used
later in this function returns a int type instead and thus will cast to
bool without warning.
2020-05-09 05:41:20 +01:00
SupSuper
9a3e420bd2
TTS: Fix crash on Windows when there are no audio devices
2020-04-29 15:22:21 +01:00
rsn8887
68fad60eb6
PSP2: Fix cloud integration
2020-04-27 23:02:18 -05:00
Thierry Crozat
e0441544d1
IPHONE: Add support for kFeatureNoQuit
...
This will ensure the Quit buttons in the GUI are hidden.
2020-04-26 16:26:03 +01:00
Thierry Crozat
298c61844a
IOS7: Use abort() instead of exit() for the Fatal error message view
2020-04-26 16:19:37 +01:00
Thierry Crozat
a5bad37f17
IOS: Use abort() instead of exit()
2020-04-26 16:19:37 +01:00
Thierry Crozat
4efcecb986
IOS7: Log error messages to the system error log facility
2020-04-26 16:19:37 +01:00
Thierry Crozat
be6372df9c
IOS7: Remove exit for normal application termination
...
With the kFeatureNoQuit being now used, it should not get
there anyway.
2020-04-26 16:19:37 +01:00
Thierry Crozat
8958fe0f7b
IOS7: Add support for kFeatureNoQuit
2020-04-26 16:19:37 +01:00
Thierry Crozat
8b0b9f11c6
OSYSTEM: Add kFeatureNoQuit to remove Quit buttons and replace Quit with RTL
...
Some platforms should not allow quitting ScummVM. For example the Apple's
HUG for iOS state that we should "Never quit an iOS applications
programmatically". Adding the kFeatureNoQuit allows those backend
that need it to remove the possibility to quit the application.
2020-04-26 16:19:37 +01:00
Thierry Crozat
795111561c
DC: Fix compilation
2020-04-26 03:18:46 +01:00
Cameron Cawley
a404921a7e
DC: Fix broken physical audio CD playback
2020-04-26 02:19:47 +01:00
Bastien Bouclet
046be21193
KEYMAPPER: More complete keyboard repeat handling
2020-04-18 17:12:03 -07:00
Paul Gilbert
8bcebdec5f
ULTIMA4: Enable keymapper actions to optionally trigger on kbd repeats
2020-04-18 17:12:03 -07:00
Max Horn
08b4639cbb
ALL: fix a bunch of const warnings
...
Also while add it, constify some code
2020-04-17 22:41:11 +01:00
Thierry Crozat
b196d26b3e
SDL: Add --logfile command line argument to specify logfile path
2020-04-17 22:39:50 +01:00
Thierry Crozat
5585d77e5e
IOS7: Use screen scale to scale the overlay
...
This should result in a consistent overlay size whatever the pixel
density is for the device.
2020-04-16 22:05:35 +01:00
rsn8887
8382ecdeae
PSP2/SWITCH: Touch structs initialization in constructor to fix build
2020-04-15 14:41:43 -05:00
rsn8887
6fa431a5fc
PSP2: Explicitly zero-initialize structs used in touch controls
2020-04-15 13:43:15 -05:00
rsn8887
bff75784a6
SWITCH: Explicitly zero-initialize structs used for touch controls
2020-04-15 13:42:05 -05:00
Bastien Bouclet
85e3fb38fb
SDL: Change keyboard repeat to apply on unmapped events
...
The keyboard repeat event generator is used when building against SDL1.
Previously the repeat events would generate based on the event stream
produced by the keymapper which is not guaranteed to have matching up
and down events in the case the keymaps are changed while a key is
pressed.
Fixes #11417 .
2020-04-12 11:11:00 +02:00
Cameron Cawley
27e8467b28
ANDROID: Add support for additional mouse buttons
2020-04-07 13:55:30 +03:00
Le Philousophe
d3c72b4c97
ANDROID: Update files in build directory when source changed
2020-04-07 11:36:02 +03:00
Cameron Cawley
b8e1aa66e5
ANDROID: Ignore input from the volume buttons
2020-04-01 21:10:00 +01:00
athrxx
a3bc386335
SDL2: silence 'window magic' assert
...
Some builds of SDL2 (in my case the vcpkg debug Winx64 build) trigger an annoying and rather pointless assert when calling SDL_GetWindowWMInfo() with a _window parameter of 0 (window && window->magic == &this->window_magic). This commit silences that.
2020-03-29 13:40:40 +02:00
Bastien Bouclet
f6bb3af12a
KEYMAPPER: Use OptionsContainerWidget for the remap widget
2020-03-28 07:38:39 +01:00
Cameron Cawley
4c3c910028
GCW0: Fix compilation
2020-03-27 23:27:37 +00:00
Cameron Cawley
d6a02740a8
GPH/DINGUX: Unify the downscaling code
2020-03-27 22:50:41 +01:00
Cameron Cawley
f2d323628d
GCW0: Fully disable the downscaling code
2020-03-27 22:50:41 +01:00
Cameron Cawley
153576f0b5
BACKENDS: Move implementations of hasFeature into the relevant OSystem subclasses
2020-03-27 22:50:41 +01:00
Cameron Cawley
a5b6a577de
SDL: Remove unnecessary overrides of setFeatureState() and getFeatureState()
2020-03-27 22:50:41 +01:00
Cameron Cawley
205175c4e5
SDL: Don't allow switching to and from fullscreen if it isn't supported
2020-03-27 22:50:41 +01:00
Peter Kohaut
470a1d3586
ANDROID: Switch to Gradle
...
Updated NDK to r21 (LTS)
Switch target Android to 29 as it is required by Google Play Store
Switch minimum Android to 16 (4.1) as it is the lowest supported version by NDK
Removed MIPS and armeabi as they are no longer supported
Renamed Android build names into official ones
2020-03-27 22:45:25 +01:00
Thierry Crozat
8eac9606bc
MACOSX: Check selector exists when trying to replace application menus
...
In particular it has been reported that setHelpMenu was introduced in
MacOS X 10.6. So hopefully this change will fix running ScummVM on
MacOS X 10.5 or older.
This might fix bug #11260 : MAC OS X: App incomplete when launched on
OS X 10.5.8.
2020-03-22 20:36:35 +00:00
SupSuper
897efb1454
POSIX: Add support for native GTK file browserOnly enabled on platforms with libgtk
2020-03-22 20:46:42 +02:00
SupSuper
a4d44e3de9
BACKENDS: Move shared DialogManager code to common
...
All backends need to flush events and window when opening a dialog
2020-03-22 20:46:42 +02:00
SupSuper
22943ee368
NETWORKING: Fix delete instead of free
2020-03-20 16:02:16 +00:00
D G Turner
047545cc1b
KEYMAPPER: Fix Missing Default Switch Case
...
These are flagged by GCC if -Wswitch-default is enabled.
2020-03-17 13:33:12 +00:00
Bastien Bouclet
16d0687b66
SWITCH: Use ScummVM file buffering instead of newlib's implementation
...
Fixes #11384 .
2020-03-16 14:53:09 -05:00
Bastien Bouclet
9cc2fee887
SDL: Enable joystick input by default
...
Game controller input is now enabled whenever a compatible device is
connected. The keymapper's keymaps are refreshed when a joystick is added
or removed.
Fixes #10366 .
2020-03-16 18:41:27 +01:00
Cameron Cawley
d205578d4d
SDL: Add a separate function for setting the hardware size
2020-03-16 01:30:05 +02:00
Cameron Cawley
3e94325df9
BACKENDS: Allow compiling certain backends for standard Linux platforms
2020-03-16 01:29:20 +02:00
rsn8887
bd1b346e08
BACKENDS: strip psp2 executable to reduce size
2020-03-14 00:46:46 -05:00
Bastien Bouclet
a155061ee4
KEYMAPPER: Set the default virtual mouse settings
...
Fixes the 3DS mouse cursor drifting.
2020-03-11 06:15:46 +01:00
Bastien Bouclet
dbb2c73a6b
KEYMAPPER: Update the logic for multiple global / game keymaps
...
It is valid for actions from different keymaps of the same type to be
triggered by a single event.
2020-03-11 05:07:06 +01:00
Eugene Sandulenko
ef80498843
KEYMAPPER: Comment out noisy warning
2020-03-10 17:05:53 +01:00