Commit Graph
8749 Commits
Author SHA1 Message Date
sluicebox ad336de7bb SCI32: Fix kDoAudioPlay regression
Fixes kDoSoundPlay crash when called from an SCI32 game, introduced in
364542e9e1
2021-02-26 01:19:57 -08:00
sluicebox 9982c761a2 SCI: Update all old bug tracker ticket numbers 2021-02-25 01:18:52 -08:00
sluicebox 364542e9e1 SCI: Fully implement kDoAudio(13) for PHARKAS CD
Now that we match SSCI behavior when it comes to interrupting samples
when new samples play, we need to implement kDoAudio(13) so that the CD
version of Freddy Pharkas can detect these interruptions. Otherwise,
the game will softlock if the points sound effect or narration is
interrupted.
2021-02-23 18:22:25 -08:00
sluicebox 196d666e70 SCI: Remove outdated PHARKAS script patch
This patch removes a call to kDoAudio(13) because at the time it was
written, the subop was unimplemented and didn't return a value.

kDoAudio(13) was later changed to always return 1 so this patch has been
moot for a while. Now we need this script to do what it's supposed to
and detect sound interruptions so I'm about to implement kDoAudio(13).
2021-02-23 18:22:25 -08:00
sluicebox 9b31cce7b9 SCI32: Fix SQ6 missing message in brain 2021-02-22 16:38:03 -08:00
sluicebox de9443407f SCI: kDoAudio stops samples played with kDoSound 2021-02-22 14:57:02 -08:00
sluicebox a921c08043 SCI: Fix SQ4 software clerk's random message 2021-02-19 12:25:55 -08:00
sluicebox 7f4198c1a9 SCI: Fix Kernel::lookupText out-of-bounds detection 2021-02-19 12:13:21 -08:00
Filippos Karapetis e04c4b06a0 SCI: Handle cases where ressci.001 exists, together with resource.aud
In this case, the multi-disc audio handling code should not run.
Fixes a spurious warning in Lighthouse
2021-02-14 02:42:01 +02:00
sluicebox b0d45d07e4 SCI: kDoSoundPlay now restarts samples already playing
Fixes SQ4CD keypad buttons, bug #9813
2021-02-14 01:20:14 +02:00
sluicebox beee3b5f25 SCI: kDoSoundPlay now restarts MIDIs already playing
Fixes KQ6CD wallflower lockup, bug #10812
Fixes QFG4 door bell puzzle, bug #12105
2021-02-14 01:20:14 +02:00
Henrik "Henke37" Andersson 06cc82d493 SCI: Use getValOrDefault and tryGetVal 2021-02-12 00:41:23 +01:00
sluicebox 045b33cf20 SCI: Fix KQ4 unicorn ride at night 2021-02-11 00:06:37 -08:00
Filippos Karapetis 2c4b4c6cd5 SCI: Add missing class member initializers 2021-02-08 03:11:46 +02:00
sluicebox 51137b8864 SCI: Improve "opcodes" debug command output
Fixes third column not appearing on default GUI console size
2021-02-07 16:31:46 -08:00
sluicebox dac6babb81 SCI: Remove non-existent debug command from Help 2021-02-07 16:31:46 -08:00
Cameron Cawley 1d9572173a SCI: Fix compilation when SCI32 is disabled 2021-02-04 22:24:41 +02:00
sluicebox 1200485211 SCI: Fix kGetTime debug messages
This change doesn't affect kGetTime results.

