145658 Commits

Author SHA1 Message Date
Lars Sundström
00296153df IOS7: Add on-screen controls visibility configuration
Make it possible to configure the visibility of the on-screen control
buttons. If configured to not be shown both buttons are hidden and
disabled.
2023-10-10 20:55:48 +02:00
Lars Sundström
324569f206 IOS7: Add on-screen controls as UI buttons
Add two UI buttons which are placed to the top right corner over
the main view. The left button controls the current touch mode.
When pressed the button changes image to represent the new touch
mode using the mouse and touchpad assets added in previous commit.

The right button triggers the call to the main menu.
2023-10-10 20:55:48 +02:00
Lars Sundström
ac98432429 DISTS: IOS7: Add touch mode assets
The Android backend have two on-screen controls. One for configuring
the touch mode setting and one for accessing the main menu.
The on-screen controls are presented as two clickable buttons.
The image of the touch mode setting changes depending on which mode
that is configured.

Add the same images as assets to the iOS port. Unfortunately it's
not possible to share the same resource files becuase the assets
in Android are of type Android vector drawable.
iOS can handle vector based images, but only in form as a PDF.
There's a lot to read about this format but luckily there are free
converter tools between the formats.

Add converted versions to the iOS7 port.
2023-10-10 20:55:48 +02:00
Lars Sundström
a705235d1a IOS7: Add touch mode configurations in menu, 2D & 3D games
In the Android port it's possible to configure differnet touch modes
in ScummVM menus, 2D games and 3D games. Add the same possibility in
the iOS port. In Android it's possible to configure a touch based
game controller as well. That's not in scope for iOS in this commit
but can be added in the future.
2023-10-10 20:55:48 +02:00
Lars Sundström
8e9f54ad32 IOS7: Refactor touchpadModeEnabled to a TouchMode
Change the boolean parameter indicating if "touch mode" is enabled
or not to an enum which could contain several different touch modes.
2023-10-10 20:55:48 +02:00
Lars Sundström
2971029301 IOS7: Configure directional elements on virtual controller
The virtual controller can be configured with different directional
elements. A thumbstick button and Dpad buttons (left, right, down,
up) can be configured.
A user might want to configure which directional element they want
on the virtual controller. Create two different virtual controllers
which can be switched between depending on the setting in the
backend specific option dialog.
2023-10-10 20:55:48 +02:00
Lars Sundström
ee4319beb3 IOS7: Rename option "onscreen_controls" to "gamepad_controller"
The onscreen_controls options should refer to the touch mode setting
and main menu buttons as it's done in the Android backend. The
virtual gamepad controller used the onscreen_controls string to
identify the option. Change the identifier string to
gamepad_controller so onscreen_controller can be used for the buttons
to be added to the iOS backend.
2023-10-10 20:55:48 +02:00
Lars Sundström
fac56ff37d IOS7: Fix position of virtual gamepad controller
With the release of iOS 17 the fix for adjusting the position of
the virtual controller stopped working. On some devices with so
called safe areas, the action buttons could be placed outside the
screen.

