aryanrawlani28
bd19eaa5bf
GUI: U32: More code improvements in engines and misc fixes
...
- Xeen's GUIError now takes in U32String
- Scumm's ValueDisplayDialog takes in U32
- Mohawk's InfoDialog & PauseDialog takes in U32
- Mohawk - in riven.cpp, Some assignment fixes
- Backends -in sdl.cpp, Remove incorrect conversion from iso8859 when setting text in clipboard
- Graphics - Add u32 strings instead of decoding each piece in format
2020-08-30 14:43:41 +02:00
aryanrawlani28
4506bcd9f3
GUI: U32: Fix compilation errors
...
After rebasing to get even with master, some compilation errors occured. This commit fixes that.
2020-08-30 14:43:41 +02:00
aryanrawlani28
49c36c2b45
GUI: U32: Begin converting texts in clipboards to u32strings
...
With this commit the base class variables and the parts where getClipboard and setClipboard are used is changed accordingly.
2020-08-30 14:43:41 +02:00
SupSuper
eb1882e243
BACKENDS: Use game ID instead of game domain for Discord presence
2020-08-29 20:01:16 +01:00
SupSuper
bcb7d1f30c
BACKENDS: Discord rich presence support
...
Adds support for showing the currently running game
in a Discord user's game activity.
2020-08-25 10:47:41 +02:00
Cameron Cawley
b9d2b87085
BACKENDS: Move MixerManager code into ModularMixerBackend
2020-08-24 14:22:35 +02:00
Cameron Cawley
697d1a8672
BACKENDS: Added an abstract MixerManager class
2020-08-24 14:22:35 +02:00
Cameron Cawley
75852a786a
BACKENDS: Split ModularBackend into two separate classes
2020-08-24 14:22:35 +02:00
BeWorld
ac06a679f9
MORPHOS: Update sdl.cpp
...
SDL_iconv doesnt work with MorphOS' SDL 1.2
2020-08-21 00:59:18 +02:00
Eugene Sandulenko
ed82ccb95b
BACKENDS: More mutexes
2020-08-20 00:53:23 +02:00
Pawel Kolodziejski
6e02b9d5d6
SDL: Based on PR #1624 and more sync with ScummVM
2020-05-12 23:46:03 +02:00
Pawel Kolodziejski
88cefe47c0
ALL: Small sync with ScummVM
2020-05-11 21:56:33 +02:00
Pawel Kolodziejski
d01d06216f
SDL: Move detection of the desktop resolution into the SdlWindow class
2020-05-10 23:04:31 +02:00
Cameron Cawley
2f6d219dce
SDL: Move detection of the desktop resolution into the SdlWindow class
2020-05-10 21:53:07 +02:00
mataniko
b0895cf7c2
BACKENDS: Fix SDL version check for SDL_EnableScreenSaver
2020-05-10 00:50:54 -04:00
mataniko
38325bfb94
BACKENDS: Don't turn off screen when ScummVM is running a game
2020-05-10 00:35:29 -04:00
mataniko
dbf404b786
BACKENDS: Allow the screensaver to turn on when ScummVM is running
2020-05-09 19:46:29 -04:00
Pawel Kolodziejski
b586571900
ALL: synced with ScummVM commit 09bf38c120
2020-05-09 20:05:54 +02:00
Thierry Crozat
b196d26b3e
SDL: Add --logfile command line argument to specify logfile path
2020-04-17 22:39:50 +01:00
Paweł Kołodziejski
b5d73d4c22
Revert "SDL: Move detection of the desktop resolution into the SdlWindow class"
2020-04-17 17:59:36 +02:00
Cameron Cawley
bf2e80a183
SDL: Move detection of the desktop resolution into the SdlWindow class
2020-04-16 17:18:53 +01:00
Bastien Bouclet
85e3fb38fb
SDL: Change keyboard repeat to apply on unmapped events
...
The keyboard repeat event generator is used when building against SDL1.
Previously the repeat events would generate based on the event stream
produced by the keymapper which is not guaranteed to have matching up
and down events in the case the keymaps are changed while a key is
pressed.
Fixes #11417 .
2020-04-12 11:11:00 +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
Cameron Cawley
5fd8aed047
SDL: Move the compatibility functions into SurfaceSdlGraphicsManager
2020-03-09 22:15:45 +02:00
Bastien Bouclet
568d882e80
KEYMAPPER: Introduce a Virtual Mouse event source
...
The Virtual Mouse is meant to provide a way to control the mouse cursor
on system without a physical mouse. It provides keymapper actions that
are expected to be bound to game controller axes or buttons.
2020-03-09 20:00:31 +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
Bastien Bouclet
2177e685b7
KEYMAPPER: Allow joystick half axes to be remapped
2020-02-09 08:34:16 -06:00
Bastien Bouclet
43184657e9
EVENTS: Disable ScummVM's source of keyboard repeat events by default
...
Backends can still (and do) generate such events. This works around an
issue with the keymapper where the "DOWN" event would be mapped to a
key, but the corresponding "UP" event would be mapped to another one due
to a keymap change. The keyboard repeat generation system would believe
the key to be still pressed and send a continuous stream of repeat
events.
Ideally the keymapper should be fixed to always generate matching event
pairs. However this source of an infinite stream of events still looks
like trouble waiting to happen to me. Hence disabling it by default.
2020-01-29 08:51:30 +01:00
Bastien Bouclet
e973092aef
KEYMAPPER: Enable remapping of the mouse buttons
2020-01-29 08:51:29 +01: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
feaf9dc365
ALL: Sync with ScummVM rev. 55dba55056
2019-12-08 17:06:42 +01:00
Hubert Maier
ee2aa6160c
SDL: Fix typo in comment
2019-10-24 20:33:48 +03:00
Tarek Soliman
d538d13ee0
SDL: Fix build for older SDL versions
...
This fixed the breakage caused by 6dba0bbfd4
in ancient SDL1 versions that don't have SDL_iconv_string()
Closes gh-1862
2019-09-24 09:55:27 -05:00
Cameron Cawley
014bef9eab
BACKENDS: Add a default clipboard implementation
2019-09-21 22:16:01 +03:00
Jaromir Wysoglad
6886ae0dae
SDL: Copy result of SDL_iconv_string()
2019-09-05 23:52:46 +01:00
Jaromir Wysoglad
c2e0e90c27
SDL: Use a non-const string for SDL_iconv_string
...
With some older versions of SDL1, the SDL_iconv_string takes
char * instead of const char * as it's argument. This should
fix the build issue with gp2xwiz.
2019-08-24 21:43:57 +01:00
Jaromir Wysoglad
6dba0bbfd4
SDL: Remove check for SDL2 in convertEncoding()
...
SDL_iconv_string() is available even with SDL1
2019-08-24 18:12:45 +03:00
Jaromir Wysoglad
96270d4bf2
JANITORIAL: Remove debuging code.
2019-08-24 18:12:45 +03:00
Jaromir Wysoglad
41d3a70c58
SDL: Fix convertEncoding for multibyte encodings.
2019-08-24 18:12:45 +03:00
Jaromir Wysoglad
d6d6ac1823
SDL: Add SDL implementation of convertEncoding
2019-08-24 18:12:45 +03:00
Cameron Cawley
8b8fb6d3a4
SDL: Simplify implementation of createLogFile()
2019-08-05 10:01:30 +03:00
Bastien Bouclet
113b9132b7
GUI: Add a drop down menu to select the anti aliasing level
2019-05-30 11:44:50 +02:00
Cameron Cawley
b3dc3832f7
SDL: Remove outdated comment
2019-03-25 23:36:33 +01:00
Bastien Bouclet
66654cb376
ALL: Sync with ScummVM - rev. cd37d510f9
2019-01-26 20:47:55 +01:00
Thierry Crozat
4e24ede18d
SDL: Fix crash when calling OSystem::quit() and OSystem::fatalError()
2018-11-26 22:42:30 +00:00
Bastien Bouclet
53759fe53a
ALL: Sync with ScummVM - rev. 2586ca2345
2018-07-31 21:09:37 +02: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