6551 Commits

Author SHA1 Message Date
Marcus Comstedt
0d6c83212a DC: Allow plugins to be grouped into subdirectories
By letting the user select which group of plugins to load, an out of
memory condition can be avoided while still allowing all plugins to be
stored on the same disc.
2018-07-17 13:06:02 +02:00
rsn8887
eb49ef0626 PSP2: Improve pointer response to slow finger motion 2018-07-15 03:30:42 -05:00
Matthew Stewart
a5a45fdae1 SDL: Clip mouse range in convertVirtualToWindow 2018-07-08 22:30:31 +01:00
Matthew Stewart
a382a6dd30 SDL: Clip mouse range in convertWindowToVirtual
When the graphics scale was 2x or higher, it was possible for the mouse
to pass the size of the screen specified by "initSize".
2018-07-08 22:30:31 +01:00
Cameron Cawley
d93fe85994 BACKENDS: Fix compilation with SDL 1.2 2018-07-08 22:20:28 +01:00
Thierry Crozat
89f1b1c96e GUI: Add Stretch Mode selection in Options dialog 2018-07-08 16:54:51 +01:00
Thierry Crozat
812ce59ee4 SDL: Implement stretch mode API
Four modes are supported:
 - Use original size with no scaling
 - Scale by an integral amount as much as possible but not bigger
   than the window.
 - Scale to fit the window while respecting the aspect ratio. There
   may be black bars on the left and right, or on the top and bottom,
   but not both. This is the default, and the old behaviour.
 - Scale and stretch to fit the window. In this mode the aspecy ratio
   is not respected and there is no black bars.
The mode is controled by the "scaling_mode" value (between 0 and 3) in
the config file.

Also add Crtl-Alt-s hotkey to cycle through scaling modes
2018-07-08 16:54:51 +01:00
Thierry Crozat
8526c2c31a OSYSTEM: Add Stretch Mode API 2018-07-08 16:54:51 +01:00
Cameron Cawley
c9f2091bc9 RISCOS: Convert documentation to RISCOS-LATIN1 when packaging 2018-06-29 16:45:26 +00:00
rsn8887
e5103a3e8b PSP2: enable additional memory 2018-06-14 23:18:52 -05:00
Cameron Cawley
ae8b5dc086 RISCOS: Add a script to open the README file based on the system territory 2018-06-15 01:15:52 +01:00
Cameron Cawley
478d7b2ee7 WIN32: Fix fallback in getSystemLanguage 2018-06-03 17:43:30 +01:00
Cameron Cawley
ada05fd726 WIN32: Move Windows-specific implementation of logMessage out of OSystem_SDL 2018-06-03 17:43:30 +01:00
Cameron Cawley
e1c83f8e87 WIN32: Move Windows-specific implementation of getSystemLanguage out of OSystem_SDL 2018-06-03 17:43:30 +01:00
Bastien Bouclet
106416c857 DC: Fix the build after the detection result rework 2018-05-28 18:55:47 +02:00
Bastien Bouclet
61f9398b04
Merge pull request #1187 from bgK/detection-refactor-unknown
ENGINES: Return unknown game variants with the list of detected games
2018-05-28 18:43:15 +02:00
Adrian Frühwirth
cee4d6b853 JANITORIAL: Fix trailing whitespace 2018-05-24 15:30:55 +02:00
Adrian Frühwirth
bc949250de JANITORIAL: Convert line endings from CRLF/mixed to LF 2018-05-24 15:30:55 +02:00
Bastien Bouclet
90b78c5446 ENGINES: Merge GameDescriptor and DetectedGame 2018-05-10 09:04:23 +02:00
Adrian Frühwirth
9ea943a81e DS: Use CLIP in VBlankHandler() 2018-05-07 19:54:45 +02:00
Cameron Cawley
b224b592c6 BACKENDS: Replace usage of stricmp/strcmpi/strcasecmp 2018-05-06 01:12:56 +02:00
Adrian Frühwirth
88d4e5475d PSP: Fix UB (use of deallocated memory) 2018-05-05 17:54:46 +02:00
Paul Gilbert
f5238c66d5 XEEN: Add an optional param to CD playback to specify sound type 2018-05-05 10:46:20 -04:00
Thierry Crozat
e79fc3ac76 OSX: Handle encoding conversion for clipboard text 2018-04-29 21:47:10 +01:00
Thierry Crozat
0dae57ab2f SDL: Handle encoding conversion for clipboard text 2018-04-29 21:47:10 +01:00
Thierry Crozat
3fe0e3c38e OSYSTEM: Add API to copy text to clipboard
This has also been implemented for the SDL2 and macOS backends.
2018-04-29 21:47:10 +01:00
Thierry Crozat
e403167d03 IOS: Consolidate build instructions with the wiki
This replaces obsolete instructions to build ScummVM in the README.md
file with a link to the instructions on the wiki. The wiki has also
been updated with additional information that were contained in the
README.md.

