Commit Graph
3084 Commits
Author SHA1 Message Date
Cameron Cawley 0d1df59be1 RISCOS: Automatically calculate the correct WimpSlot size 2017-09-03 10:40:07 +02:00
Cameron Cawley b9694a01db RISCOS: Use shorter filenames for config and log files 2017-09-03 10:40:07 +02:00
Cameron Cawley 0e7d9414a6 RISCOS: Correctly set executable extension 2017-09-03 10:40:07 +02:00
Cameron Cawley 7a00045df0 RISCOS: Add networking files to application 2017-09-03 10:40:07 +02:00
cameron a11985c46d RISCOS: Add RISC OS support 2017-09-03 10:40:07 +02:00
Frank Richter 0f93962ef4 Windows: Use GetUserDefaultUILanguage() instead of GetThreadLocale().
The thread locale concerns display options (e.g. date formatting) not
the display language. There are typically, but not necessarily the same,
as Windows allows them to be configured separately.
2017-08-01 08:55:48 +02:00
Bastien Bouclet 8c587b54ab SDL: Make the window size when exiting fullscreen workaround macOS specific
The call to SDL_SetWindowSize works around a macOS specific SDL2 bug.
Fixes the window not restoring to its previous position when exiting
fullscreen on Linux/X11.
2017-07-29 17:25:37 +02:00
Thierry Crozat 00bbb73ce5 SDL: Make sure we get the correct window size with SDL2
When updating or recreating the window, if we changed the window
size at the same time we also toggle between OpenGL and non
OpenGL mode, or toggle fullscreen mode, we may have a pending
SDL resize event with the wrong size. So we need to make sure to
append another one with the correct size to end up with the correct
size. This fixes bug #9971.
2017-07-27 21:05:44 +01:00
Eugene Sandulenko 940b2a20f1 Revert "COMMON: Change way the Singleton instances are instantiated"
This reverts commit eefa72afa1.

With this patch ConfigManager is broken.
2017-07-10 21:17:41 +02:00
Thierry Crozat eefa72afa1 COMMON: Change way the Singleton instances are instantiated
This fixes tons of warnings with clang from a recent xcode version on
macOS (and possibly other systems) complaining that an instantiation
of _singleton is required but no definition is available.
2017-07-10 21:11:20 +02:00
Colin Snover 065dd9671e SDL: Fix compilation with SDL1.2 2017-07-06 19:27:52 -05:00
Colin SnoverandBastien Bouclet 332fabcb8a SDL: Only recreate SDL2 window when necessary
Destroying and recreating the SDL window whenever the video mode
changes in SDL2 is not necessary and causes several problems:

1. In windowed mode, the game window shifts position;
2. In fullscreen mode in macOS, every time the window is
   recreated, it causes the OS to play its switch-to-fullscreen
   animation again and emit system alert noises;
3. The window content flickers; and
4. The engine loses events from the old destroyed window.

This patch changes the SDL backend code to avoid destroying and
recreating the SDL window when using SDL2, except when switching
OpenGL modes, since there is no way to change the OpenGL feature
of a window.

There are still some outstanding issues with OpenGL where window
size ends up getting reset even though the user has resized it;
this will probably need to be addressed at some point in another
patch.

Thanks to @bgK and @criezy for their feedback which made this
patch much better.

