Commit Graph
137148 Commits
Author SHA1 Message Date
Eugene Sandulenko 97b7cb60fd DIRECTOR: Added API for referring to the cast members by name and type 2022-12-03 00:24:18 +01:00
Eugene Sandulenko 41c69d087f DIRECTOR: LINGO: Generalized resolving palette names 2022-12-03 00:24:18 +01:00
AndywinXp 5e869ae8a7 SCUMM: GUI (v3): Fix textSpeed script-based controls
The entirety of v3 games use script-based controls for textSpeed values, which were
broken by yet another 15 years old workaround which didn't take into account the fact
that boot-up is not the only moment that textSpeed is changed by the scripts, but is also
changed when sending the '<' '>' key commands.
2022-12-03 00:24:08 +01:00
ScummVM-Translations d13ba5a191 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-12-02 21:43:46 +00:00
Walter Agazzi 2df7582098 DIRECTOR: Add detection for Voyeur 2 2022-12-02 22:43:10 +01:00
ScummVM-Translations 43b0099397 I18N: Update translations templates 2022-12-02 20:58:41 +00:00
Cameron Cawley 7bcc15c0d9 KINGDOM: Simplify the console code 2022-12-02 22:58:31 +02:00
Walter Agazzi 7ff867bfc4 DIRECTOR: Improve detection for some D3 entries
* Victor Vector & Yondo games
* Woodstock 25 years
* Peanuts/Snoopy Y2L demos
* Snoopy Y2L
2022-12-02 15:07:27 +01:00
Walter Agazzi bee8ea29b9 DIRECTOR: Improve detection for some D3 entries
* A-L School World (jap)
* Scissors N Stones
* RIDE
* Smithsonian's America
* Supersonic
* Star TreK Final Unity
* Ultimate Robot Toolkit
2022-12-02 15:07:27 +01:00
Donovan Watteau af87992771 DS: Clean map.txt leftover from -Wl,-Map,map.txt 2022-12-02 13:46:09 +01:00
ScummVM-Translations 23070e700a 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-12-02 12:07:29 +00:00
Donovan Watteau 887693a3fe GOB: Fix AmigaOS and NDS builds
Poor things...
2022-12-02 13:06:10 +01:00
ScummVM-Translations 6dcbecab76 I18N: Update translations templates 2022-12-02 10:51:18 +00:00
Eugene Sandulenko 8ec11f3aa5 CREDITS: Update 2022-12-02 11:50:51 +01:00
Eugene Sandulenko 25d8019a90 GOB: Fix warning 2022-12-02 11:49:49 +01:00
Eugene Sandulenko 0b792ec806 GOB: Added missing override keywords 2022-12-02 11:49:17 +01:00
Eugene Sandulenko d2462684e1 GOB: Added sdelamarre to credits 2022-12-02 11:47:13 +01:00
Simon Delamarre 50a6555ec3 GOB: misc format/style fixes in Adibou2 changes 2022-12-02 11:44:36 +01:00
Simon Delamarre 493c7d8954 GOB: update the list of files containing translatable strings 2022-12-02 11:44:36 +01:00
Simon Delamarre 38b5431bec GOB: fix the prefix of an Adibou2 game flag (ADGF_ -> GF_) 2022-12-02 11:44:35 +01:00
Simon Delamarre 1e5cb46b6e GOB: fix a missing indentation (Adibou2) 2022-12-02 11:44:35 +01:00
Simon Delamarre 92f1d69939 GOB: restrict the Adibou2 "free bananas" workaround to versions confirmed without unwanted side effect 2022-12-02 11:44:35 +01:00
Simon Delamarre a71b1c9e94 GOB: allow more path separators in "file path -> save handler" mapping
'/' and ':' are now supported in addition to Window-style '\'
2022-12-02 11:44:35 +01:00
Simon Delamarre bf652277aa GOB: do not add anymore all subdirectories to the search path in Adibou2
Only "envir", "applis", and any directory containing an "intro_ap.stk" file (indicates an Adibou/Adi application directory).
2022-12-02 11:44:35 +01:00
Simon Delamarre 5d519ed33b GOB: be more conservative about possible regressions in Adibou2 changes 2022-12-02 11:44:35 +01:00
Simon Delamarre 9f8622c38d GOB: add a few TODOs in Adibou2 changes 2022-12-02 11:44:35 +01:00
Simon Delamarre 6a1e2d5d21 GOB: misc format/style/typo fixes in Adibou2 changes 2022-12-02 11:44:35 +01:00
Simon Delamarre 2ec5b0185d GOB: more comments on Map "oblique" coordinates used in Adibou2 2022-12-02 11:44:35 +01:00
Simon Delamarre 2300f9c7e9 GOB: reduce header dependency in Adibou2 changes 2022-12-02 11:44:34 +01:00
Simon Delamarre 31b759a281 GOB: GPLv2 -> GPLv3 in file headers added for Adibou 2022-12-02 11:44:34 +01:00
Simon Delamarre 685277c2ec GOB: fix another parasite sprite issue in Adibou2
Some sprite cleanup was still missing.
2022-12-02 11:44:34 +01:00
Simon Delamarre 988d4882a2 GOB: fix a few cursor glitches in Adibou2
Try to mimic more closely what is done in the executable.

