129507 Commits

Author SHA1 Message Date
Hubert Maier
a3d0edd57e EMSCRIPTEN: Configure - Sort emscripten target alphabetically 2022-05-21 22:13:14 +03:00
Hubert Maier
dc0a7ccd19 AMIGAOS: Configure - Streamline platform target
- Add some gcc safeguard switches
-  Comments and typo
2022-05-21 22:13:14 +03:00
Walter Agazzi
a2e3c61ef0 AGS: Add language detection (initial O) + add few missing OSD games 2022-05-21 21:50:51 +03:00
Walter Agazzi
3fa4240d36 AGS: Add language detection for games/demos (initial N) 2022-05-21 21:50:51 +03:00
Donovan Watteau
ee26cf4d18 SCUMM: Get the workaround for bug #1025 closer to the original behavior
In most (if not all) versions of Loom before the Talkie v4 release, one
of the shepherds should trigger a "We are the masters of stealth" line
if Bobbin tries to use the stealth draft on them, but no proper value for
the actor number is ever given.  In the original interpreters, the invalid
line would be skipped.  The Talkie release changes the lines a bit and
makes the third shepherd (act. 4) say something similar, instead.

Until now, ScummVM would work around this by forcing the leftmost (act. 2)
shepherd to say this line.  But, looking at the original script, it seems
that the original intent may have been to let any of the four shepherds
say this line, since script 232 expects a parameter which could be given
by any of the associated 422--425 (act. 2--5) actor objects.

So, moving this check from actorTalk() to o5_startScript() lets us
implement a more comprehensive workaround (with a bit more safety checks,
since there are so many Loom versions), but it also exposes another bug
in some EGA versions and derivatives (e.g. the French EGA version has it,
but the English EGA 1.1 version doesn't): if Bobbin uses the stealth draft
on the second shepherd (act. 3), then some line(s) will be completely
missing, potentially because this actor has been removed from the scene
in the earliest versions, although he's still in use.

Having zero reaction from the shepherds when you try their draft upon
them can be extremely confusing, so we need to work around this, too.

Forcing this actor to "stay" doesn't fix the issue for now (and the
symptoms are a bit different between ScummVM and the original
interpreters), so at the moment we force this workaround even if
`_enableEnhancements` is not enabled, when we detect this strange
actor behavior.
2022-05-21 17:30:34 +03:00
Donovan Watteau
80dd45ee62 SCUMM: Keep the security door closed by default in Maniac Mansion NES
There was no copy protection on NES, since it was on a cartridge.
One just needs to open the security door like a regular door, with its
dramatic sound effect.

This also lets one close the door again, like in the original game.
2022-05-21 17:14:29 +03:00
Filippos Karapetis
59eac07550 CHEWY: Simplify the barrier (GED) code 2022-05-21 17:12:53 +03:00
Torbjörn Andersson
2937c616ae SCUMM: Fix glitch introduced by DOTT Chron-O-John workaround
The mainRoutine() function returns a byte, not a bool. This caused text
to be partly erased when drugging the piranha poodles in MI1. Probably
other things as well.
2022-05-21 09:51:14 +02:00
Eugene Sandulenko
820b226283
DEVTOOLS: Gather non-portable code in create_engine, thus making code more readable 2022-05-21 09:49:43 +02:00
ScummVM-Translations
d6b4d0efbc 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-21 03:45:08 +00:00
sluicebox
924f208a03 CREATE_PROJECT: Text console debugger optional on Xcode
Prior to this, create_project always set USE_TEXT_CONSOLE_FOR_DEBUGGER on Xcode.
This was hard-coded behavior that I should have removed when I added configuring
this feature on the command line in 8c32927f393dddcbe3dfa1b19b38cd332283b6bd