Co-Authored-By: Bastien Bouclet <bastien.bouclet@gmail.com>
2017-07-06 19:11:54 -05:00
lubomyr 4d53bdc7fe ANDROIDSDL: implemented checking and fixing sdcard path 2017-06-25 10:50:36 +02:00
Colin Snover 2d3c86187f MACOSX: Fix flipped return value of openUrl 2017-05-21 19:37:14 -05:00
Thierry Crozat 442edb6ccc MACOSX: Expand ~ in default screenshot path
When using SDL to save the screenshot, using a told results in
an error.
2017-04-26 08:39:06 +01:00
Kirben ec0b1dec9d WINDOWS: Fix warning under mingw-w64. 2017-04-24 11:22:44 +10:00
Kirben b46a1b688d WINDOWS: Hopefully fix mingw compilation. 2017-04-24 10:57:02 +10:00
Thierry Crozat a1dab31c08 WIN32: Fix compilation of getScreenshotPath (missing parenthesis) 2017-04-24 01:28:50 +01:00
Thierry Crozat 23987cc724 WIN32: Comment out code that gets the user My Pictures directory
This broke compilation on buildbot as ShlObj.h cannot be found.
A developer that has access to Windows should take a look to
properly fix this.
2017-04-24 01:21:36 +01:00
Thierry Crozat e96c057c3d SDL: Allow specifying the screenshot directory in the config file
There is no GUI option to set the screenshot directory, but this
allows power users to set it if they don't want to use the default.
2017-04-24 01:07:05 +01:00
Thierry Crozat 11dd33bb73 MACOSX: Create screenshot on Desktop
This is consistent with the OS shortcut (Crtl+Shift+3) to take a
screenshot.
2017-04-24 01:06:50 +01:00
Pala 3849a3e90e WINDOWS: Change location where screenshot are saved
This fixes bug #9701: WINDOWS: Flow of taking screenshots
on Windows is broken
2017-04-24 01:06:29 +01:00
Torbjörn Andersson 6cda47ca3d JANITORIAL: Remove superfluous semicolons 2017-04-18 06:49:14 +02:00
rsn8887 96f720d93d PSP2: remove date from executable name 2017-03-06 17:10:10 -06:00
cpasjuste 70988527c6 PSP2: Add Playstation Vita (PSP2) support 2017-03-04 15:42:19 -06:00
Eugene Sandulenko 8a547c8711 Merge pull request #908 from rsn8887/upstream
SDL: Fix erratic analog pointer + control options
2017-02-24 22:00:10 +01:00
rsn8887 45bd7a8b75 SDL: Fix erratic analog pointer + control options
Fixes erratic speeds in analog pointer motion
Implemented option to set analog/keyboard pointer speed
and control the analog joystick deadzone. The deadzone option appears
only if the build supports analog joystick (via JOY_ANALOG define)
2017-02-22 16:52:09 -06:00
Eugene Sandulenko db4ef7c467 Merge pull request #909 from lubomyr/master
ANDROIDSDL: changed filename in assets file with scummvm-data for replace old data files
2017-02-22 22:04:29 +01:00
lubomyr 8a70c0c922 ANDROIDSDL: changed filename in asset file with scummvm-data for replacing old data-files 2017-02-22 22:49:47 +02:00
Eugene Sandulenko 8216fd8ea6 Merge pull request #904 from AReim1982/DevKitPPC-R28
WII: Fix compiler warnings
2017-02-21 23:30:32 +01:00
lubomyr cdda943c8a ANDROIDSDL: code refactoring 2017-02-19 00:27:20 +02:00
lubomyr 3f921c1195 ANDROIDSDL: config feature swap_menu_and_back renamed to swap_menu_and_back_buttons 2017-02-18 18:02:46 +02:00
lubomyr 75a08488f9 ANDROIDSDL: code refactoring and optimization 2017-02-18 17:58:47 +02:00
lubomyr 2c32173146 ANDROIDSDL: code formatting... 2017-02-15 20:26:37 +02:00
lubomyr 2412502eee ANDROIDSDL: implemented checkbox for swap menu and back buttons 2017-02-14 17:38:44 +02:00
lubomyr 216f9c4f11 ANDROIDSDL: backend related checking in options.cpp replaced with hasFeature... condition, renamed some fields and methods 2017-02-14 15:13:58 +02:00
Alexander Reim 6dd28d7cc1 WII: Fix compiler warnings
WII: Fix compiler warnings

Compiler: DevKitPPC R28
2017-02-14 11:38:39 +01:00
lubomyr f8c4274f1a ANDROIDSDL: code refactoring... 2017-02-07 16:35:41 +02:00
lubomyr 2d7803c22f ANDROIDSDL: code optimization 2017-02-01 14:34:32 +02:00
lubomyr 9cdda5c045 ANDROIDSDL: implemented checkbox for show/hide on-screen control in Options menu 2017-01-31 22:44:50 +02:00
lubomyr 15acee29f1 ANDROIDSDL: implemented checkbox for change mouse mode in Options menu 2017-01-30 22:35:40 +02:00
D G Turner 4c03760e66 DC: Fix Variable Shadowing Compiler Warning. 2017-01-17 09:29:24 +00:00
Eugene Sandulenko ab7a152c3a ALL: Bump copyright year to 2017 2017-01-01 10:58:56 +01:00
Eugene Sandulenko 6da591df88 Merge pull request #853 from criezy/ios-no-sleep
IOS: Disable idle timer while an engine is running
2016-11-12 12:20:17 +01:00
lubomyr 55f37714ca ANDROIDSDL: default storage-sdcard directory location getting direct from libSDL wrapper 2016-10-23 14:07:15 +03:00
Ori Avtalion 5280632b51 SDL: Fix typos 2016-10-22 21:16:21 +03:00
Marcus Comstedt cd6f1e3f24 DC: Add Dreamcast specific clean target 2016-10-22 13:46:58 +02:00
Thierry Crozat 2882424306 IOS: Add support for filtering feature 2016-10-21 22:27:26 +01:00
Thierry Crozat 4a9446490a IOS: Disable idle timer while an engine is running 2016-10-20 22:38:14 +01:00
Eugene Sandulenko 9db3a38466 PSP: Added release building script 2016-10-16 14:49:59 +02:00