Le Philousophe
d371b50d30
ANDROID: Add setting to to disable screen rotation
2023-07-01 16:26:19 +02:00
Antoniou Athanasios
8ce6a32ac2
ANDROID: Clean up log code and use Backends::Log
2023-03-26 12:05:12 +03:00
Antoniou Athanasios
fb673553ce
ANDROID: Write to a scummvm.log file
2023-03-25 23:23:12 +02:00
Le Philousophe
00e3208dd6
ANDROID: Fix GLES2 functions loading with EGL 1.4
...
With older EGL 1.4, functions from core OpenGL may not be resolved using
eglGetProcAddress. A fallback to dlsym is needed.
We still use eglGetProcAddress only on EGL 1.5+ because it is simpler
and faster.
2023-03-25 13:17:23 +01:00
Le Philousophe
113100ded2
ANDROID: Allow to set same pause status from Java several times
2023-03-18 12:01:05 +01:00
Le Philousophe
8d83dac31e
ANDROID: Simplify Android startup
...
Do not pass arguments to the process but customize the backend instead
2023-03-01 19:00:01 +02:00
Le Philousophe
baf42ae7e6
ANDROID: Add a dialog to revoke SAF authorizations
...
Remove old all-in-one revoke authorizations process
2023-01-20 14:14:03 +01:00
Le Philousophe
a465718c24
ANDROID: Fix comment
...
For coherence sake
2023-01-20 14:14:03 +01:00
Le Philousophe
ca1dbfc9d6
ANDROID: Add SAF support
2023-01-20 14:14:03 +01:00
Le Philousophe
c60ad0a554
ANDROID: Various cleanups in JNI
...
Mostly fixing memory leaks (Java references).
No need to preinit semaphore (sem_init is called).
First initialize methods ID before starting anything.
Aborts if a method is not found.
2023-01-20 14:14:03 +01:00
Le Philousophe
9631567923
ANDROID: Add a method to get running SDK version
...
Co-authored-by: antoniou79 <a.antoniou79@gmail.com>
2023-01-20 14:14:03 +01:00
Le Philousophe
e17b34c9dc
ANDROID: Store JNI environment in a thread local variable
...
This avoids to query JVM every time we need to do a JNI call.
A different environment is attached to each thread, hence the TLS
variable.
2023-01-20 14:14:03 +01: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
6fbd4a3abc
ANDROID3D: Remove deprecated backend
2022-02-05 21:50:00 +01:00
Le Philousophe
92dd9c0911
ANDROID: Keep last touch mode when displaying overlay
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
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Le Philousophe
6aea08860f
ANDROID: Chooose the best surface formats offered by the system
2021-12-16 00:09:25 +01:00
Le Philousophe
e4390abd86
ANDROID: Introduce back the touch controls for 3D
2021-11-29 00:04:45 +01: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
antoniou79
6afae47470
ANDROID: Add support for feature OSystem::kFeatureHiDPI
...
For testing purposes and feedback mostly
Also set the level for debug to 3, to get messages related to native resolution and scaling from the new hidpi gui scale code
2021-04-12 15:05:34 +03:00
antoniou
8863b5d92f
ANDROID: Get current version info from the global gScummVMVersion
...
...instead of the versionName in build.gradle
Also check for "dirty" version name and in that case do not skip re-copying the asset files
2020-11-25 16:41:47 +02:00
Cameron Cawley
01b4432825
BACKENDS: Use Common::U32String for OSystem::setWindowCaption
2020-11-22 17:20:19 +00:00
Vladimir Serbinenko
68a9136e4d
COMMON: Rewrite Encoder and drop dependency on iconv ( #2586 )
...
Different platforms have different levels of support of encodings and
often have slight variations. We already have tables for most encoding
with only CJK missing. Full transcoding inclusion allows us to get reliable
encoding results independently of platform. The biggest con is the need for
external tables encoding.dat.
It removes a duplicate table for korean in graphics/korfont.cpp
2020-11-15 16:20:35 +01:00
Eugene Sandulenko
5936026209
ALL: Clarify POTFILES, remove redundant common/translations.h includes
2020-11-10 03:03:49 +01:00
Vladimir Serbinenko
e07fc52767
ANDROID: Merge few files between android and android3d ( #2595 )
...
While unfortunately it doesn't help with existing differences it help
to prevent their increase
2020-11-03 14:50:54 +01:00
antoniou
8fe6aae59e
ANDROID: Use SAF for folder and file creation when normal way fails
...
Should affect only external "secondary" storage (eg. physical SD card)
2020-11-01 19:38:07 +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
Cameron Cawley
c502fd2162
BACKENDS: Remove unused functions
2020-08-31 21:37:41 +01:00
aryanrawlani28
29b6274e67
BACKENDS: CLIPBOARD: Improve usage for SDL & Android.
...
- Fix possible issue for setting text inside clipboard for SDL.
- Always return a decoded string when from UTF-8 in Android when fetch clipboard.
2020-08-30 14:43:41 +02:00
aryanrawlani28
1950e38154
ANDROID: Support OSD Messages for U32.
2020-08-30 14:43:41 +02:00
aryanrawlani28
a9c5e930f0
ANDROID: Make clipboards work with U32Strings.
2020-08-30 14:43:41 +02:00
Cameron Cawley
b41c5f1952
ANDROID: Implement OSystem::convertEncoding()
2020-07-18 15:14:01 +03:00
Cameron Cawley
0efce44e81
ANDROID: Clean up the text conversion code
2020-07-18 15:14:01 +03:00
Eugene Sandulenko
2f9c28a699
ANDROID: Another blind attempt to fix compilation. Sigh
2020-05-11 10:11:08 +02:00
Eugene Sandulenko
a211e9db2b
ANDROID: Instantiate static class variable
2020-05-11 10:06:58 +02:00
Eugene Sandulenko
b11a2aea65
ANDROID: Fix reference
2020-05-11 08:28:28 +02:00
Eugene Sandulenko
fc54286705
ANDROID: Fix compilation
2020-05-11 07:41:21 +02:00
Henrik "Henke37" Andersson
ecd23a7e20
Android: Use PauseToken
2020-05-11 01:35:03 +02:00
Thanasis Antoniou
3e9504856f
ANDROID: Override UTF-8 compliant definition of vsn_printf
...
This sets Android as a non-standard port in configure in order to override the definition for vsn_printf
The vsn_printf implementation is taken from https://github.com/weiss/c99-snprintf
2019-11-12 20:01:43 +02:00