129719 Commits

Author SHA1 Message Date
Filippos Karapetis
3be24c759b AGI: Group preAGI games into a separate folder 2022-05-28 16:47:47 +03:00
Donovan Watteau
fea1a2d392 SCUMM: Properly stop Wendy's music in MM NES
In the NES version of Maniac Mansion, each kid has their own CD player
playing a different background music by default.

Each CD player script does something like this when you turn it off:

(2F) if (!getState04(46)) {
(D8)   printEgo("It's already off.");
(18) } else {
(67)   clearState04(46);
(1A)   Var[224] = 0;  # <==
(3C)   stopSound(71);
(**) }

but Wendy's CD player script is missing the `Var[224] = 0` line, so
although her music was stopped, the game scripts weren't properly aware
of this, and so her music could suddenly resume, such as when entering
and leaving room 3 with her character.
2022-05-28 15:32:45 +03:00
Filippos Karapetis
622614eb20 AGI: Fix the Amiga Winnie the Pooh file structure and detection
The Amiga version of Winnie has files in subdirectories. The engine has
been adapted to respect the directory structure of this version
2022-05-28 15:30:45 +03:00
Lothar Serra Mari
25219c64d6 DISTS: Sync snapcraft recipe with upstream 2022-05-28 13:54:11 +02:00
ScummVM-Translations
edd24bef7c 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-05-28 11:03:32 +00:00
Lothar Serra Mari
691e590cfa NEWS: Mention Symbian removal in German NEWS file 2022-05-28 13:03:12 +02:00
ScummVM-Translations
49c08073a0 I18N: Update translations templates 2022-05-28 10:56:06 +00:00
sluicebox
eee84be802 SCI: Add detection entry for KQ5 Spanish variant 2022-05-28 06:53:16 -04:00
ScummVM-Translations
72027f0a59 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-05-28 10:32:56 +00:00
Eugene Sandulenko
5e05f93f36
ALL: Remove Symbian port 2022-05-28 12:32:29 +02:00
ScummVM-Translations
b5ba97f252 I18N: Update translations templates 2022-05-28 09:52:59 +00:00
Eugene Sandulenko
828192db59
GUI: Reduced code duplication in GroupedListWidget 2022-05-28 10:46:37 +02:00
Eugene Sandulenko
1edab21c6e
GUI: Use color information from the strings in *ListWidget 2022-05-28 10:46:34 +02:00
AsciiWolf
cfe040a6aa DISTS: Fix AppData id
Commit 1f4e197 changed the AppData id to a rDNS one, however the actual appdata/desktop file names stayed non-rDNS. This broke the metadata since AppStream parsers cannot match the correct desktop file anymore. This commit reverts the change
2022-05-28 10:38:57 +02:00
AndywinXp
2eb63a8931 SCUMM: DiMUSE: Fix possible heap buffer overflow when fetching sound header 2022-05-28 10:30:40 +02:00
Torbjörn Andersson
fbb7459268 SCUMM: Clean up comment a tiny bit 2022-05-28 10:26:47 +02:00
sluicebox
dffe39a91c SCI: Disable LSL2 speed test 2022-05-28 03:49:45 -04:00
antoniou79
4a4e708e65 GLK: Fix loading font colors for gStyles 2022-05-27 18:32:49 -07:00
Die4Ever
c8b8a6a492
GROOVIE: remove testing flags from detection 2022-05-27 17:12:37 -05:00
Athanasios Antoniou
5684a31703
AGI: Fix detection for Mickey's Space Adventure
This should address the remaining issues with ticket https://bugs.scummvm.org/ticket/13155
2022-05-28 00:50:49 +03:00
AndywinXp
d104366815 SCUMM: COMI: Fix music track playing indefinitely in an edge case
This is a bug in the original interpreter, so the following workaround is marked as an enhancement.
When Guybrush gets on the Sea Cucumber for the first time and the monkeys show up on deck, if the ESC key is pressed before the "Any last words, Threepwood?" dialogue, the music will continue playing indefinitely throughout the game (or until another "sequence" music is played). To amend this, we intercept this exact script override and we force the playback of sound 2277, which is the iMUSE sequence which would have been played after the dialogue.
This workaround has been stress-tested on all Steam available languages + Akella Russian.
2022-05-27 23:05:20 +02:00
Einar Johan Trøan Sømåen
51b2994659
Revert TINSEL refactors that happened too close to code freeze.
Revert "TINSEL: Fix int32 discrepancy"
- This reverts commit a640e6b48991c027c3974607d025b16c054354f1.

