Commit Graph
7479 Commits
Author SHA1 Message Date
Cameron Cawley f59091c1e4 ANDROID: Use the input enums from the system headers 2020-10-09 07:57:08 +03:00
antoniou 8d261d559e BACKENDS: NETWORKING: Add fringe case for hasPermittedPrefix() return clause
Android port was failing because the normalized prefix ended in '/' and the normalized path was identical except for the trailing '/'
2020-10-07 23:44:08 +03:00
antoniou e25ac0bc55 ANDROID: Correctly init config keys and reflect values on GUI
Also comments added about how this process works. Fixes bug #11743
2020-10-07 15:26:31 +03:00
Donovan Watteau a1d930209a SDL: Prefer OpenGL over Metal rendering on macOS
SDL 2.0.10 and above favors Metal over OpenGL rendering on macOS, but
this currently causes blurriness issues on Retina displays.

Going back to OpenGL rendering works around this bug for now.

Users can override this with the SDL_RENDER_DRIVER environment variable.

c59bf95ba8 and 70f79d3df8 are still a requirement to
work around this bug, too.

Bug #11430.
2020-10-04 21:11:54 +01:00
antoniou 01c622b807 ANDROID: Add external app path if available to search path 2020-10-04 20:28:27 +03:00
antoniou 5613c50fb3 ANDROID: Set AC_BACK to be the default map for Skip action
If Skip is not otherwise mapped by the game engine explicitly
2020-10-03 12:26:38 +03:00
antoniou 319149343f ANDROID: Reduce more Lint warnings
Unused resources, mem leak for event handler, overried View's performClick for accessibility
2020-10-02 19:50:30 +03:00
Alexander Reim c0062fe761 WII: Fix compilation with flag: disable-16bit 2020-10-02 15:00:57 +02:00
antoniou 50eb038312 ANDROID: Comment about related bug report for transient config options 2020-10-02 12:42:06 +03:00
antoniou 50d2ae3b4c OPENGL: Use nearest neighbor scaling for overlay UI when filtering is disabled
User choice in launcher's Option, Graphics Tab detemines whether filtered graphics should be used

This now affects the ScummVM UI (it was previously set to not affect the UI overlay for OPENGL)
2020-10-02 12:38:46 +03:00
D G Turner 3c96f78ec5 KEYMAPPER: Fix GCC Compiler Warning for Signed vs Unsigned Comparison 2020-10-02 00:05:07 +01:00
Alexander Reim 1994249ef2 WII: Add support for WiiFilesystemNode::createDirectory() 2020-10-01 13:03:52 +02:00
antoniou bf54ea041b ANDROID: Fix for buggy backspace behavior in TYPE_NULL inputType
Code taken from https://stackoverflow.com/a/19980975
2020-10-01 00:06:20 +03:00
antoniou 303d4681f0 ANDROID: Send keys to app as they are typed
Fixes issue with bad system keyboard input to in-game fields
2020-10-01 00:06:20 +03:00
antoniou 138295f617 ANDROID: Minor optimization in clause evaluation for bugfix for 2.2.1beta1 2020-09-30 20:56:39 +03:00
antoniou 7e08306c66 ANDROID: Fix bug in 2.2.1 beta ignoring some config locations
This is a bug fix specific for 2.2.1 beta1

If an old config is found in the extra locations, it will be reused and replace the existing config. Also in that case, the extra locations will be scanned for saved games to copy to our default save location.
2020-09-30 20:03:03 +03:00
antoniou 4ea7455e09 ANDROID: Splash screen and additional locations to search for config and saves
The splash screen is an addition that was "forced" by the need to allow for permission granted to access external physical storage
2020-09-29 22:10:56 +03:00
antoniou aa5a490bc7 ANDROID: Reduce Lint warnings 2020-09-28 17:55:04 +03:00
Cameron Cawley 5cb84a437d SDL: Clip the coordinates sent by mouse events 2020-09-27 00:32:01 +01:00
antoniou f6d1ab66b7 ANDROID: Add comments and code to reinforce hiding of system cursor
For the case when an external mouse is connected to the device

The code still only fixes the issue for devices runnng Android 7.0 or newer
2020-09-26 22:03:20 +03:00
Alexander Reim 92e37fd810 WII: File system access performance optimization
Games load up to 30 times faster. For example, the Zork games took up to 10 minutes to start. Now they load in under 20 seconds. Similar improvements can be seen in the massadd feature.
2020-09-26 17:54:50 +02:00
antoniou 8a87db94de KEYMAPPER: remap timeout (ms) can be set from config
Config key is "remap_timeout_delay_ms", min value is 3000
2020-09-26 17:00:57 +03:00
Alexander Reim 34534484b4 WII: Fix warnings 2020-09-24 11:45:40 +02:00
Alexander Reim c4262682dc WII: Fix transparency of RGB cursors 2020-09-24 11:26:21 +02:00
antoniou 75826f80fc ANDROID: Comment out the logfile code
Since currently the logFile stuff are specific to SDL_BACKED
2020-09-24 10:14:02 +03:00
antoniou c45dfd4a2f ANDROID: Migrate old save files
More testing pending
2020-09-24 01:50:45 +03:00
Bastien Bouclet fb39b94384 3DS: Start ScummVM in a separate thread
Allows to have a larger stack than that of the main thread.

