Commit Graph
4283 Commits
Author SHA1 Message Date
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
Christian Kündig 8f0174689b EMSCRIPTEN: Merging parts of scummvm/scummvm#3686 for fullscreen support, disabling exit buttons (openURL has been fixed in libsdl-org/SDL@15ebad6e7d and is not needed anymore) 2022-06-12 14:34:13 +02:00
Lothar Serra Mari a07be8c665 RELEASE: This is 2.7.0git 2022-06-05 20:43:05 +02:00
Thierry Crozat f95bf24fd1 MACOSX: Fix issue with restoring maximized window
The SdlWindow::createOrUpdateWindow makes sure the created window
is not bigger than the desktop. When not in fullscreen, the window
borders are also considered, but on macOS a maximimized window is
borderless, so this resulted in maximized window being restored
smaller than they should have (and no longer maximized).
2022-06-05 17:56:30 +01:00
Thierry Crozat bde10f0dda BASE: Store screenshotpath command line in Session domain
The SDL backend was getting that path at the start and storing
it in a class member so that it would persist for the session.
But now that we have a kSessionDomain in ConfMan, it is cleaner
to use that (and this will also work for non-SDL backends).
2022-06-05 15:39:36 +01:00
Cameron Cawley 21ba2cffbb DS: Avoid disabling the virtual keyboard if it hasn't been enabled 2022-05-30 22:04:21 +01:00
Cameron Cawley dd0304fb22 DS: Improve error reporting 2022-05-30 13:51:40 +01:00
Eugene Sandulenko 5e05f93f36 ALL: Remove Symbian port 2022-05-28 12:32:29 +02:00
Donovan Watteau 630207d38b PS3: Properly init the fullscreen and aspect_ratio config keys
As done in the PSP2, Android and Switch ports.

Fix inconsistent reported state for the Aspect Ratio setting on PS3
(similar to Trac#11743 for Android).
2022-05-24 23:38:04 +03:00
Donovan Watteau a933a0d261 MACOSX: Switch getResourceAppBundlePathMacOSX() to Objective-C
As suggested by criezy, we don't need to use the C-bridge from Core
Foundation now that the wrapper has been moved to an Objective-C file.
2022-05-22 23:42:45 +01:00
Donovan Watteau 4672ba71dd PLUGINS: Let macOS use its resource bundle as a valid plugin directory 2022-05-22 23:42:45 +01:00
Donovan Watteau 5118c60874 MACOSX: Pull a getResourceAppBundlePathMacOSX() wrapper from addSysArchivesToSearchSet() 2022-05-22 23:42:45 +01:00
Hubert Maier b8e0236f95 AMIGAOS: Remove old installs before installing release builds 2022-05-21 22:13:14 +03:00
Donovan Watteau 5b1ec56f96 JANITORIAL: Fix some lost or outdated URLs in comments 2022-05-19 07:57:31 +03:00
Hubert Maier 953cf2c44c MORPHOS: Fix c&p error 2022-05-17 18:39:07 +02:00
Carlo Bramini b195cbbcd0 WIN32: Migrate from ShellExecute to ShellExecuteEx Function
That function allows more readable code, without needing to test if the
returned value is greater than 32.

Supported platforms are:
    Windows 95: Supported.
    Windows 98: Supported.
    Windows NT: Required Windows NT 4.0 or later.
    Windows 2000 and newer: Supported.
    Windows CE: Requires Windows CE 1.0 or later.

This fix comes from my port of SCUMMVM for Windows CE/Embedded/Mobile since
this family of OSs support ShellExecuteEx(), but not ShellExecute().
2022-05-14 10:05:50 +02:00
Francisco Javier Trujillo Mata df48fa7861 PSP: Remove legacy Makefile 2022-05-02 17:11:10 -05:00
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