Commit Graph

8033 Commits

Author SHA1 Message Date
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
795bc3f583 AMIGAOS: Fix whitespace and revert a change not yet ripe 2020-12-02 21:47:31 +01:00
Hubert Maier
dc29fd513a AMIGAOS: Update amigaos-main.cpp 2020-12-02 21:47:31 +01:00
antoniou
23c066d00e ANDROID: Attempt to fix IllegalArgumentException for chooseEglConfig()
Crash reports mentioning this exception came from Play Store

stacktrace looked like the following:
java.lang.RuntimeException:
		  at org.scummvm.scummvm.ScummVM.run (ScummVM.java:144)
		  at java.lang.Thread.run (Thread.java:919)
		Caused by: java.lang.IllegalArgumentException:
		  at com.google.android.gles_jni.EGLImpl.eglGetConfigAttrib (Native Method)
		  at org.scummvm.scummvm.ScummVM$EglAttribs.<init> (ScummVM.java:339)
		  at org.scummvm.scummvm.ScummVM.chooseEglConfig (ScummVM.java:440)
		  at org.scummvm.scummvm.ScummVM.initEGL (ScummVM.java:180)
		  at org.scummvm.scummvm.ScummVM.run (ScummVM.java:133)
2020-12-01 19:42:01 +02:00
Hubert Maier
e19d4e197b
AMIGAOS: Keep platform name continuity (#2643) 2020-11-26 15:10:01 +01:00
antoniou
60e7ea79d2 ANDROID: Menu key on virtual keyboard is system menu now
Before it was a Media Top Menu key and did nothing
2020-11-26 14:43:50 +02:00
antoniou
8863b5d92f ANDROID: Get current version info from the global gScummVMVersion
...instead of the versionName in build.gradle

Also check for "dirty" version name and in that case do not skip re-copying the asset files
2020-11-25 16:41:47 +02:00
antoniou
411407abf8 ANDROID: Restore check for Alt modifier in key events
And add checks for Meta, Caps, NumLock, Scroll lock modifiers too
2020-11-25 16:41:47 +02:00
Martin Gerhardy
7748913b7e AMIGAOS: removed include of non-existing header 1970-01-01 01:06:34 +01:00
Martin Gerhardy
3e65ba47d8 AMIGAOS: fixed compilation 2020-11-23 22:28:51 +01:00
Hubert Maier
aa5f0633a1 AMIGAOS: Add amigaos-dialogs.cpp 2020-11-23 19:18:46 +01:00
Hubert Maier
728ac62f36 AMIGAOS: Add amigaos-dialogs.h 2020-11-23 19:18:46 +01:00
Hubert Maier
6ea04f93b6 AMIGAOS: Add system dialogs support 2020-11-23 19:18:46 +01:00
Hubert Maier
d17b1fdc66 AMIGAOS: Add dialogs.h file to module.mk 2020-11-23 19:18:46 +01:00
Cameron Cawley
cbff0c4d35 DC: Attempt to fix compilation 2020-11-23 12:24:54 +00:00
Cameron Cawley
01b4432825 BACKENDS: Use Common::U32String for OSystem::setWindowCaption 2020-11-22 17:20:19 +00:00
BeWorld
126fd3c86d MORPHOS: update NEWS.md
And remove include "common/encoding.h" in morphos-dialogs.cpp
2020-11-22 17:04:21 +00:00
Cameron Cawley
b246dbdfb6 ANDROID: Add a backend-specific options widget 2020-11-22 16:35:03 +00:00
Thierry Crozat
c80e1c6b49 NULL: Fix compilation without GNU C extensions 2020-11-22 16:35:03 +00: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
Cameron Cawley
c877097b49 ALL: Remove use of "" in Common::U32String constructors 2020-11-16 16:56:58 +00:00
Vladimir Serbinenko
f5ffbe1155 TEST: Copy encoding.dat to make tests work in relative build directory 2020-11-16 02:38:22 +01:00
Cameron Cawley
421e36a3a8 NULL: Implement getMillis() and delayMillis() on Windows 2020-11-15 22:42:01 +00:00
Cameron Cawley
ec62b546da NULL: Always implement OSystem::addSysArchivesToSearchSet() 2020-11-15 22:33:22 +00: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
antoniou
73c2c578ee ANDROID: Added a note comment about scummvm.ini location
Location is directly inside the app's internal storage folder

I am not sure if I did this by mistake, because I think it would be better for it
to be under the subpath ".config/scummvm" which we do create earlier.
However, this *mistake* makes the file easier accessible via the "LAN" feature,
since otherwise the user has to also enable the "show hidden files" option
and navigate specifically to the ".config/scummvm" subpath
to set it as root for the LAN server, in order to see the scummvm.ini.
In the current way, the user simply has to set the internal app folder
as root for the LAN server.
2020-11-13 10:46:41 +02:00
Thierry Crozat
a509afdf4d COMMON: Remove resetGraphicsScale from OSystem
This function used to be called from the Engine class, but was
not longer used since commit 432fd522. The single remaining use
was an internal use in the SurfaceSdlGraphicsManager, and I kept
the behaviour there while removing the function.
2020-11-12 21:05:36 +00:00
cyee
607d8adaef VITA: add support for booting game directly via bubble 2020-11-10 09:06:26 -06:00
Eugene Sandulenko
5936026209 ALL: Clarify POTFILES, remove redundant common/translations.h includes 2020-11-10 03:03:49 +01:00
Cameron Cawley
128b20634f IOS7: Fix compilation with Xcode 2020-11-09 19:12:33 +00:00
Cameron Cawley
0d4625d2d5 IOS7: Make use of ModularMutexBackend 2020-11-09 19:12:33 +00:00
Cameron Cawley
832f5d1c4a IPHONE: Make use of ModularMutexBackend 2020-11-09 19:12:33 +00:00
antoniou
0de952a59c ANDROID: Raise targetsdk to 29 but make use of requestLegacyExternalStorage
Also some fixes for deprecated warnings
2020-11-07 23:38:03 +02:00
Cameron Cawley
626755db94 IPHONE: Use kFeatureFilteringMode to toggle filtering 2020-11-07 18:05:53 +00:00
Matthieu Milan
5a31319853 SWITCH: Implement OSystem_Switch::getSystemLanguage() 2020-11-06 21:40:01 -06:00
Vladimir Serbinenko
e07fc52767
ANDROID: Merge few files between android and android3d (#2595)
While unfortunately it doesn't help with existing differences it help
to prevent their increase
2020-11-03 14:50:54 +01:00
Vladimir Serbinenko
a1a53eb205
ANDROID: Fix android3d compilation (#2594)
SAF was added to android but not android3d yet it is in both cases
in posifxfs.

Merging android and android3d will be a separate project
2020-11-03 12:36:51 +01:00
SupSuper
0128d5e3b5 OPENGLSDL: Fix SDL asserting when getting fullscreen state
This fixes a null pointer being passed to SDL_GetWindowFlags
when there is no window yet, since the condition was incomplete
2020-11-01 20:10:15 +00:00
Cameron Cawley
ee18a89df5 MAEMO: Add override and final keywords 2020-11-01 20:04:57 +00:00
antoniou
4bda9bf112 ANDROID: Use TextUtils.isEmpty() instead of String's isEmpty() 2020-11-01 19:38:07 +02:00
antoniou
7aa38e197a ANDROID: Callback for onDestroy at ScummVM thread end 2020-11-01 19:38:07 +02:00
antoniou
8fe6aae59e ANDROID: Use SAF for folder and file creation when normal way fails
Should affect only external "secondary" storage (eg. physical SD card)
2020-11-01 19:38:07 +02:00
Matthew Duggan
5135f1f4b9 ALL: Run optipng to reduce png file size 2020-11-01 21:34:03 +09:00
BeWorld
a434791bf8
MORPHOS: Add native file browser via Asl (#2574)
MORPHOS: Add native file browser via Asl
2020-10-31 09:44:55 +01:00