Rework the fix to position the GCControllerView layer instead.
2023-10-10 20:55:48 +02:00
ScummVM-Translations
be645311e0 I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2023-10-10 17:15:05 +00:00
grisenti
93a03242e3 HPL1: Fix environment reflect shader 2023-10-10 19:14:17 +02:00
VAN-Gluon
db9960830b I18N: Update translation (Japanese)
Currently translated at 100.0% (2005 of 2005 strings)
2023-10-10 07:41:23 +00:00
Marcel Souza Lemes
c8e46bdecc I18N: Update translation (Portuguese (Brazil))
Currently translated at 100.0% (2005 of 2005 strings)
2023-10-10 07:41:21 +00:00
ScummVM-Translations
1fb63b2290 I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2023-10-09 23:46:38 +00:00
Eugene Sandulenko
fa3883c86e
GRAPHICS: MACGUI: Initial attempt to render tables in MacText 2023-10-10 01:45:36 +02:00
IlDucci
1d5fd85989 I18N: Update translation (Spanish)
Currently translated at 100.0% (2005 of 2005 strings)
2023-10-09 21:31:37 +00:00
ScummVM-Translations
fb0a425b82 I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2023-10-09 21:27:38 +00:00
grisenti
16f5a32a3a HPL1: Add workaround for sliding door bug 2023-10-09 23:27:12 +02:00
Purple T
e6b43960f4 I18N: Update translation (French)
Currently translated at 100.0% (2005 of 2005 strings)
2023-10-09 20:55:30 +00:00
ScummVM-Translations
bce1a0c011 I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2023-10-09 20:46:14 +00:00
Benjamin Funke
a60069a77f
GOB: Added version numbers to lit & playtoons game entries 2023-10-09 23:45:58 +03:00
ScummVM-Translations
afd6c4f288 I18N: Update translations templates 2023-10-09 20:04:35 +00:00
ScummVM-Translations
c1aead2a92 I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2023-10-09 20:04:33 +00:00
Thierry Crozat
cbf3daf4ab GUI: Fix missing Download buttons in classic theme layout
This made it impossible to switch to the Classic theme when DLC
are enabled.
2023-10-09 21:04:08 +01:00
Thierry Crozat
8f9cdff4a7 GUI: Add function in GuiManager to query if low-res GUI should be used
The same condition was scattered around in the code to switch between
normal labels and images and their lowres counterparts. Factorizing
that condition in a function will allow changing it easily.
2023-10-09 21:04:08 +01:00
Thierry Crozat
aa7572ef1e GUI: Fix testing width for lowres labels on HiDPI screens 2023-10-09 21:04:08 +01:00
VAN-Gluon
0cef82b0c1 I18N: Update translation (Japanese)
Currently translated at 100.0% (1999 of 1999 strings)
2023-10-09 19:41:21 +00:00
ScummVM-Translations
192c0d1645 I18N: Update translations templates 2023-10-08 22:23:52 +00:00
Eugene Sandulenko
0485f4a593
SDL: Added (disabled) Markdown table to the Keyboard help 2023-10-09 00:22:15 +02:00
Eugene Sandulenko
4fba78c13d
GRAPHICS: MACGUI: Render table cells in MacText 2023-10-09 00:22:15 +02:00
Eugene Sandulenko
b2a7bad618
GRAPHICS: MACGUI: Moved more methods int MacTextCanvas 2023-10-09 00:22:15 +02:00
Eugene Sandulenko
6004d955ea
GRAPHICS: MACGUI: Moved several methods to MacTextCanvas 2023-10-09 00:22:15 +02:00
Eugene Sandulenko
74910523c3
GRAPHICS: MACGUI: Turned MacTextCanvas into a class 2023-10-09 00:22:15 +02:00
Eugene Sandulenko
b2fb4dcb3b
GRAPHUCS: MACGUI: Moved more variables to MacTextCanvas 2023-10-09 00:22:14 +02:00
Eugene Sandulenko
382a1acfa7
GRAPHICS: MACGUI: Encapsulate text details in MacTextCanvas 2023-10-09 00:22:14 +02:00
AndywinXp
e7e18b79f7 SWORD1: Allow for immediate object look and combine
This stops George from walking or beginning its rest animation
when we perform an object look or combine on the top menu.
This is on the original code but we never implemented it...
2023-10-08 23:04:15 +02:00
AndywinXp
730af6eae6 SWORD1: Improve accuracy of menu bars handling
More specifically:
- Improve handling of menu bar fading during a palette fade;
- Fix _getOff not being handled if top menu was disabled.
2023-10-08 22:47:39 +02:00
grisenti
083a3f9211 HPL1: Disable non-portable features in AS library 2023-10-08 22:21:36 +02:00
grisenti
426609e01d HPL1: backport changes from newer AS library release
allows for non-portable features to be disabled
2023-10-08 22:19:10 +02:00
Lothar Serra Mari
10d1d32b89 I18N: Update translation (German)
Currently translated at 99.4% (1989 of 1999 strings)
2023-10-08 18:41:21 +00:00
AndywinXp
772df43094 SCUMM: Fix post load fixes for v3 games
This prevents higher than 1 values for _userPut and
_cursor.state on reload.
2023-10-08 20:03:29 +02:00
ScummVM-Translations
ea975e7e43 I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2023-10-08 17:35:23 +00:00
AndywinXp
066ffdba60 SCUMM: Fix previous commit on inventory slots 2023-10-08 19:35:07 +02:00
Purple T
19f8d7ca9e I18N: Update translation (French)
Currently translated at 100.0% (1999 of 1999 strings)
2023-10-08 12:44:14 +00:00
AndywinXp
1091e82ed3 SCUMM: Do not fill inventory gaps before v4
Verified from INDY3 and ZAK disasms
2023-10-08 12:04:19 +02:00
ScummVM-Translations
a432ac70df I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2023-10-08 06:36:44 +00:00
Ralph Caraveo
f720fba1aa GUI: Adds clear and cls alias for gui console debugger 2023-10-08 08:36:31 +02:00
ScummVM-Translations
0396a08b42 I18N: Update translations templates 2023-10-08 06:32:27 +00:00
ScummVM-Translations
cc3f23e6f1 I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2023-10-08 06:32:26 +00:00
Ralph Caraveo
e9b8394750 SCI: Provide additional errorString context on crash 2023-10-08 08:32:14 +02:00
Marcel Souza Lemes
91310caac5 I18N: Update translation (Portuguese (Brazil))
Currently translated at 100.0% (1999 of 1999 strings)
2023-10-08 04:41:21 +00:00