Commit Graph
168 Commits
Author SHA1 Message Date
Hubert Maier e19d4e197b AMIGAOS: Keep platform name continuity (#2643) 2020-11-26 15:10:01 +01:00
Vladimir Serbinenko 68a9136e4d COMMON: Rewrite Encoder and drop dependency on iconv (#2586)
Different platforms have different levels of support of encodings and
often have slight variations. We already have tables for most encoding
with only CJK missing. Full transcoding inclusion allows us to get reliable
encoding results independently of platform. The biggest con is the need for
external tables encoding.dat.

It removes a duplicate table for korean in graphics/korfont.cpp
2020-11-15 16:20:35 +01:00
SupSuper 293b648745 SDL: Only handle events from current display window
This fixes the GraphicsManager reacting to dummy window events from testing OpenGL hardware capabilities
2020-10-10 00:14:10 +01:00
Paweł Kołodziejski 35b9cccbde ALL: Merge ResidualVM 2020-10-09 19:44:13 +02:00
Pawel Kolodziejski b321938c7b TINYGL: Restored ability to create internal buffer based on pixel format 2020-10-05 08:09:20 +02:00
Pawel Kolodziejski 0e8f2c96f3 EVENTS: Missed port change for relative mouse position 2020-10-04 08:08:23 +02:00
Pawel Kolodziejski e9839c31e2 BACKENDS: Drop native game joystick support in replacement for emulated from core events backend. 2020-10-03 17:13:54 +02:00
Pawel Kolodziejski 6f69981904 BACKENDS: Drop launcherInitSize() and use 2d backend gfx manager for launcher. 2020-09-30 16:52:44 +02:00
Pawel Kolodziejski 6aa7cf6025 BACKENDS: Made code less different in SDL platform backend 2020-09-29 15:08:16 +02:00
Pawel Kolodziejski a3a42ee306 ALL: Eliminated more differences with ScummVM 2020-09-29 11:54:05 +02:00
Pawel Kolodziejski 01120c9203 BACKENDS: A little more change in layout for 3D GFX manager 2020-09-27 16:41:23 +02:00
Pawel Kolodziejski 3e13a02be9 BACKENNDS: Cleanup GFX backend 2020-09-25 14:23:30 +02:00
Pawel Kolodziejski 11b9f5d81c BACKENDS: More renames in GFX backends 2020-09-25 10:35:26 +02:00
Pawel Kolodziejski 522d45c047 SDL: Added missed slow motion modifier 2020-09-12 19:06:01 +02:00
Pawel Kolodziejski d5304e2568 ALL: Synced with ScummVM - rev: 33a47d23b8 2020-09-03 02:21:14 +02:00
Cameron Cawley 75852a786a BACKENDS: Split ModularBackend into two separate classes 2020-08-24 14:22:35 +02:00
Pawel Kolodziejski 8f4e1c6cf3 Sync with ScummVM rev. 654b8208b8 2020-06-22 08:14:16 +02:00
Pawel Kolodziejski 440fe9d5f4 SDL: Fixed win32 target compilation 2020-05-13 01:39:47 +02:00
Pawel Kolodziejski a36764257b SDL: Fixed typo in pollEvent and reduce code duplication. 2020-05-12 14:58:16 +02:00
Zvika Haramaty 44c0b4644f SDL: Return unicode keycode for Hebrew input
Before this commit, when typing in Hebrew, SDL reported the equivalent
English keycode. Thus, if user typed Hebrew letter Aleph, it was
reported as ascii of 't' (or 'T', I don't remember...).

It's still impossible to type Hebrew letters in the GUI's input dialogs,
but it's a step forward.
2020-05-12 14:37:10 +02:00
Pawel Kolodziejski 128f7fc156 SDL: Attempt to fix joystick support 2020-05-11 21:57:41 +02:00
Pawel Kolodziejski 88cefe47c0 ALL: Small sync with ScummVM 2020-05-11 21:56:33 +02:00
mataniko 38325bfb94 BACKENDS: Don't turn off screen when ScummVM is running a game 2020-05-10 00:35:29 -04:00
Pawel Kolodziejski bd32585c45 ALL: Added missing files, don not enable docker plugin 2020-05-09 20:58:00 +02:00
Pawel Kolodziejski b586571900 ALL: synced with ScummVM commit 09bf38c120 2020-05-09 20:05:54 +02:00
Bastien Bouclet 9cc2fee887 SDL: Enable joystick input by default
Game controller input is now enabled whenever a compatible device is
connected. The keymapper's keymaps are refreshed when a joystick is added
or removed.

Fixes #10366.
2020-03-16 18:41:27 +01:00
Bastien Bouclet a155061ee4 KEYMAPPER: Set the default virtual mouse settings
Fixes the 3DS mouse cursor drifting.
2020-03-11 06:15:46 +01:00
Bastien Bouclet 6161f4af6e SDL: Fix SDL1 build 2020-03-09 21:10:22 +01:00
Bastien Bouclet d94c7c3bcc SDL: Move the keyboard mouse to a subclass of SdlEventSource
And deprecate it. The new Virtual Mouse system is expected to replace
it.
2020-03-09 20:00:31 +01:00
Cameron Cawley 1605b72ee8 BACKENDS: Add events for additional mouse buttons 2020-02-26 21:34:24 +01:00
Cameron Cawley a730e8775b SDL: Clean up keycode usage 2020-02-22 22:11:34 +02:00
Bastien Bouclet 2177e685b7 KEYMAPPER: Allow joystick half axes to be remapped 2020-02-09 08:34:16 -06:00
rsn8887 eea70a3c8c BACKEND: Allow SDL2 mapping of L2/R2, fix psp2/switch mapping 2020-02-09 08:34:16 -06:00
Bastien Bouclet 32174c9067 KEYMAPPER: Actions can now be bound to joystick buttons 2020-01-29 08:51:29 +01:00
Bastien Bouclet be49fc4b9a SDL: Add a keymap for the graphics manager 2020-01-29 08:51:29 +01:00
Bastien Bouclet c131e8f5b9 EVENTS: Use the keymapper for some previously hard-coded key bindings 2020-01-29 08:51:29 +01:00
Cameron Cawley 9fc24522d7 BACKENDS: Add more keycodes 2020-01-21 03:28:22 +02:00
Bastien Bouclet feaf9dc365 ALL: Sync with ScummVM rev. 55dba55056 2019-12-08 17:06:42 +01:00
Cameron Cawley f2b9f7bb76 BACKENDS: Remove the Windows CE port 2019-11-17 22:33:56 +01:00
D G Turner 690370554f SDL: Fix Missing Default Switch Cases in Events Class
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-16 23:24:05 +01:00
Cameron Cawley 7bf22fa996 BACKENDS: Add EVENT_CLIPBOARD_UPDATE event 2019-09-21 22:16:01 +03:00
Bastien Bouclet accb1df2c7 SDL: Fix mouse cursor wrapping on hi-res screens
Fixes #1562.
2019-07-13 10:05:15 +02:00
Cameron Cawley 52e7ba5e54 SDL: Support joystick hat input 2019-07-08 01:24:55 +03:00
Cameron Cawley 30109816fe SDL: Initial implementation of joystick events 2019-07-08 01:24:55 +03:00
Bastien Bouclet d474e3f94f ALL: Sync with ScummVM - rev. ea3f8f2e33 2019-06-29 19:08:44 +02:00
Bastien Bouclet 0a8049e30c SDL: Fix gamepad mouse cursor wrapping on hi-res screens
The cursor position was overflowing a signed 16-bits integer once
multiplied with MULTIPLIER when using a resolution such as 2560x1440.

It would be nice changing this code to make more sense, sadly it is
thightly coupled with platform specific subclasses.

Fixes #10996.
2019-06-27 20:12:52 +02:00
Bastien Bouclet 4c9a5cd1d6 SDL: Fix compiler warning 2019-06-02 20:10:46 +02:00
Cameron Cawley fb0b63ba66 RISCOS: Add Drag and Drop support 2019-04-30 22:17:04 +01:00
Cameron Cawley d7b2b1b8f9 GUI: Support adding games via Drag and Drop 2019-04-30 22:17:04 +01:00
Hubert Maier ce8227323b AmigaOS4: Exclude platform from a SDL1/2 keyboard fix that breaks numpad usage (#1551)
SDL1/2: Exclude AmigaOS4 from returning 0 for .ascii

*reset .ascii to 0, when Num-Lock is NOT enabled and keypad directional keys are pressed* (original description) is causing the numpad to play dead completely on AmigaOS4 (no matter if numlock is active or not). This is a workaround for the SCUMM engine, where keycodes are mixed with ASCII codes.

Check commit f5ed14e93d for reference. 

Fixes bug #10558. Tested with both SDL1 and 2 on AmigaOS4 and with both Indiana Jones games.
2019-04-11 01:28:18 +03:00