Fixes #11717
2020-09-20 16:33:45 +02:00
antoniou 9e35ce0e52 ANDROID: Add internal app path to SearchSet
Also have it with higher priority than the Android's assets structure which is too slow

Fixes a bug whereby a large font.dat file was very slow to be accessed during launch (for the modern themes), due to it being accessed from the Assets rather than the file system
2020-09-18 15:12:16 +03:00
antoniou 34b6a89967 ANDROID: Remove unnecessary check for isFile in a sideUpgrade 2020-09-17 23:56:32 +03:00
antoniou 30b7c882e8 ANDROID: Copy asset files in internal app folder 2020-09-17 23:25:23 +03:00
Hubert Maier 962a9c6f07 AMIGAOS: Indented comments are now supported
Since when i don´t really know, might be for some time. I just tried with the scummvm-tools .mk and they work as intended.
Hope i don´t break anything else
2020-09-17 22:14:20 +02:00
antoniou 6906bba959 ANDROID: Revert chnage for long press AC_BACK handler
Huawei Android 9 seemed to not be working ok (or at all) with the change
2020-09-16 20:34:49 +03:00
antoniou e751b30691 ANDROID: Upgrade to 2.3 version re-using any old configuration file 2020-09-16 15:25:53 +03:00
Bastien Bouclet 0155bb06af KEYMAPPER: Fix comparing mappings for equality
Fixes clearing default action mappings.
2020-09-15 22:42:34 +02:00
Bastien Bouclet a977dfb2d1 KEYMAPPER: Enable the GUI keymaps while the virtual keyboard is visible 2020-09-15 22:42:34 +02:00
Bastien Bouclet 1c5f923083 PSP2: Simplify the filesystem code
The Vita SDK gained support for dirent at the end of 2017. There is no
need to have our own version anymore.

DrivesPOSIXFilesystemFactory allows to specify the contents of the
pseudo-root file system node. There is no need to hardcode them in
posix-fs.cpp anymore.
2020-09-15 07:13:00 +02:00
rsn8887 3a5690ebb4 KEYMAPPER: Fix virtual mouse bound in small rectangle in vkeybd 2020-09-14 20:58:37 -05:00
Cameron Cawley 31be074893 BACKENDS: Add a function to return if the overlay is visible 2020-09-15 00:09:11 +02:00
antoniou 30b8842885 ANDROID: Use custom handler for long key press detection
To avoid possible mem leaks (see "This Handler Class Should Be Static Or Leaks Might Occur” warning

Also a few optimizations based on recommendations from the Android Studio error highlighting/fix suggestions (F2)
2020-09-14 16:16:46 +03:00
antoniou bd95672815 ANDROID: get version info (wip) and use androidx for annotations
Also androidx is replacing the Android Support library so it's best to use this one

According to https://developer.android.com/jetpack/androidx
AndroidX is a major improvement to the original Android Support Library, which is no longer maintained. androidx packages fully replace the Support Library by providing feature parity and new libraries.
AndroidX replaces the original support library APIs with packages in the androidx namespace. Only the package and Maven artifact names changed; class, method, and field names did not change.
2020-09-14 09:32:37 +03:00
Cameron Cawley e918a4b16f OPENPANDORA: Fix copy/paste error 2020-09-13 22:20:31 +01:00
Eugene Sandulenko 6a66bffec8 GCW0: Disable GLK engine 2020-09-13 17:55:15 +02:00
Cameron Cawley c8c120d839 GPH/OPENPANDORA: Minor cleanup 2020-09-13 14:58:45 +01:00
Thierry Crozat 53bb50c906 IOS7: Do not overwrite user saves when saving state 2020-09-13 00:21:36 +01:00
Thierry Crozat c50ffd74c6 IOS7: Properly restore state when the process has been terminated 2020-09-13 00:21:36 +01:00
Thierry Crozat 63627dc26d IOS7: Save state as a background task when entering background
This is better than using an hardcoded delay for two main reasons.
The first one is that the application can terminate as soon as it
has finished saving the state, and the second one is that it will
still work if saving the state takes longer than the delay that
was hardcoded.
2020-09-13 00:21:35 +01:00
Thierry Crozat 28e9910666 IOS7: Implement game state save/restore when switching tasks
This only works if the running engines can save the game at the
time when ScummVM goes to the background.
This should partially fix bug #7871.
2020-09-13 00:21:35 +01:00
Thierry Crozat 7c812a52f1 IOS7: Call pauseEngine() when suspending the application 2020-09-13 00:21:35 +01:00
Thierry Crozat bdbbcd81ae OSX: Fix taskbar update
This was broken sometimes between release 1.8.1 and 1.9.0. I did not
track the change that broke it, but it looks like the code was trying
to get the DockTile object too early causing it to be nil.
2020-09-12 18:01:15 +01:00
Cameron Cawley 02c09a8ed6 WIN32: Replace strToInt with wcstol 2020-09-12 11:59:23 +02:00