Le Philousophe
4ab044a254
OPENGL: Merge both OpenGL contexts
2022-06-26 18:32:10 +02:00
Le Philousophe
bbcdda6c7f
ANDROID: Merge touch mode and toggle keyboard buttons
...
A long press on the button shows the keyboard
2022-06-14 00:08:04 +03:00
Le Philousophe
57e27dcf12
ANDROID: Let user customize its preferred touch modes
...
There are 3 settings: in menus, in 2D games, in 3D games
2022-06-14 00:08:04 +03:00
Le Philousophe
b978cd1caa
OPENGL: Allow engines to detect OpenGL info without switching
...
For now only OpenGL type and shaders support are available
2022-04-03 22:17:19 +02:00
Le Philousophe
06bc7a25fa
OPENGL: Indicate support of OpenGL even in 2D mode
...
This allows to check for OpenGL support in backend without having to
call initGraphics3d
2022-04-03 22:17:19 +02:00
antoniou79
5795fb6aea
ANDROID: Remove extra parenthesis from virtual shortcut name
...
"ScummVM data (Ext))" is now corrected to "ScummVM data (Ext)"
2022-03-06 20:05:10 +02:00
Le Philousophe
6fbd4a3abc
ANDROID3D: Remove deprecated backend
2022-02-05 21:50:00 +01:00
Le Philousophe
1c18c269dc
ANDROID: Add GLAD support
2022-01-18 16:49:03 +01:00
Le Philousophe
e59400315d
ANDROID: Improve chooseEglConfig to make it select ES2 config first
2022-01-06 23:11:33 +01:00
Le Philousophe
92dd9c0911
ANDROID: Keep last touch mode when displaying overlay
2022-01-02 17:45:32 +01:00
Le Philousophe
523b226243
ANDROID: Allow user to enable touch controls
2022-01-02 17:45:32 +01:00
Le Philousophe
b6c0a1c6c8
ANDROID: Refactor touch controls to be graphics backend agnostic
2022-01-02 17:45:32 +01:00
Le Philousophe
325c47f954
ANDROID: Use Android runtime to open touch controls image
...
This allows to use PNG file for sure and don't make us use TGA decoder
2022-01-02 17:45:32 +01:00
antoniou79
62c2e13650
ANDROID: Set relMouse for touch scroll events
...
Needed for Myst 3 mouse look, probably other games too
This should be followed up by similar update of relMouse for the cases of mouse look using a hardware mouse, a joystick, trackball, pen etc. We should also check if we need to do this for the cases of moving the mouse while holding down a button and for multitouch events that emulate that (eg. hold two fingers down and move).
2021-12-26 22:22:15 +02:00
Paweł Kołodziejski
20cb0ae228
ALL: Cleanup ResidualVM -> ScummVM
2021-12-26 21:19:38 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Andrea Boscarino
2c84382525
ANDROID/AUDIO: Convert the output buffer size value given to the Mixer from bytes to frame size
2021-12-19 12:53:27 +01:00
Matthew Duggan
466c8b8c76
ANDROID: Fix audio buffer size calculation from true buffer frames
2021-12-19 17:50:25 +09:00
Matthew Duggan
53c22e4f9a
ANDROID: Fix softkeyboard button for Chromebooks
...
On a Chromebook, the keyboard may be present but hidden (not available for
use) because the device is flipped around in Tablet mode. In this case we want
the soft keyboard to be available. This change also hides the soft keyboard
button if the hardware keyboard is available, since it doesn't do anything.
Fixes #13138 .
2021-12-18 16:32:43 +01:00
Le Philousophe
6aea08860f
ANDROID: Chooose the best surface formats offered by the system
2021-12-16 00:09:25 +01:00
Andrea Boscarino
5d04286237
ANDROID: Keep track of actual AudioTrack buffer size
2021-12-09 22:04:28 +01:00
Andrea Boscarino
f37489dd80
AUDIO/BACKENDS: Store output audio buffer size in Mixer
2021-12-09 22:03:40 +01:00
Le Philousophe
e7b6cff4dd
ANDROID: The virtual controls now generate fake joystick events
...
This allows to use the keymapper and not have hardcoded keyboard events
2021-11-29 00:04:45 +01:00
Le Philousophe
d6f37a161b
ANDROID: Remove again updateEventScale
...
It was removed in android in #1695 but not in android3d in ResidualVM.
2021-11-29 00:04:45 +01:00
Le Philousophe
5b62141b8f
ANDROID: Fix code style
2021-11-29 00:04:45 +01:00
Le Philousophe
3cb81ff31c
ANDROID: Don't use unsigned int
2021-11-29 00:04:45 +01:00
Le Philousophe
40a036ac0b
ANDROID: Use nullptr where appropriate
2021-11-29 00:04:45 +01:00
Le Philousophe
2792b474e1
ANDROID: Remove superfluous ifdefs
2021-11-29 00:04:45 +01:00
Le Philousophe
e4390abd86
ANDROID: Introduce back the touch controls for 3D
2021-11-29 00:04:45 +01:00
Le Philousophe
0988f3d6d8
ANDROID: Fix OpenGL debug in 3D backend
2021-11-29 00:04:45 +01:00
Le Philousophe
bb2871cd63
ANDROID: Implement modes completely to allow switching between 3D and 2D
2021-11-29 00:04:45 +01:00
Le Philousophe
5248999c95
ANDROID: Better debug of which graphic backend is used
2021-11-29 00:04:45 +01:00
Le Philousophe
5d56c1cdf0
ANDROID: Merge 3D graphics backend
...
Move each graphic part in backends/graphics and backends/graphics3d
2021-11-29 00:04:45 +01:00
Le Philousophe
706de81bb0
ANDROID: Switch to GLES2
2021-11-29 00:04:45 +01:00
Orgad Shaneh
b11c5ace90
BACKENDS: JANITORIAL: Remove 'virtual' when override is specified
2021-11-14 14:31:41 +02:00
Cameron Cawley
5022489277
BACKENDS: Refactor the API for creating Mutexes
2021-11-12 20:19:45 +01:00
antoniou79
4c163d99ad
ANDROID: Set gui-scale to Large by default
2021-08-14 19:18:54 +03:00
antoniou
2782b1265d
ANDROID: Remove set default gui_scale code
...
This causes a crash, so it needs another approach
2021-08-14 11:22:08 +03:00
antoniou
6ab16e6ea9
ANDROID: Fix build after PR #3264
...
And set default scale to 0 (very large) for now
2021-08-14 10:39:04 +03:00
Thierry Crozat
abf782c670
COMMON: Remove kFeatureHiDPI from OSystem and use getHiDPIScreenFactor instead
2021-08-13 21:41:33 +01:00
Thierry Crozat
fe377775d6
ANDROID: Implement getHiDPIScreenFactor
...
This is a placeholder implementation that preserves the current
behaviour (asusmes a scaling of 2). But since the Android API
provides a way to get an accurare device-dependent scaling, this
should probably be used.
2021-08-13 21:41:33 +01:00
antoniou
f900cbecdd
ANDROID: Fix reset browser_lastpath via button
...
Also replace literal "scummvm" with Common::ConfigManager::kApplicationDomain in android options
2021-08-12 15:17:32 +03:00
djsrv
ed41e12fd2
ANDROID: Pass Path to hasFile instead of String
...
hasFile was changed to take a Path, so converting it to a String and
converting it back didn't make much sense.
2021-08-07 10:44:37 +02:00
djsrv
7eb4841065
ALL: Use Path type in Archive functions
2021-08-07 10:44:37 +02:00
antoniou
dad5179e9d
ANDROID: Fix warning unchecked conversion
...
In CustomKeyboardView for mKeysDownCodesSet ArraySet
Also enable the option -Xlint:unchecked (within build.gradle) to show the unchecked conversion warnings on compile
2021-08-05 13:26:31 +03:00
antoniou
bdb1cc2012
ANDROID: Only show SAF revokation in Options from launcher
...
But not in per Game domain settings (via Edit Game...)
2021-08-02 23:43:44 +03:00
antoniou
84323fc78e
ANDROID: Remove checkbox for Android SAF from global options
...
Themes rebuilt, and version bumped to SCUMMVM_STX0.8.50
2021-08-02 22:57:37 +03:00
Cameron Cawley
5ecae89722
ANDROID3D: Fix JNI code
2021-08-02 17:28:35 +01:00
antoniou
250206bd00
ANDROID: Add a checkbox for a revoke SAF permissions button
...
Themes were updated to version SCUMMVM_THEME_VERSION_STR "SCUMMVM_STX0.8.48"
2021-08-01 16:10:54 +03:00
antoniou
4ac31d5481
ANDROID: Use SAF if a directory is not writeable
2021-08-01 16:10:54 +03:00