Commit Graph
4365 Commits
Author SHA1 Message Date
Francisco Javier Trujillo Mata 1202099d61 PSP: Remove legacy PSP_HEAP_SIZE_KB macro 2022-05-02 17:11:10 -05:00
Francisco Javier Trujillo Mata 652846cac0 PSP: Remove standard libraries 2022-05-02 17:11:10 -05:00
Le Philousophe cb8427dae4 AMIGAOS: Fix shaders install path 2022-04-23 15:29:06 +02:00
D G Turner 8c4eddc506 OPENPANDORA: Don't Disable Cursor at SDL Init for Open Pandora Builds
This breaks the hack for SDL problems with touchscreen events at the
screen edges on this platform.
2022-04-21 19:39:05 +01:00
Le Philousophe 9368fd133f PSP: Fix link specification for newer PSP toolchains
They added threads support and they need to be linked too if they exist
2022-04-19 19:45:44 +02:00
Le Philousophe 76eda43fb5 AMIGAOS: Install shaders files as well
We make use of them when runiing in GLES2
2022-04-17 12:34:38 +02:00
Le Philousophe 7061b4109e AMIGAOS: Remove outdated ifdefs
We now link with OpenGL dynamically so symbols are provided by GLAD.
If it's not supported pointer will be null.
OGLES2 should support these functions so they must be removed
2022-04-17 12:34:38 +02:00
Le Philousophe 41638a09d1 AMIGAOS: Let user select the OpenGL implementation 2022-04-17 12:34:38 +02:00
Thierry Crozat 04b76bfbc4 SDL: Fix compilation when USE_FORCED_GLES2 is defined 2022-04-04 01:52:20 +01: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
Le Philousophe bc4e7662cc SDL: Initialize OpenGLContext with the proper version 2022-04-03 09:40:51 +02:00
Cameron Cawley 23558a4ff6 SDL: Fix compilation for Alpine Linux 2022-03-26 19:59:26 +00:00
BeWorld 0066eb84ee MorphOS: delete system OpenURL
delete system OpenURL and use SDL_OpenURL
2022-03-26 09:15:25 +02:00
Paweł Kołodziejski ee11c85f85 IOS: Added support for GLAD 2022-03-06 21:44:19 +01: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
Paweł Kołodziejski 016152971a IOS: Fixed compiler warnings 2022-03-06 09:19:54 +01:00
C.W. Betts b9d234e986 MACOSX: Improve conversion of path from NSString to C string
Use `-[NSString fileSystemRepresentation]` if you are going to pass
a path to a lower-level function, like `fopen()`.
2022-03-05 19:28:10 +00:00
Thierry Crozat f3dc1df7d8 SDL: Get a user-specified screenshotpath from ConfMan at the start
There are two ways the user can specify a screenshot path: by
editing the config file manually, or by passing it on the command
line. In the later case it is added to the transient domain that
is cleared when opening the launcher, so it only worked when also
specifying a game to start on the command line. With this change
a screenshot path specified on the command line will be used until
quitting ScummVM.

This could be confusing if the user had the ability to specify the
path in the ScummVM Options, as then we would probably want to use
the new specified path immediately. But since the path does not
appear in the options, this change should work fine.
2022-02-16 22:24:07 +00:00
Thierry Crozat 533693437d SDL: Do not query directly ConfMan for the screenshotpath in Windows and macOS backends
Instead we call the OSystem_SDL implementation of getScreenshotsPath(),
as done in the POSIX backend. This change means that if we change how
we handle a user-specified screenshot path in the SDL backend, the
Windows and macOS backends will still get the correct path.
2022-02-16 22:24:07 +00:00
Kalle Kietavainen 31cfac5d6f SDL: Fix SDL_SetWindowMouseRect in HiDPI mode
In HiDPI mode, the window coordinates and the drawable area coordinates
might be on a different scale. The allowed mouse area needs to be scaled
accordingly before passing it to SDL_SetWindowMouseRect().

This fixes bug #13152.
2022-02-16 22:15:43 +00:00
Paweł Kołodziejski d091e9e69c PS3: Enable networking also if only SDL_NET is enabled 2022-02-12 14:55:56 +01:00
Paweł Kołodziejski d0c1da03c8 PS3: Lower down stack size to 256KB 2022-02-09 22:08:04 +01:00
Le Philousophe 9f84198643 ANDROIDSDL: Remove deprecated port 2022-02-06 21:34:08 +01:00
Le Philousophe 6fbd4a3abc ANDROID3D: Remove deprecated backend 2022-02-05 21:50:00 +01:00
Paweł Kołodziejski 9b6bb77f80 PS3: Set program stack size from default 64KB to 1MB 2022-02-03 00:56:33 +01:00
Cameron Cawley cdcdb26ac8 WIN32: Fix bug in SHGetFolderPathFunc fallback code 2022-01-31 08:32:05 +02:00
Cameron Cawley ff5700cd44 WIN32: Detect SHGetSpecialFolderPath at runtime 2022-01-31 08:32:05 +02:00
Thunderforge fd129ebc0c JANITORIAL: "Mac OS X" and "OS X" to "macOS" in comments
Apple's desktop operating system was formerly called "Mac OS X" and "OS X", but since 2016 it has been called "macOS" (starting with version 10.12).

Changing across all comments and documentation to use this current terminology, except in cases where the historical versions are explicitly referenced. No code changes are made; we should consider changing those in future PRs.
2022-01-29 14:15:05 +01:00
Le Philousophe 1c18c269dc ANDROID: Add GLAD support 2022-01-18 16:49:03 +01:00
Le Philousophe d9b4e457e8 ALL: Remove USE_GLES2 define
Replace it with USE_FORCED_GLES2
2022-01-18 16:49:03 +01:00
Paweł Kołodziejski 4f0e5ed3c0 GRAPHICS: Moved shader code where it's actually used 2022-01-10 03:34:48 +01:00
Paweł Kołodziejski 27773309b7 BACKENDS: Corrected include paths for Android 2022-01-10 02:23:17 +01:00
Le Philousophe 6bad1ba0ff SDL: SDL_SetWindowMouseRect is in 2.0.18 according to the documentation
2.0.17 is a development version while 2.0.18 is the first release
containing this function.
2022-01-08 11:13:15 +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
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
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