aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-30JANITORIAL: Some small explanation about stability of sorting algorithms.Johannes Schickel
Special thanks to lskovlun for his suggestion to add this. svn-id: r51524
2010-07-30SCI: Add comment about stability requirements in makeSortedList.Johannes Schickel
svn-id: r51523
2010-07-30JANITORIAL: Add comment about the stability of Common::sort.Johannes Schickel
svn-id: r51522
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-30VIDEO: Ignore requests to unpause when video is already unpausedOri Avtalion
Previous behavior was to assert svn-id: r51517
2010-07-30VIDEO: Fix FLIC loopingMatthew Hoops
Thanks to salty-horse for finding this. Also, use Common::Rational directly to hold the frame rate to avoid rounding. svn-id: r51516
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-30PSP: optimized memcpy some more and fixed memcpy testingYotam Barnoy
Found that the particular implementation was producing messy assembly for misaligned copies. Improved it and also fixed up wrapping the memcpy, which would cause endless prints in case memcpy testing is asked for. svn-id: r51503
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-29DC: Let scummvm.ini override autodetect of gamesMarcus Comstedt
If a game CD has a scummvm.ini file with at least one game domain in it, the normal autodetection is now bypassed and a menu of only the games in the .ini file is presented instead. The descriptions of the games are taken from the .ini file, but icons are still scanned for in the old fashion. Note that previously ScummVM would read global options from the scummvm.ini file on the boot disc (if present), but now global options are instead taken from the scummvm.ini on the game disc (in case of a disc swap). svn-id: r51480
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-29DC: Specialize createConfig{Read,Write}Stream Marcus Comstedt
Implement platform-specific variants of createConfigReadStream() and createConfigWriteStream(), instead of inheriting the BaseBackend definitions. Nonstandard behavious is as follows: * createConfigWriteStream() always returns 0 (read-only filesystem) * createConfigReadStream() returns an empty MemoryReadStream instead of NULL if scummvm.ini does not exist. This is to make sure that loadDefaultConfigFile() always clears out any old config data, as I'll want to restart config parsing from scratch after a disc swap. svn-id: r51478
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-29DS: Add WRAP_MALLOC support to ds.mk, update commentsMax Horn
svn-id: r51474
2010-07-29DS: Get rid of DS_NON_SCUMM_BUILD and DS_SCUMM_BUILDMax Horn
svn-id: r51473
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: Unify how MODULE_DIRS is computed for backendsMax Horn
This should help avoid situations where MODULE_DIRS is not set to a complete list of build dirs (which causes troubles with the automatic header dependency detection logic). On the long run, we should replace the relevant code by a macro or also use rules.mk for this (with yet another if/else case add to it). svn-id: r51467
2010-07-29BUILD: Fix MODULE_DIRS for WinCE portMax Horn
svn-id: r51466
2010-07-29BUILD: Compile & link certain files only for specific BACKEND valuesMax Horn
svn-id: r51465