and the wiki has been updated with additional instructions.
2018-04-29 11:56:18 +01:00
Adrian Frühwirth
a20f90cbb7 JANITORIAL: Fix formatting 2018-04-22 00:56:21 +02:00
Adrian Frühwirth
9bee9e1ba6 JANITORIAL: Fix whitespace 2018-04-19 12:08:31 +02:00
Cameron Cawley
925025ec54 DS: Only disable forbidden symbols when necessary 2018-04-07 22:12:18 +00:00
Adrian Frühwirth
9dd582180b JANITORIAL: Fix formatting
Futile attempt at taming the mess. There is also much leftover
unused code which someone who knows what all of this does should
remove, if possible.
2018-04-08 00:06:01 +02:00
Bastien Bouclet
6409e99089 N64: Remove the port-specific integer type definitions
They are identical to those detected by configure on buildbot
2018-04-07 12:44:47 +02:00
Matthew Stewart
c36a5f3395 DS: Fix touch input 2018-04-07 09:30:07 +02:00
Matthew Stewart
a43f914abe DS: Fix building with ndstool 2018-04-07 09:30:07 +02:00
Cameron Cawley
9111998c49 DS: Fix compilation with devkitARM r47 2018-04-07 09:30:07 +02:00
Cameron Cawley
668084c58a RISCOS: Package translated documentation 2018-04-07 09:27:08 +02:00
LMerckx
f0dfc19f29 SDL: Allow to load a custom game controller mapping file
And add a specific joystick button to open virtual keyboard
2018-04-04 20:40:16 +02:00
rsn8887
a4fe03c0a5 PSP2: allow loading games from uma0: in addition to ux0: 2018-03-28 23:01:01 -05:00
Eugene Sandulenko
d6b5e3f611 BAKCENDS: Mark methods as override 2018-03-28 11:58:35 +02:00
rsn8887
880081aa2c PSP2: make touch mouse clicks longer so all games receive them
Some games such as Gobliins or Dreamweb did not react to the
simulated touch mouse clicks because the clicks were too short.
This change ensures all games see the simulated clicks by
giving each click a minimum duration of 50 ms instead of being
as fast as possible.
2018-03-28 00:13:32 -05:00
rsn8887
ece8dedcf4 PSP2: prevent accidental clicks when moving pointer using touch 2018-03-23 18:11:13 -05:00
rsn8887
9af2b5ca3a PSP2: fix touch sometimes not directly under finger 2018-03-20 03:14:11 -05:00
Bastien Bouclet
2e875a768d SDL: Split joystick mouse event generation into two functions
That way it is easier to implement relative mouse movement in
ResidualVM.
2018-03-18 13:09:00 +01:00
rsn8887
bfef3da347 PSP2: Implement three-finger drag as right-mouse button drag 2018-02-13 13:32:04 -06:00
Colin Snover
f3f5088824 SDL: Do not try to replace FILE with an incompatible type
It’s questionable that the SDL backend code is trying so hard to
maintain forbidden symbols at all since backend code is exactly
where such things are allowed, and it is a game of whack-a-mole
to keep system API changes from breaking this fragile system of
symbol redefinitions. Probably this should all just get replaced
with a FORBIDDEN_SYMBOL_ALLOW_ALL, but for the time being this at
least gets builds working again on up-to-date msys2/mingw-w64
compilers.

Fixes Trac#10405.
2018-02-09 14:26:42 +01:00
rsn8887
86b1e74b28 PSP2: allow 'frontpanel_touchpad_mode=true' option in ScummVM.ini
Can change option to 'true' manually in scummvm.ini to force front
panel into indirect touchpad mode where the pointer doesn't jump
to finger.
2018-02-08 00:19:41 -06:00
rsn8887
d80ddcc246 PSP2: Prevent jumping touch cursor on right click 2018-01-28 19:49:16 -06:00
rsn8887
195d1f5dee PSP2: Add 2-finger drag-and-drop touch motion 2018-01-28 18:29:17 -06:00
rsn8887
68274d1cc6 PSP2: Improve direct touch accuracy 2018-01-27 19:02:59 -06:00
Bastien Bouclet
1b0ffaf311
Merge pull request #1111 from bgK/gamepad-scale-mouse-speed-with-resolution
SDL: Scale the joystick mouse speed with the vertical window size
2018-01-27 18:20:47 +01:00