144653 Commits

Author SHA1 Message Date
elasota
c9ad0a2040 MTROPOLIS: Fix black chroma key not working 2023-08-21 19:16:53 -04:00
Walter Agazzi
c8506d1ce9 AGS: Add detection entries for some itch.io games
+ update mybigsister remastered entry
2023-08-22 00:28:42 +02:00
Abhinav Chennubhotla
dc2a5624c0 BASE: Dump engine desc in detection entry metadata 2023-08-21 15:40:25 +02:00
Abhinav Chennubhotla
ad8be9d8d5 BASE: Add quotes to metadata while exporting 2023-08-21 15:40:25 +02:00
Abhinav Chennubhotla
28401ee7c0 BASE: Export header in dumpAllDetectionEntries() 2023-08-21 15:40:25 +02:00
AndywinXp
9b81a24ada SCUMM: HE (Sound): Fix Coverity issues
Issues fixed:
CID 1230332
CID 1518552
CID 1518553
CID 1518554
CID 1518555
CID 1518556
CID 1518560
CID 1518561
CID 1518562
2023-08-21 14:25:52 +02:00
ScummVM-Translations
a2dc896ba6 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-08-20 22:42:21 +00:00
Misty De Meo
f0461603ba
DIRECTOR: add bluesango 2023-08-20 15:42:01 -07:00
ScummVM-Translations
704a2a7069 I18N: Update translations templates 2023-08-20 20:39:04 +00:00
Lars Sundström
2df8aee335 IOS7: Handle all deletes in UITextInput proto func deleteBackward
The UITextField protocol function:
"textField: shouldChangeCharactersInRange: replacementString:"
was sometimes called with empty replacementStrings on key press
releases on keyboard. That triggered a backspace keyboard char to
be sent which caused problems when trying to remap actions to
other keyboard keys. No matter which key you were pressing the
resulting key would always be the backspace key.

Only handle text input using the UITextField protocol function
when the replacement string isn't empty. Handle all deletes through
the UITextInput protocol function "deleteBackword".

This has been tested in both cases when the UITextField is empty
(but GUI text field has text) and when the UITextField has text
(which has been added using the SoftKeyboard).
It has also been tested on Apple TV where a software keyboard is
shown with a big text field.
2023-08-20 21:38:52 +01:00
Lars Sundström
8576e9e1f3 IOS7: Register inputs based on capabilities
Instead of register input based on if hardware is connected or not
register input based on backend capabilities.
Mouse support is default supported through touch events on screen
(iOS) or touch on controller (Apple TV), and through connected
mouse hardwares. Gamepad controllers are supported from iOS 14 and
later.

Register mouse and gamepad input based on above capabilities to be
able to map actions to buttons on these input devices.

Keyboard support is to be added but not in this commit.

Remove the "isConnected" methods for each input and change the same
method for game controllers to a "isSupported" function to deal
with the iOS version support.

Remove the sending of the EVENT_INPUT_CHANGED event due to the
above reasons. The overide of the isConnected property function is
also removed due to this reason. It caused problems that key
mappings were reset on connections/disconnections.
2023-08-20 21:38:52 +01:00
Lars Sundström
7c96a7ff76 IOS7: Fix gamepad controller dpad button presses
The gamepad controller dpad button vaule change handler callback,
also called for the virtual controller dpad buttons, sent events
also for buttons not being pressed or released.
E.g. when the left dpad button was pressed an event was sent,
JOYSTICK_BUTTON_DPAD_LEFT with value 1 meaning it's pressed DOWN.
However, the other dpad buttons also did send their events but with
value 0 meaning UP. This had no impact for most of the games but
"The Griffon Legend" handles the dpad events a bit different where
the character is kept moving when the button is released. It meant
that the engine was triggering movements on both the event
EVENT_CUSTOM_ENGINE_ACTION_START and EVENT_CUSTOM_ENGINE_ACTION_END.

