Commit Graph
132129 Commits
Author SHA1 Message Date
elasota f9726095d8 MTROPOLIS: Fix wrong ID 2022-08-10 19:21:36 -04:00
ScummVM-Translations b098755faf I18N: Update translations templates 2022-08-10 23:16:47 +00:00
ScummVM-Translations ee4aaff026 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/
2022-08-10 23:16:45 +00:00
elasota 013209615b MTROPOLIS: Fix save-at-checkpoints and gameplay subtitles option IDs being swapped, rename gameplay subtitles option 2022-08-10 19:16:22 -04:00
ScummVM-Translations cfd2d7cea3 I18N: Update translations templates 2022-08-10 13:28:26 +00:00
athrxx 319e50fc35 SCUMM: (LOOM/VGA Talkie) - improve verb handling
- get rid of weird hackery in o5_verbOps
- make sure the verbs are properly restored after loading a savegame
2022-08-10 15:27:23 +02:00
athrxx d4ad27547e SCUMM: (v5/6/EGA) - disable palManipulate in EGA dithering mode.
The orginal does not have an EGA mode implementation for this. For INDY4 (which uses palManipulate) the EGA mode has been ditched completely in the full version. I have tried to make a palManipulate implementation for ScummVM, but it is just glitchy and ugly...
2022-08-10 15:27:19 +02:00
IlDucci 5c23ddc49d I18N: Update translation (Spanish)
Currently translated at 100.0% (1777 of 1777 strings)
2022-08-10 12:11:11 +00:00
VAN-Gluon 99c7f01387 I18N: Update translation (Japanese)
Currently translated at 100.0% (1777 of 1777 strings)
2022-08-10 11:37:28 +00:00
George Kormendi 9a59e8b3d8 I18N: Update translation (Hungarian)
Currently translated at 100.0% (1777 of 1777 strings)
2022-08-10 11:37:27 +00:00
elasota 09ea822d7c MTROPOLIS: Clean up unused variable 2022-08-10 04:57:34 -04:00
elasota 5fe6a4c7ad MTROPOLIS: Don't attempt to load TTF font if FreeType is disabled 2022-08-10 04:55:49 -04:00
Misty De Meo 1ed15b789d DIRECTOR: only record valid MacArchive members 2022-08-09 22:22:11 -07:00
Misty De Meo 208ebdc423 DIRECTOR: revert VWCR change
This reverts commit 706373079d.
2022-08-09 21:46:45 -07:00
Misty De Meo 706373079d DIRECTOR: fetch VWCR more safely
The previous version could end up with `r` assigned to `nullptr`,
leading to a crash when trying to free it.
2022-08-09 21:26:28 -07:00
ScummVM-Translations e01dbdeaa1 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/
2022-08-10 04:19:24 +00:00
djsrv fac330bec4 DIRECTOR: Don't fall back to getFirstResource if chunk not in KEY*
There doesn't seem to be any case in which we should fall back to
getFirstResource in D4 as found in #4172. So we can remove that fallback
and the associated warning.
2022-08-10 00:18:04 -04:00
djsrv 28b7b0b297 DIRECTOR: Handle collisions between movie and cast member IDs 2022-08-10 00:11:20 -04:00
ScummVM-Translations 80c4e9b578 I18N: Update translations templates 2022-08-10 01:55:12 +00:00
elasota f7a3e571f0 MTROPOLIS: Add subtitles support 2022-08-09 21:54:08 -04:00
D G Turner 50d70afe72 DIRECTOR: Fix GCC Compiler Warnings 2022-08-10 01:52:58 +01:00
ScummVM-Translations 202754c008 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/
2022-08-09 21:18:29 +00:00
Pragyansh Chaturvedi dbe1ae48d5 DIRECTOR: Use KEY* mappings instead of taking the first resource to load chunks 2022-08-09 16:18:15 -05:00
Pragyansh Chaturvedi 8f9da662cc DIRECTOR: Implement _movieChunk to store indices of chunks having 1024 as parent 2022-08-09 16:18:15 -05:00
Pragyansh Chaturvedi 766d74f8f6 DIRECTOR: Read KEY* resource before reading CAS* resource 2022-08-09 16:18:15 -05:00
ScummVM-Translations c1482136c6 I18N: Update translations templates 2022-08-08 20:09:06 +00:00
Lars Sundström 04b5507e24 DOCS: Add section about Game Controller support for iOS 2022-08-08 21:08:56 +01:00
Lars Sundström f9e1806b14 IOS7: Update README.md with support for external devices 2022-08-08 21:08:56 +01:00
Lars Sundström e7759ac0ef IOS7: Implement getHardwareInputSet to get connected devices
Trigger EVENT_INPUT_CHANGED when devices connects to make the ScummVM
engine update the hardware input set.
2022-08-08 21:08:56 +01:00
Lars Sundström d76bc708c0 IOS7: Add isConnected property to GameControllers 2022-08-08 21:08:56 +01:00
Lars Sundström 8d395fd790 IOS7: Add support for Extended Gamepad controllers
Add support for Extended Gamepad controllers. What defines extended
gamepad controllers can be found here:
https://developer.apple.com/documentation/gamecontroller/gcextendedgamepad

Support has been added for controlling the pointer position using the
left thumbstick, left clicks using the A-button and right clicks using
the B-button. Also the Main menu can be accessed using the Home/Menu
button.

The thumbstick values are received when changed, however if holding the
thumbstick in the same position the valueChangedHandler will not be
called. Therefore store the X- and Y-axis values and begin to poll
readings of the stored values for as long as the thumbstick is out of
the center position.
2022-08-08 21:08:56 +01:00
Lars Sundström f18305e715 IOS7: Add support for Joystick actions in GameController
Joystick actions are suitable for joysticks and gamepads where the
movements are updated by a controller stick. On gamepads that's usually
a thumbstick.

