Commit Graph
3250 Commits
Author SHA1 Message Date
Martin Kiewitz 3f7566c7b1 SCI: hoyle 4 workaround properly done (bug #6614)
fixes placement of edit control caused by
uninitialized reads
2014-11-02 23:30:06 +01:00
Martin Kiewitz 8ffd8793ed SCI: add support for \n and \r in Japanese text
fixes Police Quest 2 Japanese intro
thx to wjp for helping
2014-11-02 15:44:22 +01:00
Martin Kiewitz 5b42fa8196 SCI: script patch for qfg1ega (fixes bug #6407)
throwing rocks at bird's nest, running ego gets
stuck
2014-10-31 20:33:00 +01:00
Filippos Karapetis 9783f0bbd9 SCI: Remove trailing whitespace 2014-10-28 16:17:06 +02:00
Willem Jan Palenstijn 1860c2107a SCI: Add notes 2014-10-19 23:44:45 +02:00
Filippos Karapetis 1d5536da02 SCI: Enable some menus in Jones after restoring (bugs #6537 and #6723)
The code path that is supposed to enable these never gets called when
restoring from the main menu, or from the ScummVM launcher. Since the
logic on when and what to enable is quite complex, the easiest thing
to do is enable these entries manually after a game is loaded.
2014-10-19 16:52:00 +03:00
Filippos Karapetis f2f8bf5685 SCI: Fix wrong game features heuristic for Hoyle 1/2 - bug #6606
Games with newer graphics functions can call kDrawPic with 4 or 8
parameters. Older games call it with 6 parameters. Fixes the about
dialog in Hoyle 1
2014-08-08 02:51:57 +03:00
Filippos Karapetis e13cc80348 SCI: Show the address segment when trying to free hunks from an invalid
address
2014-08-08 02:11:49 +03:00
Filippos Karapetis 1cbfe02bcf SCI: Allow invalid references to kUnload() - bug #6600
Since the reference will be invalidated anyway by kUnload itself,
there's no real reason to check for its validity. We do the same with
kGraph() and kDisplay().
2014-08-08 02:11:49 +03:00
Filippos Karapetis 9eb88328ca SCI: Fix script bug #6692 - QFG3: Crash when speaking at the top of the giant tree 2014-08-06 15:09:55 +03:00
Martin Kiewitz 23bfc2f035 SCI: comment typo fix 2014-06-02 20:59:27 +02:00
Martin Kiewitz d4de84bf8b SCI: fix saving in mother goose sci0 (bug #6486) 2014-06-02 20:51:39 +02:00
Johannes Schickel 2bd2db10aa SCI: Silence double to float conversion warning. 2014-06-02 01:00:15 +02:00
Martin Kiewitz d7f26886c3 SCI: more hoyle 4 workarounds (bug #6604) 2014-06-01 23:33:45 +02:00
Martin Kiewitz 460a9113af SCI: another workaround for hoyle 4 (bug #6598) 2014-06-01 23:20:11 +02:00
Martin Kiewitz 00f23b26c5 SCI: hoyle 4 workaround entry (bug #6601) 2014-06-01 23:01:39 +02:00
Martin Kiewitz 058fc2327f SCI: fix kGetTime, fixes bug #6605
current year part wasn't calculated properly
2014-06-01 19:58:23 +02:00
Martin Kiewitz 73c02d4166 SCI: fix 2nd LB2 pterodactyl room patch
patch terminator was missing
2014-05-29 11:56:41 +02:00
Martin Kiewitz c693b73bc8 SCI: LB2 pterodactyl room patch description fix 2014-05-29 00:10:04 +02:00
Martin Kiewitz e70923464e SCI: LB2 patch for pterodactyl room door issue
fully fixes bug #6458 for both CD + English Floppy
old saves made after wiring the door will still have issues
2014-05-28 23:59:29 +02:00
Martin Kiewitz 6d2f0bbcd4 SCI: LB2 patch for pterodactyl room door issue
partly fixes bug #6458
2014-05-27 21:14:49 +02:00
Johannes Schickel daa8d57a86 ALL: Rename Debugger::DebugPrintf to Debugger::debugPrintf. 2014-05-27 02:04:07 +02:00
Martin Kiewitz 7a92556aed SCI: SQ1VGA patch for spider droid timing issue
makes spider droid speed relative to movement speed setting
2014-05-26 00:53:24 +02:00
D G Turner 4598b3b2d9 SCI: Inhibit spurious GCC warnings in script patching code.
The two relevant variables upon inspection of the current code should
not be used uninitialized as per the compiler linter warning, but
removing this by adding a zero initialization is simple.
It is also good practice and should prevent future issues if the code
is modified.
2014-04-18 14:59:49 +01:00
Filippos Karapetis 6a519f7f40 SCI: Initial implementation of the fanmade sciAudio library
This is used in the fanmade games "LockerGnome Quest Redux" and
"Betrayed Alliance"
2014-03-28 02:16:54 +02:00
Filippos Karapetis 311471c857 SCI: Fix script bug #6485 - "SCI: MUMG EGA - kStrCpy error" 2014-02-19 03:03:11 +02:00
Johannes Schickel 8fc7d60feb SCI: Make GPL headers consistent in themselves. 2014-02-18 02:39:37 +01:00
Filippos Karapetis 715a5f9bbe SCI: Adapt the segment and offset getters/setters for SCI3
This is by no means complete, but it's a good start. It is based on an
earlier discussion on the subject, and it allows us to use the highest
two bits from the segment for offset addresses
2014-02-17 12:05:40 +02:00
Filippos Karapetis ed400d57fc SCI: Fix NS rect calculation in GK1 (and SCI32 in general)
This fixes the regressions caused by refactoring in SCI32. Thanks to
Timo Korvola for tracking down the issue and providing an initial
patch in bug #6452
2014-02-17 12:00:17 +02:00
Filippos Karapetis 9addca7287 SCI: Allow saving without a VERSION file in Jones
Apparently, the original does the same. Fixes bug #6535
2014-02-17 11:52:49 +02:00
Filippos Karapetis d80f1adb31 SCI: Provide more accurate error messages for unsupported saved games 2014-02-17 11:46:24 +02:00
Martin Kiewitz 462f7c1c24 SCI: fix typo in getSciLanguageString CID 1003556 2014-01-29 20:45:10 +01:00
Martin Kiewitz 07568931ce SCI: fix null pointer access in logKernelCall
method was/is used for debugging only
CID 1003612
2014-01-27 23:31:40 +01:00
Martin Kiewitz a4bde6dade SCI: injecting "dual" view into King's Quest 6 CD
for dual mode (text+speech at the same time)
2013-12-24 23:31:17 +01:00
Martin Kiewitz 6957c5bce0 SCI: workarounds / new bug ids in comments 2013-12-24 15:20:21 +01:00
Martin Kiewitz 7664add3d2 SCI: readded kq6 stepmother patch for dual mode 2013-12-22 22:30:11 +01:00
Martin Kiewitz 3514f41302 SCI: LB2CD patch: remove audio mode reset code
on init/reset the game resets the audio mode to "speech", which would make it impossible to watch the intro using "dual mode"
2013-12-22 21:15:40 +01:00
Martin Kiewitz d5331ab923 SCI: improved lb2+kq6 patches (new speech state)
adds a third button state to the game menu
this state is "dual mode" (audio+text at the same time)
currently uses the "speech" graphic
CD versions of Laura Bow 2 + King's Quest 6 will now always get patched
2013-12-22 20:46:54 +01:00
Martin Kiewitz 68567ec2b1 SCI: improved one of the kq6 audio+text patches
KQPrint windows now get closed automatically when in audio+text mode
2013-12-21 23:54:35 +01:00
Martin Kiewitz d6dafa822a SCI: final script patcher cleanup 2013-12-20 16:05:36 +01:00
Martin Kiewitz e31b2bb1f5 SCI: another kq6 patch for text+audio
fixes cassima textboxes during the ending
2013-12-20 14:41:26 +01:00
Martin Kiewitz 0ba254475b SCI: script patcher comment adjust 2013-12-20 01:20:52 +01:00
Martin Kiewitz 322c5530dc SCI: even more script patcher cleanup 2013-12-20 01:17:55 +01:00
Martin Kiewitz 1d77c9f0cf SCI: script patcher cleanup 2013-12-20 01:01:26 +01:00
Martin Kiewitz a4f08654b3 SCI: kq6 script patch to fix "drink me" bottle
fixes bug #5252
2013-12-19 22:40:18 +01:00
Martin Kiewitz edd00bec67 SCI: another kq6 patch for audio+text support
fixes dialog of man in robe complaining about mints in pawn shop
2013-12-18 19:02:35 +01:00
Martin Kiewitz 997887a368 SCI: patch SQ4 bug with throwing at sequel police
SQ4 floppy only, Sierra's official patch didn't fix it properly
2013-12-15 23:36:39 +01:00
Martin Kiewitz cb7f258a12 SCI: pq1vga script patch to fix map restore bug
fixes bug #5016
2013-12-15 17:51:13 +01:00
Willem Jan Palenstijn 78e7f5b51c SCI: Make second pass when loading objects
This is because objects may be loaded before their base objects,
which causes initBaseObject to fail for SCI0.

Script::initializeObjectsSci0 already did this, but
SegManager::saveLoadWithSerializer did not when calling
initBaseObject after loading a savegame.
2013-12-14 14:19:33 +01:00
Matthew Hoops 70d3610f30 SCI: Add detection for Torin Mac 2013-12-11 20:28:50 -05:00