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
926ec07532
DS: Simplify the framebuffer code
2021-02-04 01:59:14 +01:00
Cameron Cawley
704deec031
DS: Improve text console support
2021-02-04 01:59:14 +01:00
Cameron Cawley
438c2d8714
DS: Rewrite event handling
2021-02-04 01:59:14 +01:00
Cameron Cawley
1f8dc4d204
DS: Replace some deprecated APIs
2021-02-04 01:59:14 +01:00
Cameron Cawley
f405be230e
DS: Clean up the main() function
2021-02-04 01:59:14 +01:00
Cameron Cawley
bf63cd76ea
DS: Get rid of consolePrintf
2021-02-04 01:59:14 +01:00
Cameron Cawley
aa3b16e88e
DS: Remove old audio code
2021-02-04 01:59:14 +01:00
Cameron Cawley
95ec266795
DS: Remove dead code
2021-02-04 01:59:14 +01:00
Cameron Cawley
bfba7f3e41
DS: Use libnds functionality for reading the touchscreen and buttons
2021-02-04 01:59:14 +01:00
Cameron Cawley
8c9eb8edc8
DS: List all available devices in the file browser
2021-02-04 01:59:14 +01:00
Cameron Cawley
ab577c7930
DS: Bundle the engine data files in romfs
2021-02-04 01:59:14 +01:00
Cameron Cawley
28086f4f8a
DS: Replace outdated filesystem code
2021-02-04 01:59:14 +01:00
Alexander Tkachov
8c16575035
CLOUD: Update Dropbox to use refresh_token
...
Dropbox is switching to short-lived access_token OAuth. This commit adapts Cloud::DropboxStorage to use refresh_token similarly to how other Storages do: by introducing a DropboxTokenRefresher.
It is used instead of plain CurlJsonRequest. It just checks if received JSON has access_token-related error and tries to refresh it, then repeats the original request transparently for the caller. If no such errors found, it just passes the info to the caller.
2021-02-04 01:57:48 +01:00
Fiodar Stryzhniou
dcdd302960
SYMBIAN: Global Main Menu called with asterisk.
2021-01-24 01:12:26 +01:00
Martin Gerhardy
f5164c9117
BACKENDS: search also for track_x and track_xx audio cd tracks
...
this allows us to use the unmodified version of dotemu lba1 enhanced music track paths
2021-01-23 02:54:58 +02: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
Le Philousophe
51e174f202
ALL: Mark link commands as make recursive
...
With this make gives access to its jobserver for linker which will use
it when linking with -flto=jobserver
2021-01-17 21:53:15 +01:00
Le Philousophe
72c464bf11
ALL: Use LD instead of CXX when linking
...
It will be more coherent.
LD is defined to CXX in configure script so it shouldn't change
behaviour.
2021-01-17 21:53:15 +01:00
Cameron Cawley
ade345b975
SDL: Fix crash with certain key combos on AmigaOS 4
2021-01-17 14:47:09 +00:00
antoniou
987becc529
ANDROID: Fix physical mouse behavior and allow multitouch hold and drag
...
Also added various comments to document behavior.
Minor JE_MULTI event (Fix concerned bad brackets code in the events.cpp for JE_MULTI (multiple fingers held down)
) fix and comments for mouse behavior
Allow onHover to catch the mouse events instead of OnTrackBallEvent()
Also the "system back" button is ignored for the Trackball too because we treat it as mouse in isMouse(e) check
Add multitouch handler class. Handling and early filtering of multitouch events is moved in the new class.
2021-01-10 22:10:29 +02:00
Hubert Maier
c4d0f4fa8e
AMIGAOS: Fixes to the automatic installation ( #2721 )
...
* AMIGAOS: amigaos.mk fixes
switch to AmigaOS makedir, as mkdir seems to break pathes/dirs
* AMIGAOS: Fix RM2AG.rexx
New tables have been introduced which start with a bunch of minus (-) signs.
That broke the script at exactly 3.10 (where the tables are) by leaving it.
Updated the complete condition.
* AMIGAOS: amigaos.mk
Fix some comment oversights
* AMIGAOS: RM2AG.rexx
Fix an oversight
* AMIGAOS: amigaos.mk
Last oversight
* AMIGAOS: Update RM2AG.rexx.in
2021-01-09 14:39:41 +01:00
Martin Gerhardy
d69e6f2e1e
COMMON: removed wild living semicolons
2021-01-03 13:06:23 +01:00
Cameron Cawley
7a6fcba9b6
SWITCH: Fix missing include
2021-01-02 14:21:28 +00:00
Cameron Cawley
f00b6fc195
SDL: Remove the Capabilities structure
2021-01-02 08:05:27 +01:00
Fiodar Stryzhniou
56e6982374
SYMBIAN: fix single backslash in path.
2021-01-01 00:07:25 +01:00
Fiodar Stryzhniou
68dc639f27
SYMBIAN: fix codacy warnings.
2021-01-01 00:07:25 +01:00
Fiodar Stryzhniou
124f8f8768
SYMBIAN: update build files.
...
Most project files autogenerated by python scripts now.
2021-01-01 00:07:25 +01:00
Fiodar Stryzhniou
d6ba093b81
SYMBIAN: fixed project files generator.
...
Removed unused file.
2021-01-01 00:07:25 +01:00
Fiodar Stryzhniou
f264c7b4e5
SYMBIAN: necessary project files auto generated now and and builded in parallel.
...
This done by supplied python package symbian_builder. This package also stores console output to build.err for errors and build.log for normal output.
2021-01-01 00:07:25 +01:00
Cameron Cawley
5082b89f34
AMIGAOS: Remove dependency on the codesets library
2021-01-01 00:06:25 +01:00
Eugene Sandulenko
c1cca8c869
ALL: Update copyright year
2021-01-01 00:00:18 +01:00
Vladimir Serbinenko
b8a5483047
HADESCH: Use separate file for translations
2020-12-17 09:49:18 +01:00
rsn8887
8b4cb4f745
BACKENDS: Fix GUI RGB cursor on PSP
2020-12-12 12:31:14 -06: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
Hubert Maier
f6c5d3168f
AMIGAOS: Update amigaos.mk
2020-12-07 19:15:19 +01: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
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
athrxx
86040f13b8
WIN32: add some CJK codepage name mappings
2020-10-30 21:36:29 +01:00
LMerckx
e7132897fd
GUI: Fix keymap of virtual keyboard if no GUI opened before ( #2555 )
2020-10-26 21:18:12 +01: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
antoniou
64eb1c0afe
ANDROID: A tentative handling of handling joystick control
...
Basically as a virtual mouse
2020-10-25 02:30:32 +03:00
antoniou
cff369a14b
ANDROID: Handle repeating keys for virtual keyboard
2020-10-24 16:04:11 +03:00
Eugene Sandulenko
2134a2dc72
BACKENDS: DIALOGS: Properly store last path in Gtk file browser
2020-10-23 00:32:21 +02:00
Cameron Cawley
7da4faf5a5
SDL: Fix the mouse being grabbed when returning from full screen
2020-10-22 17:03:53 +02:00
Matthew Duggan
e1bff1cbb3
ANDROID: Avoid crash if version no is not int
...
This can happen during development - shouldn't happen for any official release,
but even if it does let's just assume versions are different and default to
upgrading the config.
2020-10-20 20:41:38 +09:00
Laurent Merckx
237211a7fe
GUI: Fix display of virtual keyboard for OpenGL/OpenGLES
2020-10-19 16:40:36 +02:00
Alexander Reim
901032db9f
WII: Update linkscript and fix for linker false error message
2020-10-19 11:21:22 +02:00
Thierry Crozat
79b4e0ae21
MACOSX: Fix memory leak in dock tile plugin
2020-10-19 01:14:21 +01:00
antoniou
79acea3a18
ANDROID: use gradle's auto-align and set debuggable to false for release build
...
There were issues with manually aligning apks possibly due to upgrading gradle
The manual zipalign even though running with no fail message, would NOT align the apk properly anymore.
Command to manual verify alignment of an apk is:
Android/Sdk/tools/bin/zipalign -c -v 4 release/ScummVM-release-unsigned.apk
2020-10-18 13:42:44 +03:00
antoniou
80e32dbbc8
ANDROID: Do not use or show virtual keyboard when physical is connected
...
The toggle button will still be shown, but it won't show the in-app keyboard when pressed, unless the physical keyboard is disconnected
2020-10-17 22:00:41 +03:00
antoniou
7551d119e2
ANDROID: Fix crash when connecting or disconnecting physical keyboard
...
And also add some code to load and use the keyCharacterMap of the source device for the event
It is unclear if getUnicodeChar() already does this (loads the keyCharacterMap of the source device.
If it does, then the extra code is redundant.
2020-10-17 21:40:08 +03:00
antoniou
87a76f4a56
ANDROID: Fix shifted keys and key combos
2020-10-17 19:20:58 +03:00
LMerckx
9a35674cfc
Merge pull request #2536 from lmerckx/virt-mous-pos
...
GRAPHICS: Problem with virtual mouse position in an overlay when full…
2020-10-17 18:11:13 +02:00
BeWorld
cdc0ad802d
MORPHOS : Fixes clashing D in ptr.h with system defines and casting glGetString ( #2531 )
...
MORPHOS : Fixes clashing D in ptr.h with system defines and casting glGetString
2020-10-16 21:26:42 +02:00
antoniou
3f3ad0b2ca
ANDROID: Remove keyUp and keyDown overrides from EditSurfaceView
...
They were causing some nasty loops with certain keys and are largely redundant since we already had a events manager for keys
2020-10-16 21:39:54 +03:00
Paweł Kołodziejski
bb388295a4
BACKENDS: drop setDefaultFeatureState() usage, it's not needed
2020-10-16 20:17:29 +02:00
Cameron Cawley
5c255b3aa9
WIN32: Add override and final keywords
2020-10-16 18:32:08 +01:00
antoniou
48d6ff8d6b
ANDROID: Set flag to leep screen on
2020-10-16 20:29:18 +03:00
antoniou
940b87000d
ANDROID: Merge ontouch from EditSurfaceView into ScummVMEventsBase
...
Also fix a bug with back button not removing the keyboard if it is shown without clicking on a text input field
2020-10-16 20:08:52 +03:00
Cameron Cawley
70aebaca5b
WII: Add override and final keywords
2020-10-16 17:46:43 +01:00
Fiodar Stryzhniou
6a7340f744
SYMBIAN: sync with 2.2.0 release.
...
Added new project files, build fixes.
2020-10-16 17:06:05 +02:00
antoniou
4a9b6d12ac
ANDROID: Use gradle 6.7 and plugin 4.1.0
...
Also remove ndk.dir from local.properties since it is getting deprecated
Gradle will only use the info (ndkVersion) in gradle.build. Possibly ndkPath too, but we probably don't need that, since ndk is within the sdk folder (default location)
2020-10-15 19:06:33 +03:00
antoniou
4d9ed8351b
ANDROID: Use a in-app keyboard instead of system
...
Keyboard was ported over from our SDL port which used https://github.com/pelya/commandergenius/tree/sdl_android/project
Pending optimizations, floatable/draggable implementation and a few bug fixes
We are using a local copy and slightly modified version of KeyboardView and Keyboard (and related resources).
since the android KeyboardView widget will be deprecated in API 29.
The copies are taken from the AOSP, as per the recommendation from Android Developers.
2020-10-15 18:21:52 +03:00
Cameron Cawley
a24194b4c9
BACKENDS: Add missing function to ModularGraphicsBackend
...
Fixes Trac #11778
2020-10-15 12:56:45 +01:00
Cameron Cawley
a42188fddd
SDL: Remove unused variable
2020-10-15 12:54:41 +01:00
Cameron Cawley
3e7948cf6a
ANDROID3D: Get it working again ( #2529 )
2020-10-15 09:59:11 +02:00
Cameron Cawley
8c90d4e498
ANDROID: Add override keywords
2020-10-14 17:48:29 +01:00
Cameron Cawley
b6a8fc5dd2
ANDROID: Minor cleanup
2020-10-14 17:47:22 +01:00
Paweł Kołodziejski
a37173807f
CONFIGURE: More work on opengl flags
2020-10-14 18:37:17 +02:00
Cameron Cawley
d968d22eb1
SDL: Refactor grabbing and locking the mouse ( #2522 )
2020-10-14 08:03:31 +02:00
Paweł Kołodziejski
9abb3f5111
BACKENDS: Another attempt to fix opengl flags
2020-10-14 07:45:56 +02:00
Paweł Kołodziejski
e3cd0da0df
BACKENDS: Attempt to fix buildbot targets
2020-10-14 07:06:18 +02:00
Paweł Kołodziejski
12806cfdd5
BACKENDS: Remove 3d SDL surface gfx manager.
2020-10-13 23:06:37 +02:00
Paweł Kołodziejski
723ffa111b
BACKENDS: Remove accel3d flag completely.
2020-10-13 23:00:19 +02:00
Paweł Kołodziejski
070d274bf7
BACKENDS: Drop getScreenPixelBuffer() as no longer needed. ( #2521 )
2020-10-13 22:30:39 +02:00
Cameron Cawley
4284d9754f
OPENGL: Remove SDL specific code from OpenGLGraphicsManager
...
The "OSystem::kFeatureFullscreenToggleKeepsContext" feature is already handled in the OpenGLSdlGraphicsManager subclass.
2020-10-13 20:45:32 +01:00
Cameron Cawley
26cd7d44e2
SDL: Implement lockMouse() in the 2D graphics managers ( #2517 )
2020-10-13 21:31:10 +02:00
Paweł Kołodziejski
59ba9cb715
SDL: Do not allow toggle fullscreen for backends which can lose opengl context used for 3d games. ( #2514 )
2020-10-13 20:27:58 +02:00
Paweł Kołodziejski
85b0baa199
SDL: Sync portion code for 2D->3D gfx manager ( #2515 )
2020-10-13 17:31:47 +02:00
antoniou
7bd9b1ac3d
ANDROID: Reduce lint warnings and offer more drawable sizes
...
Also slightly tweak position and size of keyboard icon
2020-10-13 14:06:07 +03:00
Cameron Cawley
0b7085fbea
SDL: Ensure that SDL is initialized before creating the window object
2020-10-11 22:45:38 +01:00
BeWorld
cab7cd49c4
MORPHOS : Fixed for int vs int32 types for AmigaOS/MorphOS ( #2510 )
...
MORPHOS : Fixed int to int32 and some functions not available on AmigaOS/MorphOS
2020-10-11 18:24:36 +02:00
Alexander Reim
d40d84e80a
WII: Return to the system menu instead of a black screen on exit
2020-10-11 11:51:02 +02:00
Thierry Crozat
7cf5cefb06
IOS7: Fix transparency with RGB cursors using a key color
2020-10-11 03:56:11 +01:00
Thierry Crozat
d43d86f3c0
IPHONE: Fix transparency with RGB cursors using a key color
2020-10-11 03:55:32 +01:00
Thierry Crozat
3fc7fc285e
IOS7: Add override keyword for OSystem_iOS7 functions
2020-10-11 02:24:31 +01:00
Thierry Crozat
271713cf69
IOS7: Fix reimplementation of OSystem::setGraphicsMode
...
The signature of the function changed during the ResidualVM merge,
but the iOS7 backend was not updated and still used the old signature.
2020-10-11 02:18:05 +01:00
Thierry Crozat
e83586006a
IOS7: Remove include that is no longer needed
...
This fixes the compilation because of common/types.h that defines
YES and NO which are already defined in Objective-C.
2020-10-11 01:44:39 +01:00
Cameron Cawley
8594f25b26
BACKENDS: Add comment to describe the purpose of BaseBackend
2020-10-10 18:00:17 +02:00
Cameron Cawley
196a25dd30
BACKENDS: Add missing override keywords
2020-10-10 18:00:17 +02:00
Cameron Cawley
5a47b09455
BACKENDS: Move default implementations of getScreenPixelBuffer into BaseBackend
2020-10-10 18:00:17 +02:00
rsn8887
d0fd0f1151
BACKENDS: Implement getScreenPixelBuffer() for PSP
2020-10-10 09:48:50 -05:00
rsn8887
28a1f729ff
BACKENDS: Fix reading window height in PSP2 events
2020-10-10 09:20:59 -05:00
antoniou
583c04ed15
ANDROID: Replace deprecated methods and fix some Code analyze warnings
2020-10-10 15:18:54 +03: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
e20bddb738
BACKENDS: Attempt to fix PSP and SWITCH ports. Use proper class cast
2020-10-10 13:55:27 +02:00
Eugene Sandulenko
737473895f
DC: Fix compilation
2020-10-10 10:22:41 +02:00
Matthew Duggan
c71ac4748b
TTS: Fix compiler warning
2020-10-10 15:11:49 +09:00
Matthew Duggan
e3a8524818
MACOSX: Remove unused variable
2020-10-10 15:03:08 +09:00
Eugene Sandulenko
bc4a1aed62
3DS: Fix compilation
2020-10-10 02:18:17 +02:00
Eugene Sandulenko
770d8b0b92
NDS: Fix compilation
2020-10-10 02:03:34 +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
Eugene Sandulenko
385d8ad997
N64: Fix compilation
2020-10-10 00:18:06 +02:00
Eugene Sandulenko
6b15c6102b
WII: Fix compilation
2020-10-10 00:16:40 +02:00
Eugene Sandulenko
806ab17c1a
IPHONE: Fix compilation
2020-10-10 00:13:35 +02: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
Cameron Cawley
f59091c1e4
ANDROID: Use the input enums from the system headers
2020-10-09 07:57:08 +03:00
Pawel Kolodziejski
1120da8341
ALL: Sync with ScummVM, rev: 1f25347dd5
2020-10-08 23:38:29 +02:00
antoniou
8d261d559e
BACKENDS: NETWORKING: Add fringe case for hasPermittedPrefix() return clause
...
Android port was failing because the normalized prefix ended in '/' and the normalized path was identical except for the trailing '/'
2020-10-07 23:44:08 +03:00
antoniou
e25ac0bc55
ANDROID: Correctly init config keys and reflect values on GUI
...
Also comments added about how this process works. Fixes bug #11743
2020-10-07 15:26:31 +03:00
Pawel Kolodziejski
eb83a03208
EVENTS: Added relative mouse position in virtual mouse
2020-10-06 15:39:07 +02:00
Pawel Kolodziejski
0e42d4f504
ALL: Cleanup guards names. Fixed compilation.
2020-10-05 21:20:43 +02:00
Pawel Kolodziejski
c4b9f966b6
GRIM: Drop side textures feature from backend.
2020-10-05 19:09:58 +02:00
Pawel Kolodziejski
b05551ec2d
BACKEND: Drop bpp param. it was used for grim only.
2020-10-05 14:41:36 +02:00
Pawel Kolodziejski
6abfc506fe
BACKENDS: Remove isMouseLocked(). It was part of old events backend.
2020-10-05 14:31:44 +02:00
Pawel Kolodziejski
2ff565cf32
ANDROID: Rename Android folder as it's specific for ResidualVM
2020-10-05 12:35:32 +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
4631c0e2ed
ALL: Sync with ScummVM rev: a4002bdeee
2020-10-04 23:59:26 +02:00
Donovan Watteau
a1d930209a
SDL: Prefer OpenGL over Metal rendering on macOS
...
SDL 2.0.10 and above favors Metal over OpenGL rendering on macOS, but
this currently causes blurriness issues on Retina displays.
Going back to OpenGL rendering works around this bug for now.
Users can override this with the SDL_RENDER_DRIVER environment variable.
c59bf95ba8
and 70f79d3df8
are still a requirement to
work around this bug, too.
Bug #11430 .
2020-10-04 21:11:54 +01:00
antoniou
01c622b807
ANDROID: Add external app path if available to search path
2020-10-04 20:28:27 +03:00
Pawel Kolodziejski
ff0f619b1e
ALL: Drop not updated file
2020-10-04 16:10:09 +02:00
Pawel Kolodziejski
0e8f2c96f3
EVENTS: Missed port change for relative mouse position
2020-10-04 08:08:23 +02:00
Pawel Kolodziejski
c12503a869
Synced with ScummVM rev: f6c5fed173
2020-10-03 18:14:12 +02:00
Pawel Kolodziejski
6120146fab
BACKENDS: Fixed dynamic casting
2020-10-03 17:54:52 +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
antoniou
5613c50fb3
ANDROID: Set AC_BACK to be the default map for Skip action
...
If Skip is not otherwise mapped by the game engine explicitly
2020-10-03 12:26:38 +03:00
Pawel Kolodziejski
fc0638a4db
BACKENDS: Remove not used PS3 code
2020-10-02 20:02:15 +02:00
Pawel Kolodziejski
b1fcc7cb89
BACKENDS: Remove not used code
2020-10-02 20:01:17 +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
antoniou
319149343f
ANDROID: Reduce more Lint warnings
...
Unused resources, mem leak for event handler, overried View's performClick for accessibility
2020-10-02 19:50:30 +03:00
Pawel Kolodziejski
a38148e428
BACKENDS: Make unique change id on startup
2020-10-02 15:44:34 +02:00
Alexander Reim
c0062fe761
WII: Fix compilation with flag: disable-16bit
2020-10-02 15:00:57 +02:00
Pawel Kolodziejski
e88cb497ff
BACKENDS: Fixed compilation under Xcode
2020-10-02 14:16:43 +02:00
antoniou
50eb038312
ANDROID: Comment about related bug report for transient config options
2020-10-02 12:42:06 +03:00
antoniou
50d2ae3b4c
OPENGL: Use nearest neighbor scaling for overlay UI when filtering is disabled
...
User choice in launcher's Option, Graphics Tab detemines whether filtered graphics should be used
This now affects the ScummVM UI (it was previously set to not affect the UI overlay for OPENGL)
2020-10-02 12:38:46 +03:00
D G Turner
3c96f78ec5
KEYMAPPER: Fix GCC Compiler Warning for Signed vs Unsigned Comparison
2020-10-02 00:05:07 +01:00
Alexander Reim
1994249ef2
WII: Add support for WiiFilesystemNode::createDirectory()
2020-10-01 13:03:52 +02:00
antoniou
bf54ea041b
ANDROID: Fix for buggy backspace behavior in TYPE_NULL inputType
...
Code taken from https://stackoverflow.com/a/19980975
2020-10-01 00:06:20 +03:00
antoniou
303d4681f0
ANDROID: Send keys to app as they are typed
...
Fixes issue with bad system keyboard input to in-game fields
2020-10-01 00:06:20 +03:00
antoniou
138295f617
ANDROID: Minor optimization in clause evaluation for bugfix for 2.2.1beta1
2020-09-30 20:56:39 +03:00
antoniou
7e08306c66
ANDROID: Fix bug in 2.2.1 beta ignoring some config locations
...
This is a bug fix specific for 2.2.1 beta1
If an old config is found in the extra locations, it will be reused and replace the existing config. Also in that case, the extra locations will be scanned for saved games to copy to our default save location.
2020-09-30 20:03:03 +03:00
Pawel Kolodziejski
6f69981904
BACKENDS: Drop launcherInitSize() and use 2d backend gfx manager for launcher.
2020-09-30 16:52:44 +02:00
antoniou
4ea7455e09
ANDROID: Splash screen and additional locations to search for config and saves
...
The splash screen is an addition that was "forced" by the need to allow for permission granted to access external physical storage
2020-09-29 22:10:56 +03:00
Pawel Kolodziejski
d0713f1072
BACKENDS: Fixed Android compilation
2020-09-29 17:00:04 +02:00
Pawel Kolodziejski
3e453e0240
BACKENDS: Attempt to fix Android compilation
2020-09-29 15:59:26 +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
2b248a85bf
ALL: Minimise differences with ScummVM
2020-09-29 07:57:40 +02:00
Pawel Kolodziejski
a8b53f8f21
ALL: Avoid class names clashing with ScummVM classes
2020-09-28 18:47:10 +02:00
antoniou
aa5a490bc7
ANDROID: Reduce Lint warnings
2020-09-28 17:55:04 +03:00
Pawel Kolodziejski
1221355b31
BACKEND: Cleanup GFX SDL backend after sync with ScummVM
2020-09-28 00:36:56 +02:00
Pawel Kolodziejski
5487e5e718
ALL: Sync with ScummVM rev: e08ba6ff14
2020-09-27 19:45:22 +02:00
Pawel Kolodziejski
823c075b0e
ANDROID: Another attempt to fix compilation.
2020-09-27 17:15:12 +02:00
Pawel Kolodziejski
13331b623f
ANDROID: Fixed compilation on Android.
2020-09-27 17:08:06 +02:00
Pawel Kolodziejski
01120c9203
BACKENDS: A little more change in layout for 3D GFX manager
2020-09-27 16:41:23 +02:00
Cameron Cawley
5cb84a437d
SDL: Clip the coordinates sent by mouse events
2020-09-27 00:32:01 +01:00
antoniou
f6d1ab66b7
ANDROID: Add comments and code to reinforce hiding of system cursor
...
For the case when an external mouse is connected to the device
The code still only fixes the issue for devices runnng Android 7.0 or newer
2020-09-26 22:03:20 +03:00
Alexander Reim
92e37fd810
WII: File system access performance optimization
...
Games load up to 30 times faster. For example, the Zork games took up to 10 minutes to start. Now they load in under 20 seconds. Similar improvements can be seen in the massadd feature.
2020-09-26 17:54:50 +02:00
antoniou
8a87db94de
KEYMAPPER: remap timeout (ms) can be set from config
...
Config key is "remap_timeout_delay_ms", min value is 3000
2020-09-26 17:00:57 +03:00
Pawel Kolodziejski
490bedb584
ALL: Fixed some compiler warnings while using c++11
2020-09-25 18:51:18 +02:00
Pawel Kolodziejski
5c311ac905
ALL: Cleanup after sync
2020-09-25 14:48:20 +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
677c072c3c
BACKEND: Rename SDL gfx backends to be unique for ResidualVM
2020-09-24 20:22:49 +02:00
Alexander Reim
34534484b4
WII: Fix warnings
2020-09-24 11:45:40 +02:00
Alexander Reim
c4262682dc
WII: Fix transparency of RGB cursors
2020-09-24 11:26:21 +02:00
antoniou
75826f80fc
ANDROID: Comment out the logfile code
...
Since currently the logFile stuff are specific to SDL_BACKED
2020-09-24 10:14:02 +03:00
antoniou
c45dfd4a2f
ANDROID: Migrate old save files
...
More testing pending
2020-09-24 01:50:45 +03:00
Pawel Kolodziejski
b7bcc287d6
IMAGE: Eliminate code difference by using flip operation from surface class.
2020-09-23 23:52:13 +02:00
Pawel Kolodziejski
ada0dd648c
ANDROID: Attempt to fix Android compilation
2020-09-23 22:44:49 +02:00
Pawel Kolodziejski
bfe58d3c77
ALL: Synced with ScummVM - rev: d4db631f9b
2020-09-23 21:52:10 +02:00
Bastien Bouclet
fb39b94384
3DS: Start ScummVM in a separate thread
...
Allows to have a larger stack than that of the main thread.
Fixes #11717
2020-09-20 16:33:45 +02:00
antoniou
9e35ce0e52
ANDROID: Add internal app path to SearchSet
...
Also have it with higher priority than the Android's assets structure which is too slow
Fixes a bug whereby a large font.dat file was very slow to be accessed during launch (for the modern themes), due to it being accessed from the Assets rather than the file system
2020-09-18 15:12:16 +03:00
antoniou
34b6a89967
ANDROID: Remove unnecessary check for isFile in a sideUpgrade
2020-09-17 23:56:32 +03:00
antoniou
30b7c882e8
ANDROID: Copy asset files in internal app folder
2020-09-17 23:25:23 +03:00
Hubert Maier
962a9c6f07
AMIGAOS: Indented comments are now supported
...
Since when i don´t really know, might be for some time. I just tried with the scummvm-tools .mk and they work as intended.
Hope i don´t break anything else
2020-09-17 22:14:20 +02:00
antoniou
6906bba959
ANDROID: Revert chnage for long press AC_BACK handler
...
Huawei Android 9 seemed to not be working ok (or at all) with the change
2020-09-16 20:34:49 +03:00
antoniou
e751b30691
ANDROID: Upgrade to 2.3 version re-using any old configuration file
2020-09-16 15:25:53 +03:00
Bastien Bouclet
0155bb06af
KEYMAPPER: Fix comparing mappings for equality
...
Fixes clearing default action mappings.
2020-09-15 22:42:34 +02:00
Bastien Bouclet
a977dfb2d1
KEYMAPPER: Enable the GUI keymaps while the virtual keyboard is visible
2020-09-15 22:42:34 +02:00
Bastien Bouclet
1c5f923083
PSP2: Simplify the filesystem code
...
The Vita SDK gained support for dirent at the end of 2017. There is no
need to have our own version anymore.
DrivesPOSIXFilesystemFactory allows to specify the contents of the
pseudo-root file system node. There is no need to hardcode them in
posix-fs.cpp anymore.
2020-09-15 07:13:00 +02:00
rsn8887
3a5690ebb4
KEYMAPPER: Fix virtual mouse bound in small rectangle in vkeybd
2020-09-14 20:58:37 -05:00
Cameron Cawley
31be074893
BACKENDS: Add a function to return if the overlay is visible
2020-09-15 00:09:11 +02:00
antoniou
30b8842885
ANDROID: Use custom handler for long key press detection
...
To avoid possible mem leaks (see "This Handler Class Should Be Static Or Leaks Might Occur” warning
Also a few optimizations based on recommendations from the Android Studio error highlighting/fix suggestions (F2)
2020-09-14 16:16:46 +03:00
antoniou
bd95672815
ANDROID: get version info (wip) and use androidx for annotations
...
Also androidx is replacing the Android Support library so it's best to use this one
According to https://developer.android.com/jetpack/androidx
AndroidX is a major improvement to the original Android Support Library, which is no longer maintained. androidx packages fully replace the Support Library by providing feature parity and new libraries.
AndroidX replaces the original support library APIs with packages in the androidx namespace. Only the package and Maven artifact names changed; class, method, and field names did not change.
2020-09-14 09:32:37 +03:00
Cameron Cawley
e918a4b16f
OPENPANDORA: Fix copy/paste error
2020-09-13 22:20:31 +01:00
Eugene Sandulenko
6a66bffec8
GCW0: Disable GLK engine
2020-09-13 17:55:15 +02:00
Cameron Cawley
c8c120d839
GPH/OPENPANDORA: Minor cleanup
2020-09-13 14:58:45 +01:00
Thierry Crozat
53bb50c906
IOS7: Do not overwrite user saves when saving state
2020-09-13 00:21:36 +01:00
Thierry Crozat
c50ffd74c6
IOS7: Properly restore state when the process has been terminated
2020-09-13 00:21:36 +01:00
Thierry Crozat
63627dc26d
IOS7: Save state as a background task when entering background
...
This is better than using an hardcoded delay for two main reasons.
The first one is that the application can terminate as soon as it
has finished saving the state, and the second one is that it will
still work if saving the state takes longer than the delay that
was hardcoded.
2020-09-13 00:21:35 +01:00
Thierry Crozat
28e9910666
IOS7: Implement game state save/restore when switching tasks
...
This only works if the running engines can save the game at the
time when ScummVM goes to the background.
This should partially fix bug #7871 .
2020-09-13 00:21:35 +01:00
Thierry Crozat
7c812a52f1
IOS7: Call pauseEngine() when suspending the application
2020-09-13 00:21:35 +01:00
Pawel Kolodziejski
15a759370a
ALL: Synced with ScummVM - rev: bdbbcd81ae
2020-09-12 19:38:50 +02:00
Pawel Kolodziejski
522d45c047
SDL: Added missed slow motion modifier
2020-09-12 19:06:01 +02:00
Thierry Crozat
bdbbcd81ae
OSX: Fix taskbar update
...
This was broken sometimes between release 1.8.1 and 1.9.0. I did not
track the change that broke it, but it looks like the code was trying
to get the DockTile object too early causing it to be nil.
2020-09-12 18:01:15 +01:00
Pawel Kolodziejski
c4a605505e
ANDROID: Fixed compilation
2020-09-12 15:16:46 +02:00
Cameron Cawley
02c09a8ed6
WIN32: Replace strToInt with wcstol
2020-09-12 11:59:23 +02:00
Cameron Cawley
da978f3a2f
WIN32: Simplify string conversion
2020-09-12 11:59:23 +02:00
Fiodar Stryzhniou
80c29d1c94
Symbian: fix incorrect return type in SymbianActions::actionName().
...
Symbian: silence more warnings from SDK headers.
Symbian: add new project files.
2020-09-12 01:00:36 +02:00