Now it's disabled by default and can be enabled by --enable-text-console, just
like the other projects.
2022-05-20 23:43:59 -04:00
ScummVM-Translations
2585c589fc I18N: Update translations templates 2022-05-20 20:21:14 +00:00
athrxx
032b668188 KYRA: (LOL) - minor cleanup 2022-05-20 22:18:08 +02:00
athrxx
24aa895a00 KYRA: (EOB/LOL) - improve version strings
Apparently in some builds the gScummVMVersion still contains the revision number (contrary to the comment in base/version.h, actually). I normally don't notice that, since it doesn't happen in my own builds. The long strings will break text fields that can't have strings of that length.

I'll now just generate my own version from gScummVMVersion, so I do get the desired (short) layout.
2022-05-20 22:18:02 +02:00
Filippos Karapetis
e52de4f25a CHEWY: Remove redundant qualifiers 2022-05-20 21:58:35 +03:00
Filippos Karapetis
b616c5117b CHEWY: Fix font kerning 2022-05-20 21:58:34 +03:00
sluicebox
a3c3865877 SCI: Initialize pic window correctly for QFG1VGA Mac
Fixes the opening background being drawn 10 pixels too low
2022-05-20 14:20:22 -04:00
Filippos Karapetis
8150cdd3c0 CHEWY: Fix highlighting when hovering over inventory buttons
A typo in commit e2221d6585383915344dcdfd3e1ce19b65e73e7f
Thanks to dreammaster for bisecting this
2022-05-20 20:47:10 +03:00
neuromancer
e6032569ce HYPNO: completed parsing of level c42 in boyz 2022-05-20 09:45:25 +02:00
neuromancer
b00ed2fe13 HYPNO: correctly parsed warning video index in boyz 2022-05-20 09:45:25 +02:00
neuromancer
2cb7f4ef53 HYPNO: better handling of killed animations using transitions in boyz 2022-05-20 09:45:24 +02:00
neuromancer
d4f75dc5aa HYPNO: added boat machine-gun to the list of weapon and fixed some index to access such arrays in boyz 2022-05-20 09:45:24 +02:00
neuromancer
4a8ea89cd3 HYPNO: allow scenes to declare their own resolution 2022-05-20 09:45:24 +02:00
neuromancer
2af72459bf HYPNO: fixed how health is handled and added hardcoded videos in boyz 2022-05-20 09:45:24 +02:00
neuromancer
9ba4326021 HYPNO: implemented basic objective checking in boyz 2022-05-20 09:45:24 +02:00
neuromancer
4755dee3ee HYPNO: better detection of target during alarm sequences in boyz 2022-05-20 09:45:24 +02:00
neuromancer
0b4f7a339d HYPNO: basic implementation of checkIfDestroyed field and fixes when jumping at the end of segments in boyz 2022-05-20 09:45:24 +02:00
neuromancer
a4e22c4193 HYPNO: end current level when an alarm enemy is missed in boyz 2022-05-20 09:45:24 +02:00
neuromancer
b13a22a863 HYPNO: avoid playing missed animations after it is too late in boyz 2022-05-20 09:45:24 +02:00
neuromancer
7f59aeb0db HYPNO: play correct video when hostage is killed in boyz 2022-05-20 09:45:24 +02:00
neuromancer
cc9108b6ae HYPNO: corrected body frame length in boyz 2022-05-20 09:45:24 +02:00
neuromancer
5c2aa8832e HYPNO: added more warning video filenames in boyz 2022-05-20 09:45:24 +02:00
neuromancer
b8fe3bf613 HYPNO: improved handling of levels where skipping frames is required in boyz 2022-05-20 09:45:24 +02:00
neuromancer
102a63c5d9 HYPNO: improved interactions with hostile and non-hostile actors in boyz 2022-05-20 09:45:24 +02:00
ScummVM-Translations
b2c3905939 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-20 06:55:19 +00:00
athrxx
311b6fec1a SCI: fix sound pausing when loading via kRestoreGame
This is similar to what we recently fixed for the saving. It does concern only the loading from the SCI menu and from the SCI death dialog (that's how it got my attention).

I have written a long comment in SciMusic::resetGlobalPauseCounter()  which explains it.

I have decided to make this very obvious (you could say: more ugly), so it won't cause confusion in the future. Of course, it could be just hidden somewhere deep in SciMusic::saveLoadWithSerializer() and noone would ever notice. But the "ugly" way seemed the safer thing to do...
2022-05-20 09:55:07 +03:00
ScummVM-Translations
7d4dcf97cf I18N: Update translations templates 2022-05-19 19:32:50 +00:00
athrxx
132b49634e KYRA: (LOL/Floppy/Spanish) - fix bug no. 13490
(game quitting with "Error running game: Game data not found")
2022-05-19 21:32:21 +02:00
AndywinXp
d82c3cea5f SCUMM: SMUSH/INSANE: Call resetAudioTracks() in the correct places (fix #13476) 2022-05-19 13:51:59 +02:00
Donovan Watteau
5b1ec56f96 JANITORIAL: Fix some lost or outdated URLs in comments 2022-05-19 07:57:31 +03:00
Paul Gilbert
c245ef0603 DEVTOOLS: Fix Visual Studio compilation for create_engine 2022-05-18 20:13:57 -07:00
Eugene Sandulenko
3b3817823c
DEVTOOLS: Make create_engine run from scummvm root as well 2022-05-18 22:43:42 +02:00
VAN-Gluon
8cc936fcf0 I18N: Update translation (Japanese)
Currently translated at 100.0% (1723 of 1723 strings)
2022-05-18 19:27:51 +00:00
Donovan Watteau
77228509eb SCUMM: Fix hanging Maniac Mansion cutscene with the French version (Trac#13473)
The lab cutscene where Purple Tentacle is bullying Sandy would hang
when Dr Fred is done talking, in the official French version.

This appears to be related to this VAR_CHARCOUNT check in script no. 155:

[0085] (14) print(9,"{{Dr Fred's reaction line, shorter in French}}");
[00DA] (80) breakHere();
[00DB] (44) unless (VAR_CHARCOUNT > 90) goto 00DA;

Usually, French sentences are a bit longer than English sentences, but
in this case, it's shorter, but yet the script didn't adjust the 90
value, so it would indefinitely loop, causing the scene to hang (until
the player presses the Esc key) and Sandy's reaction to be lost.

So we just pad this string with extra spaces if its length looks too
short for the default VAR_CHARCOUNT check.  This should also remain
harmless if the string *is* long enough, or if a translation did fix
the VAR_CHARCOUNT check.

Still, we only restrict this workaround to the French version for now,
since we're not aware of a similar problem with other translations.
2022-05-18 21:57:19 +03:00
athrxx
6c6960b593 SCI: fix bug no. 10183 (QFG1EGA: Baba Yaga's hut sound bug)
Actually its two bugs that both come to surface in that hut... one in SoundCommandParser::processInitSound() and one in SciMusic::soundStop().
2022-05-18 21:54:26 +03:00
sluicebox
34983d1017 SCI: Fix out of bounds read when measuring text
Found with valgrind. The OOB read did not affect behavior.
Introduced in 8a87d1030c706db7fede0b5ece0aeabdf1a671cb
2022-05-18 14:26:06 -04:00
athrxx
da83cb79a9 KYRA: (LOL/Spanish/Floppy) - add detection entry for installer package 2022-05-18 20:07:02 +02:00
Eugene Sandulenko
f0ecb4145a
DEVTOOLS: Improved logging for create_engine 2022-05-18 17:41:21 +02:00
Eugene Sandulenko
e95fb37ffa
DEVTOOLS: Fixed directory creation in create_engine 2022-05-18 17:33:39 +02:00
Eugene Sandulenko
4343882531
DEVTOOLS: Added module.mk to create_engine and fixed portability 2022-05-18 17:30:19 +02:00