aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-05-30Limited access to the script export table and synonyms blockFilippos Karapetis
svn-id: r49338
2010-05-30SCI: Merge setLockers(1) call into Script::initMax Horn
svn-id: r49337
2010-05-30SCI: Script exports and synonyms are now initialized when a script is ↵Filippos Karapetis
loaded. Removed a sanity check inside script_instantiate_sci0 for a bug which no longer exists svn-id: r49336
2010-05-30Add md5's for Myst ME and Riven DVD French.Matthew Hoops
svn-id: r49335
2010-05-30CleanupFilippos Karapetis
svn-id: r49334
2010-05-30CleanupFilippos Karapetis
svn-id: r49333
2010-05-30- Merged the SCI0 scriptRelocate() and SCI11 heapRelocate() functions inside ↵Filippos Karapetis
relocate(). scriptRelocate checked one more relocation entry, which seems wrong, so we're now checking for the correct number of relocations in all SCI versions - Re-added the error when script + heap exceed 64KB (better than an assert) - this should theoretically never happen, and it never has for the games tested - Removed the relocated sanity check - again, it shouldn't occur (else something else is wrong) svn-id: r49332
2010-05-30kScriptID can be used to load scripts with no exports. Don't throw warnings ↵Filippos Karapetis
in this case if no export is requested, as it's perfectly normal behavior svn-id: r49331
2010-05-30Moved setScriptSize() inside Script::init(), and removed a FIXME - the ↵Filippos Karapetis
SCI1.1 word-align is done inside Script::init() svn-id: r49330
2010-05-30Unified the script loading code, and marked an issue with the SCI11 heap ↵Filippos Karapetis
addresses svn-id: r49329
2010-05-30Made load_script() a member of the Script classFilippos Karapetis
svn-id: r49328
2010-05-30Limit access to the _bufSize, _scriptSize and _heapSize members of the ↵Filippos Karapetis
Script class svn-id: r49327
2010-05-30Fixed findGameObject() for SCI11 gamesFilippos Karapetis
svn-id: r49326
2010-05-30Split test cases for internal and external storage.Johannes Schickel
svn-id: r49325
2010-05-30Typo fixes.Johannes Schickel
svn-id: r49324
2010-05-30Fix non-const version of Common::String::begin.Johannes Schickel
Common::String::begin now assures the storage is a unique one, i.e. there are no other Common::String objects pointing at it. This allows for safe use of the writable iterators (and thus fixes the test case added with my last commit) svn-id: r49323
2010-05-30Add a (currently) failing test for reference logic in Common::String. (Taken ↵Johannes Schickel
from an example by fuzzie) svn-id: r49322
2010-05-30Fix file length of zip file members inside ZipArchive (thanks to fuzzie for ↵Johannes Schickel
reporting). svn-id: r49321
2010-05-30Clarify reasoning behind hack in Script::scriptRelocate()Lars Skovlund
svn-id: r49320
2010-05-30PSP: added preliminary support for using ME hardware to play MP3 files. If ↵Yotam Barnoy
the decoder fails to load, MAD is used instead. Disable with DISABLE_PSP_MP3. svn-id: r49319
2010-05-29Limit access to the _classTable array (now it's directly accessible only ↵Filippos Karapetis
inside saveLoadWithSerializer() svn-id: r49318
2010-05-29Mass renaming of selector-related functions, and removed some defines which ↵Filippos Karapetis
were just cloaking functions with a different name - GET_SEL32 -> readSelector - GET_SEL32V -> readSelectorValue - PUT_SEL32 -> writeSelector - PUT_SEL32V -> writeSelectorValue Also, changed some selector-related function names and variables to CamelCase svn-id: r49317
2010-05-29SCI: Merge Script::relocateBlock and Object::relocateMax Horn
The shared code now resides in a new static function named relocateBlock, which is invoked by the two methods. svn-id: r49316
2010-05-29SCI: Make Script::_exportTable const (yay :-)Max Horn
svn-id: r49315
2010-05-29Fix typo(?) which prevents streaming code from compiling.Neil Millstone
svn-id: r49314
2010-05-29DS: Various fixes to allow the DS port to compile on DevkitARM r30 and ↵Neil Millstone
libnds 1.4.3. svn-id: r49313
2010-05-29CleanupFilippos Karapetis
svn-id: r49312
2010-05-29Removed the scriptRelocateExportsSci11() hack. The open spell in QFG1VGA ↵Filippos Karapetis
works now (thanks to waltervn for all his help on this) svn-id: r49311
2010-05-29Removed the hack inside findGameObject(), and replaced it with code from the ↵Filippos Karapetis
segment manager, till we find out why the segment is sometimes off by 1 (note that findGameObject() works fine for finding the game ID itself) svn-id: r49310
2010-05-29Fixed regression in SCI2-SCI21 games from commit 49308Filippos Karapetis
svn-id: r49309
2010-05-29Added a method to the resource manager, to limit the places where script ↵Filippos Karapetis
exports are accessed, since for SCI11 and newer exports can be functions and objects (first step in removing scriptRelocateExportsSci11(), which is a gross hack and it fails in QFG1VGA) svn-id: r49308
2010-05-29Fixed potential memory leak found by cppcheck. Though I'm guessing that if thisTorbjörn Andersson
case happens, we may have bigger problems... svn-id: r49307
2010-05-29Removed some unused variables, found by cppcheck.Torbjörn Andersson
svn-id: r49306
2010-05-28Silenced some superfluous warnings in KQ5CDFilippos Karapetis
svn-id: r49294
2010-05-28Added some more info when severe script errors occurFilippos Karapetis
svn-id: r49293
2010-05-28Cleaned up detectGfxFunctionsType() slightly, and made it work for Hoyle 1 ↵Filippos Karapetis
and 2 properly. svn-id: r49292
2010-05-28CleanupFilippos Karapetis
svn-id: r49290
2010-05-28Added comments to kMergePoly()Filippos Karapetis
svn-id: r49289
2010-05-28Added a stub for kMergePoly, to avoid crashing in QFG1VGA after killing a ↵Filippos Karapetis
monster svn-id: r49288
2010-05-28Clarified variable usage for sequence list entry indexesPaul Gilbert
svn-id: r49287
2010-05-28Implemented needed methods for scrolling surfaces horizontally or verticallyPaul Gilbert
svn-id: r49286
2010-05-28SCI: read out vol selector on initSound/playSound for sci1early ↵Martin Kiewitz
(soundversion) as well - fixes lsl1demo svn-id: r49285
2010-05-27Cleanup AVI a bit, add support for stereo audioMatthew Hoops
svn-id: r49279
2010-05-27SCI: disabling music fading again, but only for sci32 - drivers seem to have ↵Martin Kiewitz
issues when fading in on gk1/sierra logo svn-id: r49271
2010-05-27correct typoMax Horn
svn-id: r49270
2010-05-27SCI: enabling fading again, issues in pharkas and gk1demo are actually ↵Martin Kiewitz
"normal" - maybe we should add some hack workaround, but the delay in ssci was just slow resource loading svn-id: r49269
2010-05-27GUI: Fix about dialog regression from my previous commitMax Horn
svn-id: r49268
2010-05-27Fix for bug #3007656: "GMM: Crash in 320x200"Max Horn
svn-id: r49267
2010-05-27GUI: Reduce code duplication in about dialogMax Horn
svn-id: r49266
2010-05-27Fix starting GK1.Matthew Hoops
svn-id: r49265