Revert "TINSEL: Refactor Notebook and System reels to follow naming conventions"
- This reverts commit 2cfc3b4ed29f133730a9d54db3b7e45503d55068.

Revert "TINSEL: Rename IsConvAndNotMove -> isConvAndNotMove"
- This reverts commit 5ba099f408f7a78206a10dc4ee8b52360d208504.

Revert "TINSEL: Rename the public methods in Dialogs to follow convention"
- This reverts commit 8ef52754a1c0189f68a1ac5d64168b236ca38e69.

Revert "TINSEL: Rename the private methods in Dialogs to follow convention"
- This reverts commit a3d0b5206b9cacfd36dacf8aca1262c986b3df31.

Revert "TINSEL: Add debug commands to add all clues, as well as listing them."
- This reverts commit fdfede64ca258d73b6de09c9334c7bc8ce2a3b65.

Revert "TINSEL: Implement pointer handling for Notebook"
- This reverts commit 195b04c9cf5ba743a371db0c9685b9f96f4950dd.

Revert "TINSEL: Implement polygon-handling for Notebook"
- This reverts commit 10cce703dcda251eef6af5ca550206a3c4bdff8a.

Revert "TINSEL: Add initial event support to Notebook."
- This reverts commit 61c94379cda64d3d5119edb905d65b4d92ce1778.

Revert "TINSEL: Close Inventories when switching between them."
- This reverts commit 337aed1915c84ed7d415a7f325a680c1bdc35ea4.

Revert "TINSEL: Implement library function CROSSCLUE"
- This reverts commit 9519288acd58adbdc9d5a89ef45294a6500b730f.

Revert "TINSEL: Implement Notebook logic for adding clues and showing pages."
- This reverts commit 3580c17cc52af43ee95c05b9c98eb49d3750e346.

Revert "TINSEL: Implement InventoryOrNotebookActive"
- This reverts commit 89aefb77945b21ecb4670c1fb24356a31d08c3af.

Revert "TINSEL: Minor style-fixes"
- This reverts commit e92fafb9558dfef3adc283a2fff8349d48651b26.

Revert "TINSEL: Refactor IsInPolygon to be partially a member-function"
- This reverts commit fa7d4480512d4e7af766a6aa433b253d48b2e537.

Revert "TINSEL: Replace LockMem with GetFrame for FRAME"
- This reverts commit ec9c630fc5b2b0613f5adda182421d501a061ad8.

Revert "TINSEL: Replace LockMem with GetMultiInit for MULTI_INIT"
- This reverts commit fa8e3c506b93b272271d33663fee85bd86651526.

Revert "TINSEL: Further refactor InventoryObjects"
- This reverts commit 1a2f18e421efb221832ef8e16463ca9bc1991060.
2022-05-27 19:55:36 +02:00
Torbjörn Andersson
31f8db0b64 SCUMM: No longer rely on getMillis() when timing replacement tracks
Now that VAR_TIMER_TOTAL is reliable, use that for timing the Loom
replacement audio tracks instead. This saves us the bother of handling
pausing and things like that.

I think it should work even with older savegames, but at the moment
resuming the track from where it was saved isn't working for me. It
seems to be doing the right ting, but then the track gets restarted.
This may be because of recent changes to Loom save/restore?
2022-05-27 18:28:44 +02:00
Le Philousophe
8569296384 OPENGL: Detect framebuffer support using GL_ARB_framebuffer_object
We use functions from GL_ARB_framebuffer_object extension and not from
GL_EXT_framebuffer_object where functions are suffixed by EXT.
This avoids crashes on implementations supporting only the EXT version.
2022-05-27 18:13:10 +02:00
Le Philousophe
a640e6b489 TINSEL: Fix int32 discrepancy 2022-05-27 17:04:26 +02:00
Einar Johan Trøan Sømåen
2cfc3b4ed2
TINSEL: Refactor Notebook and System reels to follow naming conventions 2022-05-27 10:39:56 +02:00
Einar Johan Trøan Sømåen
5ba099f408
TINSEL: Rename IsConvAndNotMove -> isConvAndNotMove 2022-05-27 10:29:38 +02:00
Einar Johan Trøan Sømåen
8ef52754a1
TINSEL: Rename the public methods in Dialogs to follow convention 2022-05-27 10:25:33 +02:00
Einar Johan Trøan Sømåen
a3d0b5206b
TINSEL: Rename the private methods in Dialogs to follow convention
Changing from PascalCase to camelCase
2022-05-27 08:59:44 +02:00
sluicebox
5b3adb4407 SCI: Fix some script patch typos 2022-05-27 02:38:47 -04:00
sluicebox
1c2e1bc54f SCI32: Fix LSL6HIRES delay when guard presses button
Fixes bug #13501
2022-05-27 02:07:37 -04:00
sluicebox
fd146d77d0 SCI32: Initialize Sound:handle for non-preload samples
Fixes bug #13500 where LSL6HIRES doesn't play the audio for the death
message after the security guard launches a missile.

