aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2010-07-31SCI: kGameIsRestarting returns 2 when we restoredMartin Kiewitz
fixes castle of dr. brain save issue in puzzle room, fixes island of dr. brain save issue when saving in first room svn-id: r51538
2010-07-31SCI: adjusting inside view::getCelRect for sci0earlyMartin Kiewitz
fixes cels being placed wrongly, sci0early didnt have the z adjust. svn-id: r51537
2010-07-31SCI: updating commentMartin Kiewitz
svn-id: r51536
2010-07-31SCI: adding polish lsl1Martin Kiewitz
svn-id: r51535
2010-07-31SCI: kAnimate - limit update of nsRect when scaledMartin Kiewitz
only set nsRect when being drawn later (scaled only), fixes sq5 instant-death in elevator shaft svn-id: r51534
2010-07-31SCI: fixing stupid typoMartin Kiewitz
svn-id: r51533
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: Add comment about stability requirements in makeSortedList.Johannes Schickel
svn-id: r51523
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: fixing view scaling codeMartin Kiewitz
fixes crash in sq5 with elevator on goliath svn-id: r51520
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: finally fixing font codesMartin Kiewitz
fixing regressions of r51511&51512 and cleaning up as well - for sq5 svn-id: r51513
2010-07-30SCI: fixing another text color code issueMartin Kiewitz
(sq5 some dialog boxes again using wrong font in rare cases) svn-id: r51512
2010-07-30SCI: fixing font code handling in kTextSizeMartin Kiewitz
fixes incorrect window proportions in sq5 when hailing ship at clorox II svn-id: r51511
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 PQ2 1.001.006 from bug report #3028479Filippos Karapetis
svn-id: r51498
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: Ignore setAttribute() on any non-existent menu itemsMatthew Hoops
This fixes two fan games: Al Pond 2 and Aquarius. The original interpreter did this as well. svn-id: r51477
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: Add detection for the April 2010 competition template (fan game)Matthew Hoops
svn-id: r51469
2010-07-29BUILD: Remove redundant MODULE_DIRS modificationMax Horn
svn-id: r51464
2010-07-29SCI: Fixed script bug #3036483 - "LSL2: Crash at the ship"Filippos Karapetis
svn-id: r51463
2010-07-29M4: Added further code fragments to enable player to move againPaul Gilbert
svn-id: r51462
2010-07-29M4: Further work done on the setup and starting of actionsPaul Gilbert
svn-id: r51461
2010-07-29SCI: Added back debug output to sound commandsFilippos Karapetis
svn-id: r51460
2010-07-29SCI: updating screen within kAnimate as well - fixes pseudo hang in eq1 ↵Martin Kiewitz
credits (bug #3036154) svn-id: r51459
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