Paweł Kołodziejski
a37173807f
CONFIGURE: More work on opengl flags
2020-10-14 18:37:17 +02:00
Paweł Kołodziejski
264f6f037b
ALL: Separate USE_OPENGL and USE_OPENG_GAME. Exclude WME3D for GLES2 for now.
2020-10-10 14:12:07 +02:00
Paweł Kołodziejski
35b9cccbde
ALL: Merge ResidualVM
2020-10-09 19:44:13 +02:00
Pawel Kolodziejski
d8f2040dba
ALL: Drop setupScreen API, use new initGraphics3d from engine API.
...
Enabled system API for begin/end gfx transactions, initSize, setGraphicsMode.
Function setGraphicsMode will use optional params to trigger 3d rendering
and switch to proper SDL Gfx manager.
2020-10-02 19:14:19 +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
2b248a85bf
ALL: Minimise differences with ScummVM
2020-09-29 07:57:40 +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
490bedb584
ALL: Fixed some compiler warnings while using c++11
2020-09-25 18:51:18 +02:00
Pawel Kolodziejski
11b9f5d81c
BACKENDS: More renames in GFX backends
2020-09-25 10:35:26 +02:00
Pawel Kolodziejski
677c072c3c
BACKEND: Rename SDL gfx backends to be unique for ResidualVM
2020-09-24 20:22:49 +02:00
Pawel Kolodziejski
d5304e2568
ALL: Synced with ScummVM - rev: 33a47d23b8
2020-09-03 02:21:14 +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
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
7745ffdac1
BACKENDS: Simplify EventsBaseBackend
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
Cameron Cawley
9a61a99590
BACKENDS: Add init() to OSystem
2020-08-24 14:22:35 +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
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
Pawel Kolodziejski
b586571900
ALL: synced with ScummVM commit 09bf38c120
2020-05-09 20:05:54 +02: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
Eugene Sandulenko
6817478967
BACKENDS: SDL: Add override keywords
2020-01-31 12:39:23 +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
Cameron Cawley
014bef9eab
BACKENDS: Add a default clipboard implementation
2019-09-21 22:16:01 +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
Bastien Bouclet
53759fe53a
ALL: Sync with ScummVM - rev. 2586ca2345
2018-07-31 21:09:37 +02: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
Bastien Bouclet
3ec01653c3
ALL: Merge from ScummVM rev 3a933138ce
2017-12-06 21:41:03 +01:00
Colin Snover
ebe6c40a6a
SDL: Do not reset window size when engines update rendering surface
...
This change allows:
* Engines to update their target rendering surface/size and pixel
format with the backend multiple times during gameplay;
* Users to resize the ScummVM window without having it reset
size/position every time an engine updates its target surface
format;
* Conversions/scaling to continue to run efficiently in hardware,
instead of requiring engines to pick their maximum possible
output format once and upscale inefficiently in software;
* The window to reset size once when an engine calls to set its
initial output size, and to reset again once ScummVM returns to
the launcher.
This is relevant for at least SCI32 and DreamWeb engines, which
perform graphics mode switches during games.
2017-10-07 12:30:29 -05:00
Bastien Bouclet
84e62b6c8d
ALL: Sync with ScummVM - rev. 87ebc7140c
2017-09-02 15:04:07 +02: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
Pawel Kolodziejski
19bcd1f3bc
ALL: Sync with ScummVM
2016-11-12 12:59:06 +01:00
Pawel Kolodziejski
9ba9c69b3f
ALL: Sync with ScummVM - rev. 823c2f899b
2016-11-12 08:49:29 +01:00
Alexander Tkachev
b9bba9bd4b
ALL: Move Clipboard support to OSystem
...
Commit adds kFeatureClipboardSupport. hasTextInClipboard() and
getTextFromClipboard().
OSystem_SDL has this feature if SDL2 is used.
EditableWidget and StorageWizardDialog use g_system to access clipboard
now.
2016-08-24 16:07:55 +06:00
Alexander Tkachev
9f7bea156a
CLOUD: Init SDL_Net
2016-08-24 16:07:55 +06:00
Bastien Bouclet
ad3ab61241
COMMON: Remove the EventRecorder dependency from OSystem
...
EventRecorder is in the gui lib which is not linked in the cxxtest suite.
2016-07-28 18:23:46 +02:00
Bastien Bouclet
5b927c06f1
SDL: Ony perform framebuffer detection once on startup
2016-07-14 12:04:06 +02:00
Bastien Bouclet
2141277df9
SDL: Detect the desktop resolution earlier
...
So that nothing has a chance to change it beforehand.
2016-07-14 12:04:05 +02:00
Bastien Bouclet
287f97228f
BACKENDS: Make suggestSideTextures go through GraphicsManager
2016-07-14 12:02:55 +02:00
Bastien Bouclet
911e0e3915
BACKENDS: Remove launcherInitSize from GraphicsManager
2016-07-14 12:02:55 +02:00
Bastien Bouclet
52f2dfc869
SDL: Split the GraphicsManager into Surface and OpenGL
2016-07-14 12:02:51 +02:00