Eugene Sandulenko
823bc16312
ALL: Update copyright year
2022-01-01 00:00:45 +01:00
Le Philousophe
675695c708
PSP: Fix build failures with latest PSP toolchain
...
The new PSP toolchain automatically links system libraries which wasn't
the case before. The ordering of libraries builtin in GCC and our spec
file collided. This fixes the order.
PSP SDK includes time.h so it needs an exemption.
A warning was emitted about a if without curly braces which are needed.
2021-12-31 09:50:53 +01:00
Cameron Cawley
21b0d6ded1
BACKENDS: Replace GLEW with GLAD, part of PR #3463
2021-12-30 14:53:48 +01:00
Cameron Cawley
43d87cb029
BACKENDS: Support detecting OpenGL ES 2 at runtime for 3D games
2021-12-30 13:57:50 +01:00
rsn8887
142f1d0c81
BUILD: Use ScummVM Team as author name on Switch platform
...
This change was discussed with and agreed to by Cpasjuste on
Discord
2021-12-28 19:25:07 -06:00
Eugene Sandulenko
d79b75dce5
DOCS: Moved all non-main licenses to LICENSES/ directory. Synced all lists
...
I could potentially break some port packaging as my changes were not tested
2021-12-27 14:58:23 +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
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
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
Cameron Cawley
424d76f0e7
OPENGL: Log more information about the GL context
2021-12-05 21:53:07 +01:00
Cameron Cawley
35e12e2491
OPENGL: Lower the minimum GLSL version to 1.10
2021-12-05 21:53:07 +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
30baf0e599
ANDROID: Unbind everything to ensure engine don't use our stuff
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
91cf76aa64
ANDROID: Reset the framebuffer when initializing back the surfaces
...
It's needed when application is paused and resumed
2021-12-05 16:43:30 +01:00
Paweł Kołodziejski
948923c62c
GRAPHICS3D: Move viewport change to save/restore surface, framebuffer
2021-12-05 10:36:10 +01:00
Eugene Sandulenko
fa685f83ac
CLOUD: Fix overridden methods
2021-12-01 00:30:47 +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
2bb9d5f3df
ANDROID: Remove outdated piece of code
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
afcb0c54e7
ANDROID: Use real size instead of magical constant
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
8321056107
ANDROID: Remove superfluous asserts
...
new never returns nullptr, it throws exception or aborts
2021-11-29 00:04:45 +01:00
Le Philousophe
8a6f74b5a1
ANDROID: Remove global variables
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
7145b3c2f2
ANDROID: Add support for kSupportsArbitraryResolutions in 3D
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
d4e9c0eca4
ANDROID: Always enable blending when drawing all the layers
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
ebeb731ad7
ANDROID: Disable depth test as we don't use it in final rendering
2021-11-29 00:04:45 +01:00
Le Philousophe
f0aef09021
ANDROID: Make sure glDrawArrays succeeds
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
9ce3b692c6
ANDROID: Reinitialize some state before stopping 3D manager
...
This avoids breaking the 2D graphics manager
2021-11-29 00:04:45 +01:00
Le Philousophe
881f48b24d
ANDROID: Set up scissor box when resizing
...
We enable the scissor test when the overlay is hidden so the box must be
correctly defined
2021-11-29 00:04:45 +01:00
Le Philousophe
2a444f981e
ANDROID: Fix indentation
2021-11-29 00:04:45 +01:00
Le Philousophe
7352207555
ANDROID: Free frame buffer when it's unused
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