This commit changes the dpad button input handling so it remembers
the current state for UP/DOWN and LEFT/RIGHT. This ensures that only
the button that changes state is triggering an event.
2023-08-20 21:38:52 +01:00
Lars Sundström
0d77f8a262 IOS7: Delete deprecated and unused event variables
These class member variables aren't used anymore.
2023-08-20 21:38:52 +01:00
Lars Sundström
77d56abc66 IOS7: Fix scenario where "right button" was kept pressed
The UITapGestureRecognizer is used to identify taps with two fingers,
sending an ESC key event. The UITapGestureRecognizer will not stop
touchesBegan from being called when doing a touch with two fingers.
Touching with two fingers when _mouseClickAndDragEnabled is enabled
will send a EVENT_RBUTTONDOWN.

But if doing a double tap the UITapGestureRecognizer with two fingers
will cancel the touchesEnded from being called meaning that no event
EVENT_RBUTTONUP will be sent to the engine. In some engines, e.g.
lure, this will cause problems since the engine might wait for mouse
clicks to be released before processing other events.

Fix the scenario above by introducing a delay of sending the event
EVENT_RBUTTONDOWN. If the UITapGestureRecognizer is triggered before
this timeout it will cancel the EVENT_RBUTTONDOWN by overwriting the
_queuedInputEvent with the ESC key event.