kGetTime has been logging its return value in debug messages as a 32-bit
value before converting down to the actual 16-bit value that's returned.
2021-02-03 23:37:23 -08:00
sluicebox 89c67944f4 SCI: Always initialize kFileIOReadString output
Addresses bug #12060
2021-02-02 12:44:45 -08:00
sluicebox 391c2f4a5d SCI: Remove character test that's always true
Fixes a gcc warning
2021-01-31 22:14:36 -08:00
sluicebox a8a6bf4f30 SCI32: Remove PHANT2 spin loop in easter egg 2021-01-31 19:42:02 -08:00
sluicebox 20d052fee4 SCI32: PHANT2 script patch comments 2021-01-31 19:39:21 -08:00
sluicebox b23daadf00 SCI32: Fix restoring PHANT2 games from overlay
Fixes restoring from overlay while game is in handsOff mode.
For example: room 3310.
2021-01-31 19:37:58 -08:00
sluicebox f033ffca9d SCI: Fix KQ6 time-of-day lettuce bug 2021-01-31 12:43:17 -08:00
sluicebox 518226146d SCI: Fix kGetTime 12-hour formatting
SSCI sets hours 0 and 12 to 12, not 0.
Fixes clock display in Hoyle4 and Hoyle5.
2021-01-31 12:43:16 -08:00
sluicebox 7095ed66c5 SCI: Fix KQ4 missing waterfall view 2021-01-31 12:43:16 -08:00
sluicebox 40fbf7be48 SCI: Process ScummVM Quit events during kMenuSelect
Fixes engine not being able to quit while the SCI menu bar
has keyboard focus.
2021-01-31 12:43:16 -08:00
SupSuper 6d32568656 SCI: Add RTL support to Engine options tab
Options dialogs need to be named "GameOptions"
to be properly laid out in RTL.
2021-01-28 13:14:51 +00:00
ZvikaandFilippos Karapetis f0d6ee84a7 SCI: PQ4 - Partial fix for #11660 (keep speech and subtitles setting) (#2463)
Co-authored-by: Filippos Karapetis <bluegr@gmail.com>
2021-01-27 01:56:11 +02:00
Zvika Haramaty 2fde742922 SCI: RTL: right align entries in drawListControl 2021-01-17 21:51:20 +01:00
Zvika Haramaty a5d0077fa2 SCI: Hebrew in parentheses isn't stage direction 2021-01-11 23:16:56 +02:00
Vladimir Serbinenko 3e7abf974d SCI: Patch invalid picture in Russian translation of Torin's passage 2021-01-02 11:41:37 +02:00
Vladimir Serbinenko 373673c2d6 SCI: Add City Torin translation to detection list 2021-01-02 11:41:37 +02:00
SupSuper 4dd902b40b SCI: Fix missing translations in Engine options tab 2020-12-28 21:44:02 +00:00
sluicebox b205bc0e8a SCI: Add missing newlines to console output 2020-12-20 12:09:06 -08:00
sluicebox 4ecfa0c217 SCI: Implement SCI 1.1 view scaling algorithm
Replaces a home-made scaling algorithm with Sierra's algorithm.
Views should now be scaled the same as in the original interpreter.
Discrepancies were particularly noticeable when scaling down.

Examples:
ego in KQ6 after entering room 210 from 240.
ego in LSL6 after entering room 860 from 230.
2020-12-19 22:31:38 -08:00
sluicebox 188423fb6e SCI: Fix KQ6 guard dog music not stopping
Fixes bug #11746
2020-12-18 10:21:43 -10:00
Ralph Caraveo III b0dc2ad01d SCI: add a shortcut alias for the registers debug console command
When debugging, I'm constantly inspecting the SCI VM registers and thought this would be a great command to have an alias for.
I am proposing the following alias: `reg` for the command `registers` and also updated the help docs.
2020-12-16 19:29:31 +02:00
sluicebox 4a72486279 SCI: Disable LSL3 speed test
Fixes bug #11967
2020-12-13 10:54:36 -10:00
Eugene Sandulenko 96489614f8 SCI: Added detection for alternate LSL7 Russian version 2020-12-06 19:26:12 +01:00
Eugene Sandulenko fbc8c0a72a SCI: Added detection for Russian LSL6 2020-12-06 19:12:50 +01:00
Thierry Crozat 4ed344b111 SCI: Fix compilation following recent AdvancedMetaEngine changes 2020-12-04 23:04:18 +00:00
Cameron Cawley 4ced49acd4 ENGINES: Changed AdvancedMetaEngine::createInstance to return a Common::Error 2020-12-04 20:57:14 +00:00
Bartosz Gentkowski 7192ec0bb5 DOXYGEN: Fix the build output and structure
This commit introduces a couple tweaks to the
doxygen build configuration to assure the
overall structure looks correct.
2020-12-02 22:55:41 +00:00
Eugene Sandulenko a1da62040d SCI: Mark shivers2 as unsupported 2020-11-29 16:44:41 +01:00
Eugene Sandulenko 4e03001acd SCI: Fix POTFILES 2020-11-29 16:38:22 +01:00
Eugene Sandulenko b7b8d0638f SCI: Always detect all games, but give users a message when SCI32 is not compiled in 2020-11-29 16:35:15 +01:00
Filippos Karapetis dabb6670a8 SCI: Remove the resource checksum for the audio file in EQ1 Korean
This will now match versions compressed with the compress_sci tool
2020-11-29 16:33:28 +02:00
Filippos Karapetis f02068a8f3 SCI: Add a flag to distinguish SCI16 from SCI32 games during detection 2020-11-29 14:36:18 +02:00
Filippos Karapetis bd7e708fc3 SCI: Move resource related functionality into a separate folder 2020-11-29 14:34:55 +02:00