Commit graph

1135 commits

Author SHA1 Message Date
Hubert Maier
c8f89326a8 AMIGAOS: Add first time user defaults 2022-11-15 08:36:33 +00:00
Gleb Mazovetskiy
d516833aef
OPENDINGUX: Reduce default cursor speed (#4422)
The default cursor speed is too fast to navigate the menus and
pixel-hunt. Reduces the default speed to 2 ("8") to make it manageable.

Also makes the cursor speed configurable from the UI.
2022-11-13 13:28:16 +01:00
Gleb Mazovetskiy
8801b4eed2
OPENDINGUX: Update build instructions (#4421)
1. Point to the new releases page.
2. Explain how to install the toolchain.
2022-11-13 08:35:01 +01:00
Donovan Watteau
5db6e27eca MACOSX: Fix NSUInteger definition on macOS 10.4
NSUInteger should be an `unsigned int` on 32-bit Tiger, and an
`unsigned long` on 64-bit Tiger. In practice, this wasn't really a
problem since we were always using `unsigned long` which has the same
width on 32-bit Tiger, but still it's more correct to do what the
official 10.5 SDK does.

The preprocessor defines come from Apple's documentation and from
their SDK. We can use it as-is, since we're in the backend code, and
already in an ifdef only targeting Tiger (where I've tested this
change).

Also fix a small GCC warning while there.
2022-11-09 12:27:51 +01:00
Donovan Watteau
4f5ccdbe75 MACOSX: Update some comments about macOS 10.4/10.5 behavior
Found while doing a review of our existing workarounds for those
versions, and the system features which can be used there.

Also fix indentation and some typos while there.
2022-11-05 10:09:58 +01:00
Le Philousophe
6524f7beb5 COMMON: Forbid use of unsafe sprintf and vsprintf 2022-10-23 22:46:19 +02:00
Le Philousophe
9c04d72471 COMMON: Forbid use of unsafe strcat and strcpy 2022-10-23 22:46:19 +02:00
Le Philousophe
6293c2b3c2 WIN32: Don't use unsafe strcat and strcpy 2022-10-23 22:46:19 +02:00
Le Philousophe
42ff7120dc SDL: Fix missing replacement for enginesShadersSupported 2022-10-06 19:53:52 +02:00
Donovan Watteau
bf5e489567 JANITORIAL: Fix "to to" and "if if" typos in some comments 2022-09-11 17:45:25 +02:00
Le Philousophe
111d259015 ALL: Add limits.h for all codebase 2022-08-22 15:38:10 +02:00
Le Philousophe
8829a9b4c0 VITA: Remove the now useless alternative targets 2022-08-07 18:15:09 +02:00
Le Philousophe
2a84d3e988 VITA: Add plugins support 2022-08-07 18:15:09 +02:00
Hubert Maier
01cb613cee AMIGAOS: Fix target installation 2022-08-05 14:12:04 +02:00
Lothar Serra Mari
795a92f819 WIN32: Add missing / to icons path 2022-08-01 23:12:05 +02:00
Lothar Serra Mari
3d5a93ce42 WIN32: Fix auto-detection of Icons path for grid view 2022-08-01 23:07:35 +02:00
Le Philousophe
dba8aa642d RISCOS: Add more space to Wimp slot when not using makerun
We do the same as makerun: size of ELF + 32K
2022-07-31 21:58:49 +01:00
Cameron Cawley
5f7ae9a356 RISCOS: Report errors and backtrace on SIGSEGV 2022-07-09 15:55:36 +01:00
Cameron Cawley
80f90a15a5 RISCOS: Use makerun to calculate the wimpslot 2022-07-08 22:07:32 +01:00
Thunderforge
3ffbb3b030 COMMON: Adding endline to macosx_wrapper.mm 2022-07-02 22:34:36 +02:00
Thunderforge
3e1d4ae9ce COMMON: Restructuring how ApplicationSupport path is calculated and putting in Icons subdirectory 2022-07-02 22:34:36 +02:00
Thunderforge
5ee9618c15 COMMON: Adding prefix to POSIX icon path
Co-authored-by: Le Philousophe <lephilousophe@users.noreply.github.com>
2022-07-02 22:34:36 +02:00
Thunderforge
1cb41b667f COMMON: Putting Icons in a subdirectory if in Win32 portable mode 2022-07-02 22:34:36 +02:00
Thunderforge
33389f062e COMMON: Adding comment for default path methods 2022-07-02 22:34:36 +02:00
Thunderforge
9afd41b195 COMMON: Renaming getDefaultIconPath() -> getDefaultIconsPath() 2022-07-02 22:34:36 +02:00
Thunderforge
b5fac9671d COMMON: Add getDefaultIconPath() for Windows 2022-07-02 22:34:36 +02:00
Thunderforge
fe001b35b5 COMMON: Adding default iconspath functionality
It's for macOS only right now.
2022-07-02 22:34:36 +02:00
Le Philousophe
4ab044a254 OPENGL: Merge both OpenGL contexts 2022-06-26 18:32:10 +02:00
BeWorld
c883e37e9b MORPHOS: logMessage override
Use printf if DEBUG_BUILD only.
This removes a lot of console messages.
2022-06-23 20:49:05 +02:00
Hubert Maier
54e7c3b7da AMIGAOS: Corrected plugins destination path 2022-06-22 01:40:23 +02:00
Hubert Maier
d3521bc785 AMIGAOS: Make use of DEBUG_BUILD define 2022-06-22 01:40:23 +02:00
Paweł Kołodziejski
4053592c69
PS3: Handle platform specific features 2022-06-19 20:13:37 +02:00
rsn8887
fe366040d6 BACKENDS: (PSP2) support three co-existing builds 2022-06-19 10:58:11 -05:00
Cameron Cawley
a3f83e07ab RISCOS: Implement OSystem::messageBox() 2022-06-18 23:21:38 +01:00
Le Philousophe
02808a019a RISCOS: Add an ELF plugin provider
This will allow do dynamically load plugins and not be limited by
24-bits relocations
2022-06-17 21:31:04 +02: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
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
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
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
76eda43fb5 AMIGAOS: Install shaders files as well
We make use of them when runiing in GLES2
2022-04-17 12:34:38 +02:00