Fixes black squares sometimes blinking around the cursor (just after selecting the character, when hoovering seeds bags in the vegetable garden...), and fix a temporarily disappearing "waiting" cursor in some "change CD" screens.
2022-12-02 11:44:34 +01:00
Simon Delamarre abade0260d GOB: fix some animation speed issues in Adibou2
In some cases, e.g. Adibou walking from his house, the animation is drawn using video object and _mult->animate() calls, but outside any "evaluate hotspots" loop. The loop is done directly from the scripts and has no synchronization with frame rate, so the animation goes too fast.

We add a timing correction in the animate() loop, by not incrementing the video frame number in video object if we are in advance, and continuing the loop, to keep the UI responsive.
2022-12-02 11:44:34 +01:00
Simon Delamarre 19476c96a5 GOB: split the big "updateAnim" function 2022-12-02 11:44:34 +01:00
Simon Delamarre fc8d530e51 GOB: protection from sound-only videos without proper flags in Adibou2
Such videos may try to allocate a Surface with null width/height.

Fix the jokes "jingle" of the radio in Adibou's house.
2022-12-02 11:44:34 +01:00
Simon Delamarre 0e5953ad67 GOB: fix a crash when returning to launcher from Adibou2 2022-12-02 11:44:34 +01:00
Simon Delamarre dd0748fa66 GOB: a few format fixes 2022-12-02 11:44:33 +01:00
Simon Delamarre 012b520872 GOB: a few missing "0 -> nullptr" replacements 2022-12-02 11:44:33 +01:00
Simon Delamarre dc83f97a2e GOB: fix interrupted intro sound in Adibou2
The script relies on "var_off_212" (current frame) becoming "-1" when the video ends, but its update was disabled for sound-only videos, by a hack for "Bamboo" game to deal with multiple live videos.

We disable this hack (i.e. re-enable var_off_212 update) when there is only one "live" video.
2022-12-02 11:44:33 +01:00
Simon Delamarre 653ae7caf3 GOB: ensure waitSoundEnd is not called on "live" videos
waitSoundEnd call finishSound(), an then updateLive(), which will load new frames while being in "finished" state.
The !props.noBlock check on call site was not enough, as sometimes the close order on a live video does not have "live" flags.
2022-12-02 11:44:33 +01:00
Simon Delamarre 31e0fda5e7 GOB: more Adibou2 videos must be played in the background
Besides startFrame == -2, it seems that a video must also go to the background (i.e. be non-blocking) if start_frame == end_frame == 0 *and* if it is not to be drawn into a specific sprite.

But more conditions may apply - they are very difficult to follow in the ASM.

This fixes interrupted sound issues in Adibou2 "Playtoons" minigame help descriptions.
2022-12-02 11:44:33 +01:00
Simon Delamarre 6705ee619d GOB: fix a typo in a comment 2022-12-02 11:44:33 +01:00
Simon Delamarre 9beca4c206 GOB: work around an infinite loop issue in Adibou 2 "change CD" screen
It seems that this bug is harmless in the original game because it requires a certain combination of files to be present in the CD, which is not the case in practice in Adibou2 CDs ; but it exists for us because our fake "CD" search includes all files in game directory and sub-directories.
2022-12-02 11:44:33 +01:00
Simon Delamarre 709df52d48 GOB: fix some audio/video sync issues in Adibou2
This workaround solves audio/video sync issues that used to appear frequently in many animations, e.g. when Adibou kicks the ball in the garden.

Those animations easily get out of sync when the timing is done by hotspots::evaluate, which sometimes does not call animate() as often as needed for good sync (mouse events processing, in particular, can delay the call).
The original game seems to use also some kind of frame skipping to address this problem.
2022-12-02 11:44:33 +01:00
Simon Delamarre 375559b9e3 GOB: fix Adibou2 cake recipes not showing properly 2022-12-02 11:44:33 +01:00
Simon Delamarre 912f61c904 GOB: skip '\r' or '\n' bytes when printing text
CRLF is sometimes found at the end of resource strings, but uselessly (the "printText" opcode has no is no "newline" capacity)

Fixes garbage characters in Adibou2 diploma text.
2022-12-02 11:44:32 +01:00
Simon Delamarre 4ae76a7812 GOB: in "printText" opcode, bits 8-16 of "backColor" indicate the destination surface
Fixes the text in Adibou2's diploma.
2022-12-02 11:44:32 +01:00
Simon Delamarre 0f811dcd6a GOB: vertical offset bugfix when deflating VMD directly onto a video surface
This fixes a frame offset error in the puzzle game of Adibou2, where the vertical offset was added twice.
2022-12-02 11:44:32 +01:00
Simon Delamarre df04e1c74c GOB: drawing order bugfix in Adibou2
Order "100" (and above) should not be modified.

+ rewrite more clearly "order correction" rules
2022-12-02 11:44:32 +01:00
Simon Delamarre 2d0ee1ffa1 GOB: fix some parasite sprites issues in Adibou2
Some sprite cleaning was missing when destroying objects.
2022-12-02 11:44:32 +01:00