Commit graph

21 commits

Author SHA1 Message Date
Le Philousophe
ad5993d24f ANDROID: Let user customize its preferred touch modes
There are 3 settings: in menus, in 2D games, in 3D games
2022-06-17 21:35:34 +02:00
Le Philousophe
1c18c269dc ANDROID: Add GLAD support 2022-01-18 16:49:03 +01:00
Paweł Kołodziejski
27773309b7 BACKENDS: Corrected include paths for Android 2022-01-10 02:23:17 +01:00
Le Philousophe
92dd9c0911 ANDROID: Keep last touch mode when displaying overlay 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
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
Le Philousophe
6aea08860f ANDROID: Chooose the best surface formats offered by the system 2021-12-16 00:09:25 +01:00
Le Philousophe
24565a5bd8 ANDROID: Rework 3D GLES textures
The abstraction added will allow the backend to allow surface
customization
2021-12-16 00:09:25 +01:00
Le Philousophe
35fff1ab79 ANDROID: Add cursor scaling to 3D backend 2021-12-16 00:09:25 +01:00
Le Philousophe
8094b77d21 ANDROID: Simplify 3D backend 2021-12-16 00:09:25 +01:00
Le Philousophe
04e05e7a5f ANDROID: Sync 3D backend HiDPI with 2D one 2021-12-05 16:43:30 +01:00
Le Philousophe
f12409d321 ANDROID: Simplify texture setup in 3D
There is no specific format for the game texture, use 16-bit one
2021-12-05 16:43:30 +01:00
Le Philousophe
05e5e10dec ANDROID: Rework 3D backend to not mangle game GL state
We don't need scissor test in 3D, it was a leftover from 2D.
Don't split code in multiple functions when it's not needed.
2021-12-05 16:43:30 +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
20df3369b4 ANDROID: Rework 3D screen setup
All the setupScreen functions were useless as there is only one place
where it's called.
_opengl was always true.
_game_pbuf was never initialized.
2021-11-29 00:04:45 +01:00
Le Philousophe
faa8986fc8 ANDROID: Display the game below the overlay menu 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
74c12b5e5a ANDROID: Use 5551 format for overlay instead of 4444
This allows for more color (but only 1 bit of alpha)
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