This commit also deletes the legacy implementation handling double
tap with two fingers to trigger an ESC event.
2023-08-20 21:38:52 +01:00
yoshisuga
30b121f4e9
IOS: Support keyboard as hardware input so that controls can be mapped by default 2023-08-20 21:30:52 +01:00
Timo Mikkolainen
fae99fc976 I18N: Update translation (Finnish)
Currently translated at 100.0% (1977 of 1977 strings)
2023-08-20 19:41:01 +00:00
Walter Agazzi
0a6991b586 AGS: Fix for inventory icons in old games
This fixes a regression in some old games such as ben jordan 3
Partially from upstream df30fc1edd30d4f334addaf7883286e745dea2c3
(branch 2.6.1)
2023-08-20 14:18:15 +02:00
athrxx
0201155544 SCUMM: (MI2) - fix assert triggering when pressing F5
This happens on screeens with an xstart offset (= a screen
that is wider than 320 pixels, after some scrolling) but only
when there is dialogue text on screen when pressing F5.
Can be tested right at the start on the bridge. Just right-
click the sign, then press F5...
2023-08-19 22:19:41 +02:00
athrxx
1f75b61242 KYRA: (EOB II/ZH) - add some translated strings
(thanks to kane159)
2023-08-19 22:19:33 +02:00
Miro Kropacek
0018fa3434 GOB: Use buffered stream for chunk unpacking
This leads to a massive speedup on atari: between the credits screen and
the actual game loading takes 3m30s (!), with this change it takes 5s (!!!)
2023-08-19 23:22:23 +08:00
Walter Agazzi
24ee9f437f WINTERMUTE: Add detection entry for ghostsheet DEU
Also known as S.C.A.R.E.
2023-08-19 16:32:46 +02:00
neuromancer
86fd7665af FREESCAPE: group-related fixes 2023-08-19 13:28:38 +02:00
neuromancer
39f2deaa35 FREESCAPE: improved group animations 2023-08-19 13:28:38 +02:00
neuromancer
3452715597 FREESCAPE: corrected incorrect parsing of group objects in dark 2023-08-19 13:28:38 +02:00
Benjamin Funke
db6e05128d GOB: added version numbers for Croustibat 2023-08-18 22:28:28 +02:00
Benjamin Funke
3f7e598fc4 GOB: added version numbers for Gobliins 3 2023-08-18 22:28:28 +02:00
Benjamin Funke
67dfa0a9c5 GOB: added versionnumbers for Gobliins 2 games 2023-08-18 22:28:28 +02:00
ScummVM-Translations
72d34cf6c7 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-08-18 20:22:15 +00:00
Eugene Sandulenko
a472f0766c
NEWS: Mention HE sound rewrite 2023-08-18 22:21:56 +02:00
ScummVM-Translations
bd71d14736 I18N: Update translations templates 2023-08-18 20:20:57 +00:00
AndywinXp
97de0d932d SCUMM: HE (Sound): Fix compiling when HE engine is not enabled 2023-08-18 22:20:45 +02:00
AndywinXp
4aa6c3d34a SCUMM: HE (Sound): Remove workaround for looping sounds 2023-08-18 22:20:45 +02:00
AndywinXp
3bd897e26f SCUMM: HE (Sound): Fix const warning
...hopefully.
2023-08-18 22:20:45 +02:00
AndywinXp
65655e9908 SCUMM: HE (Sound): Fix update of age member of _heChannel 2023-08-18 22:20:45 +02:00
AndywinXp
989eda7b08 SCUMM: HE (Sound): Show message box for dev code path
Also, changed error to warning, if we already have a message
box, having an error is a little bit overkill...
2023-08-18 22:20:45 +02:00
AndywinXp
3ec70bf972 SCUMM: HE (Sound): Address code review comments 2023-08-18 22:20:45 +02:00
AndywinXp
3b4f57d33f SCUMM: HE (Sound): Change position of he_mixer.o in module.mk 2023-08-18 22:20:45 +02:00
AndywinXp
9b4cba48c9 SCUMM: HE (Sound): Slightly simplify lipsync code 2023-08-18 22:20:45 +02:00
AndywinXp
e4f408604a SCUMM: HE (Sound): Wait for the spooling stream to end to callback
Fixes overlaps between the previous song ending and the new
song beginning
2023-08-18 22:20:45 +02:00
AndywinXp
b014bd8d9c SCUMM: HE (Sound): Fix miscalculation of channel timer
Fixes music loop in Pajama Sam 1, room 43
2023-08-18 22:20:45 +02:00
AndywinXp
e394ce8b7b SCUMM: HE (Sound): Add temp workaround for sounds created within createSound()
This allows people to continue testing the sound engine, and
will get removed as soon as I have the time to implement a
proper solution to this issue.
2023-08-18 22:20:45 +02:00
AndywinXp
081ab64940 SCUMM: HE (Sound): Revert some warning fixes as they broke createSound()
I guess those warnings will have to be fixed in a different way...
2023-08-18 22:20:45 +02:00
AndywinXp
ce7f42238b SCUMM: HE (Sound): Fix warnings pt.2 2023-08-18 22:20:45 +02:00
AndywinXp
cd32ede377 SCUMM: HE (Sound): Fix warnings 2023-08-18 22:20:45 +02:00
AndywinXp
6482de2194 SCUMM: HE (Sound): Wire up pause routines 2023-08-18 22:20:45 +02:00
AndywinXp
972c3ca797 SCUMM: HE (Sound): Fix lipsync regression
Whoops!
2023-08-18 22:20:45 +02:00
AndywinXp
7287a5ff8e SCUMM: HE (Sound): Reimplement audio modding
For now, only for games which already supported it in the past.
I'll expand it for the Miles Sound System as soon as a real
necessity comes along.
2023-08-18 22:20:45 +02:00
AndywinXp
3e65e4c4aa SCUMM: HE (Sound): Fix early callbacks cutting sound too early
After some comparisons this seems the most accurate emulation
of the early callback behaviour.
2023-08-18 22:20:45 +02:00
AndywinXp
ae49dc0c7e SCUMM: HE (Sound): Reimplement separate volume controls (pt.2)
I forgot to do so for the Miles Sound System games :-)
2023-08-18 22:20:45 +02:00
AndywinXp
47301a17ff SCUMM: HE (Sound): Fix music reloading after exiting save screen
o60_isSoundRunning() expects a proper sound number instead
of a boolean; whoops!
2023-08-18 22:20:45 +02:00