Thanks to @RayKoopa for reporting this and other discrepancies
2022-05-27 02:07:37 -04:00
Einar Johan Trøan Sømåen
fdfede64ca
TINSEL: Add debug commands to add all clues, as well as listing them.
At the same time, name the NOTEBOOK_CLUE attribute appropriately
2022-05-26 23:08:35 +02:00
Andrea Boscarino
38dd15c183
SCUMM: INPUT: Implement Enter and Tab substitution as Left and Right click
The original interpreters allowed the usage of the Enter key as a substitute for left mouse click, and the Tab key as a substitute for right click; while v7-8 games handle this substitution via scripts, we have to do this manually for the other games.
2022-05-26 23:02:51 +02:00
Einar Johan Trøan Sømåen
195b04c9cf
TINSEL: Implement pointer handling for Notebook 2022-05-26 22:29:36 +02:00
Einar Johan Trøan Sømåen
10cce703dc
TINSEL: Implement polygon-handling for Notebook 2022-05-26 22:29:22 +02:00
Einar Johan Trøan Sømåen
61c94379cd
TINSEL: Add initial event support to Notebook.
For now this should be enough to flip pages.
2022-05-26 22:09:31 +02:00
Einar Johan Trøan Sømåen
337aed1915
TINSEL: Close Inventories when switching between them. 2022-05-26 21:49:53 +02:00
Einar Johan Trøan Sømåen
9519288acd
TINSEL: Implement library function CROSSCLUE 2022-05-26 21:49:16 +02:00
Einar Johan Trøan Sømåen
3580c17cc5
TINSEL: Implement Notebook logic for adding clues and showing pages. 2022-05-26 21:48:17 +02:00
Einar Johan Trøan Sømåen
89aefb7794
TINSEL: Implement InventoryOrNotebookActive 2022-05-26 21:07:21 +02:00
Einar Johan Trøan Sømåen
e92fafb955
TINSEL: Minor style-fixes 2022-05-26 21:06:58 +02:00
Einar Johan Trøan Sømåen
fa7d448051
TINSEL: Refactor IsInPolygon to be partially a member-function 2022-05-26 21:06:27 +02:00
Einar Johan Trøan Sømåen
ec9c630fc5
TINSEL: Replace LockMem with GetFrame for FRAME 2022-05-26 21:04:41 +02:00
Einar Johan Trøan Sømåen
fa8e3c506b
TINSEL: Replace LockMem with GetMultiInit for MULTI_INIT 2022-05-26 21:04:36 +02:00
Einar Johan Trøan Sømåen
1a2f18e421
TINSEL: Further refactor InventoryObjects
So that we don't need vtables for the InventoryObject-objects, only
for the container.
2022-05-26 21:02:05 +02:00
aquadran
bbe9b3cf64 Revert "GRIM: Fix string comparison in lua"
This reverts commit d783be1570060afb00766ec4012c4deffa4a2362.
2022-05-26 20:47:36 +02:00
Donovan Watteau
6735e3c0f0 SCUMM: Fix the cyan/pink lines when Indy meets Elsa in Berlin
In the 256-color versions of Indy3, there are some weird horizontal
cyan/pink lines which appear out of place in the Berlin night scene.
The official FM-TOWNS release fixed that by reusing some other colors
from the local palette, so we can apply a similar change for the DOS
and Steam versions, as long as we keep the original EGA colors for the
text and inventory.

(We still do a quick check for the original `smapLen`, just in case a
fan translation redid the background.)
2022-05-26 21:03:53 +03:00
Lothar Serra Mari
aab97d9dd4 I18N: Update GUI translation datafile 2022-05-26 17:57:23 +02:00
Lothar Serra Mari
afdc18a3ac NEWS: Update German NEWS file 2022-05-26 17:56:15 +02:00