Add joystick events which can be triggered by each implemented
controller that should utilize the ScummVM Joystick events.
2022-08-08 21:08:56 +01:00
Lars Sundström c3513a151e IOS7: Add Mouse support using GameController framework
Add support for mouses using the GameController framework. This requires
iOS 14 and up. The trackpad on the magic keyboard to iPads is connected
as a mouse and of course other connected mouses.

The mouse movements triggers calls to the mouseMovedHandler code
block. The calls delivers delta movements on the X and Y axis from the
last pointer position. It doesn't keep track on where the pointer is in
the view. That's where pointerPosition property in the iPhoneView comes
into place.
2022-08-08 21:08:56 +01:00
Lars Sundström db2e15b3f1 IOS7: Factor out touch pointer handling to TouchController class
Move touch inputs to a TouchController class to move some logic from the
iPhoneView class. Only do this for touches on screen since connected
trackpads can generate touches as well. The latter ones are of type
UITouchTypeIndirectPointer while touches on screen are of type
UITouchTypeDirect. They are separated thanks to the preference key
UIApplicationSupportsIndirectInputEvents set to YES in Info.plist.
Without the preference above, there is no way to distinguish touches
from screen from a trackpad.
2022-08-08 21:08:56 +01:00
Lars Sundström 15507ebc50 IOS7: Add GameController base class
Add a GameController base class which handles user inputs from a
controller. The input is either a pointer move or a button action.
If the input is a pointer move, make sure that the move is within
valid coordinates in the game (respecting the resolution which is
most probably lower than the view resolution).
2022-08-08 21:08:56 +01:00
Lars Sundström 877d1ffa67 IOS7: Add pointerPosition property to iPhoneView class
Let the view keep the current pointer position as a property, allowing
it to be modified by controllers.
2022-08-08 21:08:56 +01:00
Lars Sundström 6387046666 IOS7: Make iPhoneView addEvent and getMouseCoords functions public
Squash with the one above
2022-08-08 21:08:56 +01:00
Lars Sundström f8604faf41 IOS7: Set view controller's preference to lock the pointer
Setting this property to true indicates the view controller’s preference
to lock the pointer, although the system may not honor the request.

For the system to consider locking the pointer:
The scene must be full screen, not in Split View or Slide Over, with no
other apps in Slide Over.
The scene must be in the UISceneActivationStateForegroundActive state.

The ScummVM iOS7 client fulfills the above so the pointer is locked.
Locking the pointer hides the OS cursor (the dot), however that's wanted
since the ScummVM engine draws its own pointer.
2022-08-08 21:08:56 +01:00
Lars Sundström 4133cf4b9f IOS7: Add GameController capability
Add the GameController framework to the project and enable support for
controller user interaction in the Info.plist file. This allows for
Game Controller compatible devices to notify the application when
connected.

Add GameController framework to configure and ports.mk if not using
Xcode to build the target.
2022-08-08 21:08:56 +01:00
Misty De Meo 0c09bba0f6 DIRECTOR: do not try to open dirs as files 2022-08-08 13:06:16 -07:00
Lothar Serra Mari b03ad83379 I18N: Update translation (German)
Currently translated at 100.0% (1775 of 1775 strings)
2022-08-08 12:28:43 +00:00
Donovan Watteau 7a4f09504a SCUMM: Quote Aric Wilmunder as to why the cliff puzzle was disabled in Monkey2 Towns
It appears that this was disabled on FM-TOWNS because of a vertical scrolling
limitation, but it appears to work fine, nonetheless. This is also what they
observed while doing the QA for the original PC version, and so they enabled
it again there.

Sources (with also some words from Dave and Tami!):

https://twitter.com/AWilmunder/status/1553827430699192320
https://www.timeextension.com/features/how-we-helped-solve-a-30-year-old-mystery-in-monkey-island-2-lechucks-revenge
2022-08-08 12:15:19 +02:00
ScummVM-Translations a87650fd28 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/
2022-08-08 09:54:13 +00:00
Eugene Sandulenko 98ae23913e I18N: Update translation (Ukrainian)
Currently translated at 100.0% (1775 of 1775 strings)
2022-08-08 09:54:07 +00:00
Eugene Sandulenko b9584ec7a2 I18N: Update translation (Russian)
Currently translated at 100.0% (1775 of 1775 strings)
2022-08-08 09:54:07 +00:00
Torbjörn Andersson 4451101b80 SCUMM: Restrict PC-Engine Loom loading screen delay to English version
The Japanese version shows only a blank screen, so it seems silly to
delay for that.
2022-08-08 11:53:59 +02:00
Torbjörn Andersson d51c9336b9 SCUMM: Add delay to "Turbo Technologies" PC Engine Loom loading screen
The original gets its delay - about 10 seconds, judging by the emulator
I tried - by loading resources. ScummVM does that in the blink of an
eye. Of course, we don't want the full delay. Just a tasteful one.
2022-08-08 11:53:59 +02:00
Marcel Souza Lemes 4090612fd7 I18N: Update translation (Portuguese (Brazil))
Currently translated at 100.0% (1775 of 1775 strings)
2022-08-08 09:37:27 +00:00
Misty De Meo 91bea3c973 DIRECTOR: add Secret Writer's Society 2022-08-07 21:40:38 -07:00
elasota e909861527 MTROPOLIS: Fix unrestricted unions still using memset 2022-08-07 22:06:18 -04:00