7981 Commits

Author SHA1 Message Date
Matthieu Milan
90d9540ad8
SWITCH: Add support for 3d games (#2558)
SWITCH: Add support for 3d games
2020-10-26 21:01:12 +01:00
antoniou
64eb1c0afe ANDROID: A tentative handling of handling joystick control
Basically as a virtual mouse
2020-10-25 02:30:32 +03:00
antoniou
cff369a14b ANDROID: Handle repeating keys for virtual keyboard 2020-10-24 16:04:11 +03:00
Eugene Sandulenko
2134a2dc72 BACKENDS: DIALOGS: Properly store last path in Gtk file browser 2020-10-23 00:32:21 +02:00
Cameron Cawley
7da4faf5a5 SDL: Fix the mouse being grabbed when returning from full screen 2020-10-22 17:03:53 +02:00
Matthew Duggan
e1bff1cbb3 ANDROID: Avoid crash if version no is not int
This can happen during development - shouldn't happen for any official release,
but even if it does let's just assume versions are different and default to
upgrading the config.
2020-10-20 20:41:38 +09:00
Laurent Merckx
237211a7fe GUI: Fix display of virtual keyboard for OpenGL/OpenGLES 2020-10-19 16:40:36 +02:00
Alexander Reim
901032db9f WII: Update linkscript and fix for linker false error message 2020-10-19 11:21:22 +02:00
Thierry Crozat
79b4e0ae21 MACOSX: Fix memory leak in dock tile plugin 2020-10-19 01:14:21 +01:00
antoniou
79acea3a18 ANDROID: use gradle's auto-align and set debuggable to false for release build
There were issues with manually aligning apks possibly due to upgrading gradle

The manual zipalign even though running with no fail message, would NOT align the apk properly anymore.
Command to manual verify alignment of an apk is:
Android/Sdk/tools/bin/zipalign -c -v 4 release/ScummVM-release-unsigned.apk
2020-10-18 13:42:44 +03:00
antoniou
80e32dbbc8 ANDROID: Do not use or show virtual keyboard when physical is connected
The toggle button will still be shown, but it won't show the in-app keyboard when pressed, unless the physical keyboard is disconnected
2020-10-17 22:00:41 +03:00
antoniou
7551d119e2 ANDROID: Fix crash when connecting or disconnecting physical keyboard
And also add some code to load and use the keyCharacterMap of the source device for the event

It is unclear if getUnicodeChar() already does this (loads the keyCharacterMap of the source device.
If it does, then the extra code is redundant.
2020-10-17 21:40:08 +03:00
antoniou
87a76f4a56 ANDROID: Fix shifted keys and key combos 2020-10-17 19:20:58 +03:00
LMerckx
9a35674cfc
Merge pull request #2536 from lmerckx/virt-mous-pos
GRAPHICS: Problem with virtual mouse position in an overlay when full…
2020-10-17 18:11:13 +02:00
BeWorld
cdc0ad802d
MORPHOS : Fixes clashing D in ptr.h with system defines and casting glGetString (#2531)
MORPHOS : Fixes clashing D in ptr.h with system defines and casting glGetString
2020-10-16 21:26:42 +02:00
antoniou
3f3ad0b2ca ANDROID: Remove keyUp and keyDown overrides from EditSurfaceView
They were causing some nasty loops with certain keys and are largely redundant since we already had a events manager for keys
2020-10-16 21:39:54 +03:00
Paweł Kołodziejski
bb388295a4 BACKENDS: drop setDefaultFeatureState() usage, it's not needed 2020-10-16 20:17:29 +02:00
Cameron Cawley
5c255b3aa9 WIN32: Add override and final keywords 2020-10-16 18:32:08 +01:00
antoniou
48d6ff8d6b ANDROID: Set flag to leep screen on 2020-10-16 20:29:18 +03:00
antoniou
940b87000d ANDROID: Merge ontouch from EditSurfaceView into ScummVMEventsBase
Also fix a bug with back button not removing the keyboard if it is shown without clicking on a text input field
2020-10-16 20:08:52 +03:00
Cameron Cawley
70aebaca5b WII: Add override and final keywords 2020-10-16 17:46:43 +01:00
Fiodar Stryzhniou
6a7340f744 SYMBIAN: sync with 2.2.0 release.
Added new project files, build fixes.
2020-10-16 17:06:05 +02:00
antoniou
4a9b6d12ac ANDROID: Use gradle 6.7 and plugin 4.1.0
Also remove ndk.dir from local.properties since it is getting deprecated

Gradle will only use the info (ndkVersion) in gradle.build. Possibly ndkPath too, but we probably don't need that, since ndk is within the sdk folder (default location)
2020-10-15 19:06:33 +03:00
antoniou
4d9ed8351b ANDROID: Use a in-app keyboard instead of system
Keyboard was ported over from our SDL port which used https://github.com/pelya/commandergenius/tree/sdl_android/project

Pending optimizations, floatable/draggable implementation and a few bug fixes
We are using a local copy and slightly modified version of KeyboardView and Keyboard (and related resources).
since the android KeyboardView widget will be deprecated in API 29.
The copies are taken from the AOSP, as per the recommendation from Android Developers.
2020-10-15 18:21:52 +03:00
Cameron Cawley
a24194b4c9 BACKENDS: Add missing function to ModularGraphicsBackend
Fixes Trac #11778
2020-10-15 12:56:45 +01:00
Cameron Cawley
a42188fddd SDL: Remove unused variable 2020-10-15 12:54:41 +01:00
Cameron Cawley
3e7948cf6a
ANDROID3D: Get it working again (#2529) 2020-10-15 09:59:11 +02:00
Cameron Cawley
8c90d4e498 ANDROID: Add override keywords 2020-10-14 17:48:29 +01:00
Cameron Cawley
b6a8fc5dd2 ANDROID: Minor cleanup 2020-10-14 17:47:22 +01:00
Paweł Kołodziejski
a37173807f CONFIGURE: More work on opengl flags 2020-10-14 18:37:17 +02:00
Cameron Cawley
d968d22eb1
SDL: Refactor grabbing and locking the mouse (#2522) 2020-10-14 08:03:31 +02:00
Paweł Kołodziejski
9abb3f5111 BACKENDS: Another attempt to fix opengl flags 2020-10-14 07:45:56 +02:00
Paweł Kołodziejski
e3cd0da0df BACKENDS: Attempt to fix buildbot targets 2020-10-14 07:06:18 +02:00
Paweł Kołodziejski
12806cfdd5 BACKENDS: Remove 3d SDL surface gfx manager. 2020-10-13 23:06:37 +02:00
Paweł Kołodziejski
723ffa111b BACKENDS: Remove accel3d flag completely. 2020-10-13 23:00:19 +02:00
Paweł Kołodziejski
070d274bf7
BACKENDS: Drop getScreenPixelBuffer() as no longer needed. (#2521) 2020-10-13 22:30:39 +02:00
Cameron Cawley
4284d9754f
OPENGL: Remove SDL specific code from OpenGLGraphicsManager
The "OSystem::kFeatureFullscreenToggleKeepsContext" feature is already handled in the OpenGLSdlGraphicsManager subclass.
2020-10-13 20:45:32 +01:00
Cameron Cawley
26cd7d44e2
SDL: Implement lockMouse() in the 2D graphics managers (#2517) 2020-10-13 21:31:10 +02:00
Paweł Kołodziejski
59ba9cb715
SDL: Do not allow toggle fullscreen for backends which can lose opengl context used for 3d games. (#2514) 2020-10-13 20:27:58 +02:00
Paweł Kołodziejski
85b0baa199
SDL: Sync portion code for 2D->3D gfx manager (#2515) 2020-10-13 17:31:47 +02:00
antoniou
7bd9b1ac3d ANDROID: Reduce lint warnings and offer more drawable sizes
Also slightly tweak position and size of keyboard icon
2020-10-13 14:06:07 +03:00
Cameron Cawley
0b7085fbea SDL: Ensure that SDL is initialized before creating the window object 2020-10-11 22:45:38 +01:00
BeWorld
cab7cd49c4
MORPHOS : Fixed for int vs int32 types for AmigaOS/MorphOS (#2510)
MORPHOS : Fixed int to int32 and some functions not available on AmigaOS/MorphOS
2020-10-11 18:24:36 +02:00
Alexander Reim
d40d84e80a WII: Return to the system menu instead of a black screen on exit 2020-10-11 11:51:02 +02:00
Thierry Crozat
7cf5cefb06 IOS7: Fix transparency with RGB cursors using a key color 2020-10-11 03:56:11 +01:00
Thierry Crozat
d43d86f3c0 IPHONE: Fix transparency with RGB cursors using a key color 2020-10-11 03:55:32 +01:00
Thierry Crozat
3fc7fc285e IOS7: Add override keyword for OSystem_iOS7 functions 2020-10-11 02:24:31 +01:00
Thierry Crozat
271713cf69 IOS7: Fix reimplementation of OSystem::setGraphicsMode
The signature of the function changed during the ResidualVM merge,
but the iOS7 backend was not updated and still used the old signature.
2020-10-11 02:18:05 +01:00
Thierry Crozat
e83586006a IOS7: Remove include that is no longer needed
This fixes the compilation because of common/types.h that defines
YES and NO which are already defined in Objective-C.
2020-10-11 01:44:39 +01:00
Cameron Cawley
8594f25b26 BACKENDS: Add comment to describe the purpose of BaseBackend 2020-10-10 18:00:17 +02:00