aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
2010-08-24SCI: Define xLast/yLast for LB2 floppy (which has no selectorFilippos Karapetis
vocabulary), since they're used inside kDoBresen() svn-id: r52343
2010-08-24SCI: more work on replacing save dialogMartin Kiewitz
also removing some previous code, because it wont work that way svn-id: r52342
2010-08-24SCI: changing signature of kRestoreGameMartin Kiewitz
and changing patch code accordingly svn-id: r52320
2010-08-24SCI: now pausing/unpausing music in replaced restore dialogMartin Kiewitz
dialog will not get replaced in sci32, nor in mother goose. Enable by adding "scireplacedialog" inside scummvm section of scummvm.ini file. Note: this feature is experimental svn-id: r52318
2010-08-23SCI: some more work on replacing restore dialogMartin Kiewitz
svn-id: r52314
2010-08-23SCI: storing game super class address now inside SciEngineMartin Kiewitz
svn-id: r52311
2010-08-23SCI: some work on replacing sierra restore dialogMartin Kiewitz
svn-id: r52305
2010-08-23SCI: multiple changes for mother goose vgaMartin Kiewitz
which is sci1 and sci1.1 fixes bug #3051145 - separating this mother goose from ega and sci2.1 - adding workaround when restoring saved games in these games, games try to calculate restored savedgameid instead of looking it up, we patch this code out and also set the global to the current savedgameid - adding workaround for scripts checking savedgameid to be below 13 (our savedgameids begin at 100 now) - changing official range for savedgameids from 1000->1999 to 100->199, otherwise mother goose would have required much larger patches and this range should be fine even if we replace savedgame dialogs later svn-id: r52301
2010-08-23SCI: Check for EOF and errors when reading from a file. Fixes bug #3049360 - ↵Filippos Karapetis
"SCI: Bug in file read/write operations" svn-id: r52298
2010-08-23SCI: Fix whitespaceWillem Jan Palenstijn
svn-id: r52297
2010-08-23SCI: Fixed bug #3051163 - "MOTHERGOOSE: Crash at the very end" and merged 2 ↵Filippos Karapetis
SQ6 workarounds svn-id: r52294
2010-08-22SCI: Fixed bug #3048908 - "PQ3EGA: Wrong speech bubble background colors" ↵Filippos Karapetis
and added a FIXME inside kGraphDrawLine svn-id: r52291
2010-08-22SCI: Fixed bug #3050856 - "SQ3 : Crash at intro"Filippos Karapetis
svn-id: r52289
2010-08-22SCI: Add uninit'd workaround for the SQ6 demoMatthew Hoops
svn-id: r52283
2010-08-22SCI: Reimplemented the kShow kernel command, used by the inbuilt SCI ↵Filippos Karapetis
debugger. There is no real need to implement kernel debug commands, but since this one maps almost directly to our own "show" debug command, it has been reimplemented (was removed in rev #45310). Normally, there is no real need to implement kernel functions for debug functionality, since there are advanced tools for this purpose nowadays (plus, ScummVM's debugger). Fixes bug #3050616 - "QFG1 EGA: priority/control/view functions crash, debug mode" svn-id: r52281
2010-08-22SCI: Fix a bug in kFileIOWriteString. The first return statement should go ↵Matthew Hoops
inside the if-statement. svn-id: r52269
2010-08-21Reverted part of r52256, it's not really undefined behavior (the two parts ↵Filippos Karapetis
of the bitwise OR aren't reading from the same source) svn-id: r52258
2010-08-21SCI: Fixed potentially undefined behaviorFilippos Karapetis
svn-id: r52256
2010-08-21SCI added the "init" selector to the list of static selectors of LB2 floppy ↵Filippos Karapetis
(which has no selector vocabulary), so that the workarounds of the CD version match with the ones from the floppy version svn-id: r52253
2010-08-21SCI: Fixed bug #3050122 - "QFG3: Crash after throwing the spear of death"Filippos Karapetis
svn-id: r52251
2010-08-20SCI: added another comment to kRandomMartin Kiewitz
about hoyle4 svn-id: r52246
2010-08-20SCI: kRandom now exactly behaving like sierra sciMartin Kiewitz
hoyle4 and lsl5 door code work now svn-id: r52244
2010-08-20SCI: Fixed typos in kRandom()Filippos Karapetis
svn-id: r52242
2010-08-20SCI: Reverted kRandom to use unsigned integers again (used e.g. in LSL5) and ↵Filippos Karapetis
added a temporary hack for the special case in Hoyle 4 (0x0, 0xFFFF), till we find out how this is handled correctly svn-id: r52240
2010-08-20SCI: Fixed bug #3039308 - "HOYLE4: Rules Dialog missing background"Filippos Karapetis
svn-id: r52237
2010-08-20SCI: Fixed bug #3049435 - "QFG3: Crash at Simbani warrior challenge"Filippos Karapetis
svn-id: r52235
2010-08-20SCI: Fixed bug #3049146 - "MOTHERGOOSE CD: Rooms 7, 23 crash", merged some ↵Filippos Karapetis
similar workaround entries and added a comment for invalid rects received in kCan(t)BeHere svn-id: r52223
2010-08-20SCI: Fixed the GM detection introduced in rev #52211 to check the first ↵Filippos Karapetis
available track, instead of track 1 (which doesn't always exist, e.g. in Pharkas). Also, added a comment inside applyPatch() svn-id: r52222
2010-08-20SCI: Changed a warning into a debugCFilippos Karapetis
svn-id: r52220
2010-08-19SCI: Fixed bug #3038228 - "MOTHERGOOSE: Crash at the castle"Filippos Karapetis
svn-id: r52214
2010-08-19SCI: Fixed one of the bugs in hoyle3, from bug report #3038837 - "HOYLE3: ↵Filippos Karapetis
EGA/VGA Crashes" (that report includes more issues) svn-id: r52213
2010-08-19SCI: Fixed bug #3039768 - "QFG3: Glitch When Making Thief Sign to Rope ↵Filippos Karapetis
Maker", by fixing the implementation of kSetJump, based on Greg's SCI code. kSetJump returned an incorrect result, causing the actor to jump outside the screen svn-id: r52207
2010-08-18SCI: Fixed bug #3039679 - "SCI Fanmade - The Gem Scenario: Crash at the start"Filippos Karapetis
svn-id: r52199
2010-08-18SCI: Fixed bug #3041232 - "LB2Floppy: Crash at Museum"Filippos Karapetis
svn-id: r52197
2010-08-18SCI: Fixed script bug #3048054 - "LONGBOW: crash when opening hand code" ↵Filippos Karapetis
(German version) svn-id: r52196
2010-08-18SCI: Fixed bug #3038433 - "HOYLE1: Crashes"Filippos Karapetis
svn-id: r52182
2010-08-18SCI: CleanupFilippos Karapetis
svn-id: r52181
2010-08-18SCI: Fixed bug #3042964 - "KQ4: Signature Mismatch"Filippos Karapetis
svn-id: r52180
2010-08-18SCI: Resolved a FIXME concerning scripts with more than one export table (it ↵Filippos Karapetis
only makes sense for SCI0-SCI1 games) svn-id: r52179
2010-08-17SCI: Refactored readPoint() to accept a segment reference to the polygon ↵Filippos Karapetis
data, thus removing the check for invalid segment types. Also, added a sanity check to verify that the memory reference to polygon data is big enough to hold all the expected polygon vertices (thanks to waltervn) svn-id: r52176
2010-08-17Limited the sanity check in rev #52174 to invalid segment types only ↵Filippos Karapetis
(apparently, polygon data may be placed in non-dynmem segments too) svn-id: r52175
2010-08-17SCI: Fixed bug #3034501 - "LSL6: Segfault while leaving the penthouse"Filippos Karapetis
svn-id: r52174
2010-08-17SCI: added a wrapper for GUI::MessageDialogFilippos Karapetis
svn-id: r52171
2010-08-17SCI: commenting out hoyle 4 script patchMartin Kiewitz
svn-id: r52143
2010-08-16SCI: Fix uninit'd temp in longbow. See bug #3046200Matthew Hoops
svn-id: r52126
2010-08-16SCI: adding patch for eq2 / ecorderMartin Kiewitz
initial title now gets removed svn-id: r52122
2010-08-15SCI: Change abs() to ABS()Torbjörn Andersson
I'm not sure why we define our own ABS(), but I assume we have some compelling reason for it. svn-id: r52105
2010-08-15SCI: adding workaround for island dr. brainMartin Kiewitz
fixes bug #3045225 svn-id: r52102
2010-08-14SCI: Silence shadowed variable warning of g++.Johannes Schickel
svn-id: r52082
2010-08-14SCI: adding workaround for camelot during endingMartin Kiewitz
fixes bug #3044734 also fixing heap corruption during the ending svn-id: r52077