461 Commits
Author SHA1 Message Date
Le Philousophe 5c73d55985 COMMON: Move file search in current working directory to backends
The current working directory doesnt always exist on the platforms.
Some platform are then exempted from searching in it.
2026-02-11 21:10:51 +02:00
BeWorld beaa541913 BACKENDS: SDL3: Swap language and country in locale formatting 2026-01-23 19:32:25 +01:00
D G Turner 7ceb1e518f BACKENDS: SDL: Fix Debug Messages For SDL Video Antialiasing Detection
The first path through this is followed for SDL2 and SDL3.
The latter path is only for SDL1, so have corrected debug messages.
2026-01-06 04:59:19 +00:00
D G Turner 1c6c10f387 BACKENDS: SDL: Add Debug Output For SDL Video OpenGL Antialiasing Detection
This is intended to aid debugging of startup slowdown / crashes which are
occurring for some users when running with integrated GPU.
2026-01-06 02:43:42 +00:00
Martin Gerhardy 6351ce1143 BACKEND: EVENTRECORDER: fixed the logic of the g_eventRec.processDelayMillis call 2026-01-05 13:25:04 +01:00
D G Turner 92923a28c2 BACKENDS: SDL: Add Debugging Output For SDL Video OpenGL Feature Detection
This is intended to aid debugging of startup slowdown / crashes which are
occurring for some users when running with integrated GPU.
2026-01-03 02:43:31 +00:00
Michael a9c0636d03 JANITORIAL: resolve signed/unsigned conflicts 2025-12-15 23:43:17 +02:00
Le Philousophe 57df0a6049 BACKENDS: Untangle networking USE flags
A new USE_HTTP define is created to indicate that an HTTP backend is
available (using either libcurl or emscripten platform).
USE_CLOUD now only builds cloud providers storage support, while
USE_SDL_NET determines if a local web server is built.
USE_LIBCURL is now only used when the feature really depends on libcurl
(that is lobby support for Scumm HE).
2025-08-13 18:38:54 +02:00
Le Philousophe c61745ac9e BACKENDS: SDL: Remove unused variable
This has been useless since the removal of the old 3D backend.
2025-06-08 19:43:29 +02:00
Le Philousophe 9fbb12a077 SDL: Fix unused function warning on SDL3 too 2025-06-01 08:24:34 +02:00
Le Philousophe 8d24daaf44 BACKENDS: SDL: Free the correct pointer
The data returned by SDL_GetPreferredLocales is allocated in one block.
2025-06-01 08:24:34 +02:00
Le Philousophe a2005c416a BACKENDS: SDL: Cleanup the obsolete 3D graphics manager
Also remove the now unused common parts
2025-06-01 08:24:34 +02:00
Le Philousophe f222c8256a BACKENDS: SDL: Don't hardcode 3D graphical backend 2025-06-01 08:24:34 +02:00
Christian Kündig 9a03ef57ca SDL: Silence warning "unused function 'sdlGetAttribute'" 2025-05-17 22:40:06 +03:00
Le Philousophe 2d1b05bf17 BACKENDS: SDL: Fix sdlGetAttribute shim on SDL2
sdlGetAttribute returns true on success (like SDL_GL_GetAttribute on
SDL3), but SDL_GL_GetAttribute on SDL2 return 0 on success.
2025-02-22 10:57:49 +01:00
scemino 8afb2c1f62 BACKENDS: Add SDL3 backend + update imgui 2025-02-18 22:13:56 +01:00
Cameron Cawley 3ead988a29 SDL: Fix order of components when detecting the language with SDL_GetPreferredLocales() 2024-12-11 00:32:19 +02:00
Roland van Laar ca23e7fa2d SDL: Fix memory leak
The variable `locales` wasn't freed when it succesfully
contained data.
2024-11-29 20:41:06 +01:00
BeWorld 52fbe6620a BACKENDS: MORPHOS: enhanced init and add features
- Add initBackend (same as AmigaOS)
- Add getSystemLanguage() to detect system language (use SDL_GetPreferredLocales)
2024-11-23 19:24:02 +02:00
Le Philousophe e61dac6c68 BACKENDS: Allow write streams to be created atomically
When creating an atomic write stream, the file is only created once it
is closed.
This can be done using a temporary file.
This commit only adds the API but not the proper implementation.
2024-10-15 22:45:50 +02:00
Cameron Cawley 3a757731a2 SDL: Support building with more than two renderers 2024-10-01 21:22:07 +03:00
Cameron Cawley c4d1359f45 BACKENDS: Remove the legacy Dingux backend
# Conflicts:
#	backends/module.mk
2024-09-30 00:24:25 +02:00
Vladimir Serbinenko b2c4468aae SDL: Enable touchpad mode option on generic SDL
Touchscreen is present on Linux phones and can be present on generic Linux.
Allow to configure it in touchpad mode. Think of Raspberry pi connected to
a touchscreen
2024-09-27 03:26:47 +03:00
Le Philousophe 9bdf1233b1 BACKENDS: Migrate to Path API 2023-12-24 13:19:25 +01:00
Le Philousophe dc7fadef28 COMMON: Make iconspath a Path object 2023-12-24 13:19:25 +01:00
Le Philousophe e689166a2c BACKENDS: Make screenshots use the Path class 2023-12-24 13:19:25 +01:00
Le Philousophe d9a8131ba2 COMMON: Make getDefaultLogFileName return a Path instead of a String 2023-12-24 13:19:25 +01:00
elasota bd857272f4 BACKENDS: SDL: Use null mixer if audio initialization fails, and add a flag to forcibly disable it for testing. Add an alternate call that returns true if the mixer manager is a null device.
SDL audio init will fail on Windows if all audio output devices are disabled.
Only about 10 engines are checking for this case and numerous pieces of common code (EmulatedOPL, VideoDecoder) fail as well, so this acts as a fallback to prevent instability.
2023-11-07 02:45:49 +01:00
Eugene Sandulenko af89b0dc2c SDL: Switch Keyboard shortcuts helptext to Markdown tables 2023-10-14 01:54:05 +02:00
Eugene Sandulenko 6b99f6a5bb SDL: Revert accidental change 2023-10-11 11:26:09 +02:00
Eugene Sandulenko 17a480f1c5 NANCY: Fix potentially uninitialized variable 2023-10-10 23:55:06 +02:00
Eugene Sandulenko 0485f4a593 SDL: Added (disabled) Markdown table to the Keyboard help 2023-10-09 00:22:15 +02:00
D G Turner a3706e0976 BACKENDS: SDL: Fix Undefined Preprocessor Symbol GCC Compiler Warning 2023-09-17 14:46:12 +01:00
Eugene Sandulenko 2bea791278 OSYSTEM: Improed const'ness of the buildHelpDialogData() call 2023-09-17 00:56:28 +02:00
Eugene Sandulenko d4d82be3e7 BACKENDS: SDL: Specified platform-dependent quit shortcut in help dialog 2023-09-17 00:56:28 +02:00
Eugene Sandulenko 6ae8089c61 GUI: Move Keyboards shortcut help to SDL backend 2023-09-17 00:56:28 +02:00
Ankush Dutt 2a60a4d213 DLC: Set kFeatureDLC and _dlcStore for ScummVMCloud, Playstore in backend 2023-09-14 08:22:56 +02:00
Ankush Dutt 708432c163 BACKENDS: Change return type of getDefaultDLCsPath() to Common::Path 2023-09-14 08:22:56 +02:00
Ankush Dutt b4438f744a BACKENDS: Create dlcspath for storing DLCs 2023-09-14 08:22:56 +02:00
Cameron Cawley 3f38f6c500 SDL: Improve CPU detection with older SDL versions 2023-08-14 00:40:42 +02:00
Wyatt Radkiewicz 55550f85ac BACKENDS: Move SIMD detection to more stable SDL2 2023-08-13 00:22:10 +02:00
elasota ee758dee53 BACKENDS: Undo some formatting-only changes. 2023-05-14 22:42:59 +02:00
elasota 6c8ceeae25 BACKENDS: Refactor some things to make getDoubleClickTime behavior with event recorder simpler. 2023-05-14 22:42:59 +02:00
elasota 126ccc5983 BACKENDS: Fix double click time pull from event recorder not working correctly. 2023-05-14 22:42:59 +02:00
elasota 74ddbe5eaa BACKENDS: Add double-click time feature to support OS-configurable double-click intervals, implement it for Windows. 2023-05-14 22:42:59 +02:00
Donovan Watteau 18ab6803d6 JANITORIAL: Fix various "an" typos in comments 2023-03-16 14:47:28 +01:00
Le Philousophe 42ff7120dc SDL: Fix missing replacement for enginesShadersSupported 2022-10-06 19:53:52 +02:00
Thunderforge 9afd41b195 COMMON: Renaming getDefaultIconPath() -> getDefaultIconsPath() 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