Commit Graph

490 Commits

Author SHA1 Message Date
Orgad Shaneh
a05e54f00c JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03:00
Cameron Cawley
d33487f641 SDL: Refactor OpenGLSdlGraphics3dManager to inherit from SdlGraphicsManager 2021-04-17 20:32:27 +02:00
Eugene Sandulenko
91832bf9d8
SYMBIAN: Remove old Keys Dialog, now the global KeyMapper is used. PR#2712 2021-04-17 19:41:09 +02:00
Orgad Shaneh
b49e6eb96f JANITORIAL: Fix some excess tabs 2021-04-15 23:18:08 +03:00
Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
rsn8887
044ea0b60e VITA: Use regular SDL2 graphics code, fixes crash with latest SDK 2021-04-11 19:56:34 -05:00
sluicebox
cbaae38721 EVENTS: Fix mouse position outside active area
Fixes regression introduced in 35b9cccbde
which ignored SdlGraphicsManager::notifyMousePosition() return value
2021-03-09 08:18:56 +01:00
Cameron Cawley
2ea22a451c DS: Ensure that a mouse move event is sent before a mouse down event 2021-02-04 01:59:14 +01:00
Cameron Cawley
626b6ac4e9 DS: Move graphics code into a separate file 2021-02-04 01:59:14 +01:00
Cameron Cawley
37774cd578 DS: Allow the game screen and the overlay to be shown at the same time 2021-02-04 01:59:14 +01:00
Cameron Cawley
438c2d8714 DS: Rewrite event handling 2021-02-04 01:59:14 +01:00
Thierry Crozat
a1c807704d ALL: Ignore force RTL option when the engine does not support RTL
This fixes bug #12072: Cannot quit Blazing Dragons when always
return to launcher is selected
2021-01-20 23:35:47 +00:00
Cameron Cawley
ade345b975 SDL: Fix crash with certain key combos on AmigaOS 4 2021-01-17 14:47:09 +00:00
Cameron Cawley
7a6fcba9b6
SWITCH: Fix missing include 2021-01-02 14:21:28 +00:00
Thierry Crozat
9e5540f838 BASE: Handle RTL at exit config in scummvm_main
This config was handled in the DefaultEventManager, but this did not
work for engines that quit the game without using a QUIT_EVENT (such
as SCI). So now it is handled one level up directly in scummvm_main.

Note: It is still also handled in the DefaultEventManager so that we
get the correct confirmation dialog there when "confirm_exit" is true.
2020-12-09 22:13:22 +00:00
Thierry Crozat
5638fc84f3 GUI: Prevent the 'Confirm RTL' dialog from being invoked recursively
I reused the same flag that was already used for the same purpose
for the 'Confirm exit' dialog. This means that if we have both a
RTL and a Quit event in the queue, only the first one will have a
confirmation dialog. If this is an issue, we can instead introduce
a separate flag for the RTL dialog.
2020-12-04 22:43:03 +00:00
Lothar Serra Mari
c027d3789d GUI: Cleanup confirm_exit code 2020-12-02 22:39:22 +00:00
Lothar Serra Mari
6325e751f2 GUI: Only show 'confirm_exit' dialog when running an engine 2020-12-02 22:39:22 +00:00
Lothar Serra Mari
6da9994da9 GUI: Change button label on 'return to launcher' confirmation 2020-12-02 22:39:22 +00:00
Lothar Serra Mari
80de351bd9 GUI: Reword 'exit' and 'return to launcher' confirmation messages 2020-12-02 22:39:22 +00:00
Lothar Serra Mari
fbd2173f3a GUI: Clarify that leaving a game will lead to loss of unsaved data 2020-12-02 22:39:22 +00:00
Lothar Serra Mari
4ee02f869c GUI: Add GUI option to always return to the Launcher instead of quitting
ScummVM
2020-12-02 22:39:22 +00:00
Hubert Maier
e19d4e197b
AMIGAOS: Keep platform name continuity (#2643) 2020-11-26 15:10:01 +01:00
antoniou79
637d845210 COMMON: DEBUGGER: Don't attach again at EVENT_DEBUGGER
If already active

Addresses bug https://bugs.scummvm.org/ticket/11964
2020-11-22 13:58:57 +02: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
Cameron Cawley
ee18a89df5 MAEMO: Add override and final keywords 2020-11-01 20:04:57 +00:00
Matthieu Milan
90d9540ad8
SWITCH: Add support for 3d games (#2558)
SWITCH: Add support for 3d games
2020-10-26 21:01:12 +01:00
rsn8887
28a1f729ff BACKENDS: Fix reading window height in PSP2 events 2020-10-10 09:20:59 -05:00
Paweł Kołodziejski
e20bddb738 BACKENDS: Attempt to fix PSP and SWITCH ports. Use proper class cast 2020-10-10 13:55:27 +02: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
be3db5f0ed BACKENDS: Attempt to fix PS2 and SWITCH port 2020-10-09 22:12:37 +02: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
b1fcc7cb89 BACKENDS: Remove not used code 2020-10-02 20:01:17 +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
Cameron Cawley
e918a4b16f OPENPANDORA: Fix copy/paste error 2020-09-13 22:20:31 +01:00
Cameron Cawley
c8c120d839 GPH/OPENPANDORA: Minor cleanup 2020-09-13 14:58:45 +01: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
Thierry Crozat
760815b3b8 BACKENDS: Do not define a Quit action if the NoQuit feature is enabled 2020-08-29 16:31:37 +01:00
Cameron Cawley
75852a786a BACKENDS: Split ModularBackend into two separate classes 2020-08-24 14:22:35 +02:00
Cameron Cawley
ee11bc20b2 MAEMO: Remove some debug code 2020-08-24 14:22:35 +02:00
Cameron Cawley
2c1065188e SYMBIAN: Deprecate the actions system 2020-08-24 14:19:30 +02:00