aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
2010-07-31SCI: Whitespace cleanup.Johannes Schickel
svn-id: r51532
2010-07-31SCI: Fix walking in GK1 later in the gameMatthew Hoops
The Feature class uninit'd workaround needs to be extended to all levels of inheritance. svn-id: r51527
2010-07-31SCI: fix kAddToPic called with view dataMartin Kiewitz
and adding workaround for pq2 when showing windows with pictures change to kAddToPic fixes bad coordinates of cels when restoring the game (should also fix lsl2) svn-id: r51526
2010-07-30SCI: Switch to Common::RandomSource.Johannes Schickel
Since I got no response to my mail to -devel, I just assume that there is no specific reason for using rand() in SCI. As explained in my mail to -devel about why SCI uses rand, this might allow SCI to work with our event recording, when that ever gets finished. I adapted kRandom so that it also supports negative random numbers. And furthermore that the toNumber argument is smaller than the fromNumber argument. I am not sure whether that really happens though, but it should be safer to have this. I marked that place with an TODO/CHECKME. svn-id: r51521
2010-07-30SCI: speed throttler cleanup and iceman commentMartin Kiewitz
svn-id: r51518
2010-07-30SCI: Fix saving/restoring games in fan gamesMatthew Hoops
The SCI Studio function library incorrectly calls kDeviceInfo with one parameter to get the current device. svn-id: r51514
2010-07-30SCI: adding workaround for kSetCursor kq5cdMartin Kiewitz
adding comments as well svn-id: r51510
2010-07-30SCI: Updated the op_mod changes and added a link to the original bug reportFilippos Karapetis
svn-id: r51509
2010-07-30SCI: Added handling of negative numbers toFilippos Karapetis
op_mod for SCI01 and newer games. Fixes the battlecruiser mini-game in SQ5. Many thanks to lskovlun, wjp and m_kiewitz for their joined effort on this issue svn-id: r51508
2010-07-30Merged the two QFG3 workarounds and the two SQ1 workaroundsFilippos Karapetis
svn-id: r51506
2010-07-30SCI: Adjusted return value of the script bug workaround in rev #51504 to a ↵Filippos Karapetis
bigger number, just in case svn-id: r51505
2010-07-30SCI: Fixed script bug #3036263, "LB2CD: Disappearing Journal Entries" by ↵Filippos Karapetis
changing the return value of the workarounds made for bugs #3036274 and #3035068. The game scripts perform lt on the uninitialized temp, and if it's smaller than expected they start removing journal entries svn-id: r51504
2010-07-30SCI: arguments of mag-kSetCursor documentedMartin Kiewitz
adding primitive support to just set the cursor to the required view resource, nothing else implemented yet svn-id: r51501
2010-07-30SCI: cleaning up kSetCursorMartin Kiewitz
showing warning about unsupported mag-cursor when argc = 10 is used removing argc = 9 support, must have been a script bug somewhere svn-id: r51500
2010-07-30SCI: Updated some comments related to Freddy Pharkas and silenced warning ↵Filippos Karapetis
for kDoAudio subop 13 svn-id: r51499
2010-07-30SCI: Added a case for 10 params inside kSetCursorSci11(), thus fixing the ↵Filippos Karapetis
crash from bug #3034973 - "PHARKAS: Crash early in game' svn-id: r51497
2010-07-30SCI: Fixed script bug #3036942 - "KQ4SCI demo: Menu crash"Filippos Karapetis
svn-id: r51496
2010-07-30SCI: Fixed script bug #3036918 - "HOYLE3: Uninitialized read for temp 1"Filippos Karapetis
svn-id: r51494
2010-07-29SCI: Fixed script bug #3036601 - "LONGBOW: Druid hand code brings up ScummVM ↵Filippos Karapetis
console", along with a related bug after giving an answer through the hand code svn-id: r51486
2010-07-29SCI: fixing hoyle 3Martin Kiewitz
hoyle 3 is using kCanBeHere, but it has cantBeHere and canBeHere selectors so our auto detection would fail it also has a cantBeHere stub in Actor, thus it won't set acc at all. We reset acc because of that before calling cantBeHere selector (!) of the actors (canBeHere isnt used) so that we wont get a collision otherwise because acc is non zero when calling kDoBresen (fixes all sorts of bugs, clone2727 should clean it up :P svn-id: r51485
2010-07-29SCI: reverting r51479 and adding TODOs for fixing the hoyle issue (fixing ↵Martin Kiewitz
this properly should make credits etc. appear and solve all the other issues that clone submitted) svn-id: r51484
2010-07-29SCI: finished logkernel commandMartin Kiewitz
use 'logkernel DoSound' on to log calls to all kDoSound subfunctions. use 'logkernel DoSoundPlay' to log calls to kDoSound(play) svn-id: r51483
2010-07-29SCI: midi hold behaviour fixedMartin Kiewitz
we shouldnt react on hold midi data when no actual hold was called, fixes eq2/amulet problem (bug #3035392) svn-id: r51482
2010-07-29SCI: Fixed Hoyle 3 bugs #3035077, #3035080, #3035081 and #3035242, by using ↵Filippos Karapetis
the "completed" case removed in rev #50921 for Hoyle 3 svn-id: r51479
2010-07-29SCI: fixing qfg1 workaroundMartin Kiewitz
svn-id: r51476
2010-07-29SCI: some subfunction support for logkernelMartin Kiewitz
svn-id: r51475
2010-07-29SCI: Removed the language check from the Filippos Karapetis
KQ5 workaround, as there could be an issue with other non-English versions, too (e.g. the Spanish floppy version) svn-id: r51472
2010-07-29Extended the workaround for KQ5 French floppy for the German floppy too. ↵Filippos Karapetis
Fixes bug #3035396 - "KQ5: Crash when start the game" svn-id: r51471
2010-07-29SCI: Fixed bug #3036331 - "KQ5: Floppy versionFilippos Karapetis
crashes after title", together with a related problem (kRedrawBox is called erroneously with an additional parameter when any dialog is closed) svn-id: r51470
2010-07-29SCI: Fixed script bug #3036483 - "LSL2: Crash at the ship"Filippos Karapetis
svn-id: r51463
2010-07-29SCI: also break in AvoidPath instead of continuing, when the start point is ↵Filippos Karapetis
contained in multiple polygons, otherwise we'll end up in an infinite loop svn-id: r51458
2010-07-29Oops, removed leftover codeFilippos Karapetis
svn-id: r51457
2010-07-29SCI: Silenced warning when exiting in LSL6 (bug report #3035533), and ↵Filippos Karapetis
commented out a related unused variable in kSetQuitStr svn-id: r51456
2010-07-29SCI: Fixed bug #3036390 - "QFG3: Crash when talking to King Rajah", along ↵Filippos Karapetis
with a similar problem later on while talking to the king svn-id: r51455
2010-07-28SCI: Break out instead of continuing when an end point is contained in ↵Filippos Karapetis
multiple polygons, while running the avoidpath algorithm (or we'll end up in an infinite loop). Fixes bug #3036299 - "LB2CD: Game Hangs at Speakeasy" svn-id: r51450
2010-07-28SCI: Added forgotten bug number to the previous workaroundFilippos Karapetis
svn-id: r51448
2010-07-28SCI: Fixed bug #3036291, "LB2CD: Crash in Docks, actor animation"Filippos Karapetis
svn-id: r51446
2010-07-28SCI: Changed another warning into debug outputFilippos Karapetis
svn-id: r51445
2010-07-28SCI: Changed a warning into a debug messageFilippos Karapetis
svn-id: r51444
2010-07-28SCI: Extended the LB2 workaround for bug #3035068 to all rooms. Fixes bug ↵Filippos Karapetis
#3036274, "LB2CD: Crash in Police Station, asking about Ziggy" svn-id: r51443
2010-07-28SCI: changed kRandom signatureMartin Kiewitz
accepts 1-3 parameters now for all SCI versions (shouldnt hurt and argc 3 will error() out anyway) changed comments a bit svn-id: r51438
2010-07-28SCI: implement additional variants of kRandomMartin Kiewitz
fixes pq1vga poker game (bug #3036125) svn-id: r51435
2010-07-28SCI: fix typo in commentMartin Kiewitz
svn-id: r51431
2010-07-28SCI: Set the LB2 floppy open selector so we don't have to have duplicate ↵Matthew Hoops
workaround entries svn-id: r51429
2010-07-28SCI: Add workaround for a KQ7 uninitialized tempMatthew Hoops
svn-id: r51428
2010-07-28SCI: making a global eq1 workaround :PMartin Kiewitz
svn-id: r51427
2010-07-28SCI: eq1 workaround compression and new onesMartin Kiewitz
svn-id: r51426
2010-07-28SCI: Fix compilation when DEBUG_PARSER is definedMatthew Hoops
svn-id: r51425
2010-07-28SCI: adding eq1cd workaroundMartin Kiewitz
svn-id: r51424
2010-07-28SCI: adding workarounds for eq1cdMartin Kiewitz
svn-id: r51420