aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2010-06-03Properly implemented the logic for loading the correct interface background ↵Paul Gilbert
as specified in a scene's resources svn-id: r49409
2010-06-03The setCursor selector is no longer used for the detection of the ↵Filippos Karapetis
kSetCursor() kernel function semantics svn-id: r49408
2010-06-03Fixed compilationFilippos Karapetis
svn-id: r49407
2010-06-03Moved several object-related defines inside vm.h into segment.h, where the ↵Filippos Karapetis
Object class resides. Also, removed several unused defines svn-id: r49406
2010-06-03Moved the MADS interface view into mads_scene.cpp and did a major cleanup of ↵Paul Gilbert
scene loading code svn-id: r49405
2010-06-02Fix a regression from r49377 - we should be checking against code in ↵Matthew Hoops
addition to index for duplicate MLST's. svn-id: r49395
2010-06-02Fixed regression from commit #49332 (merging of the SCI0 and SCI11 relocate ↵Filippos Karapetis
functions, where the SCI0 equivalent had a +1 count): it seems that we should skip over zero exports, however the total number of valid exports remains the same. Fixes KQ5 and QFG2. This also fixes the relocation calculation of script 71 in SQ3, so remove the comment that the script has broken relocation entries svn-id: r49394
2010-06-02In Riven, if we get a change card opcode on a mouse down event, ignore the ↵Matthew Hoops
next mouse up event so we don't misinterpret that as an event in the next card; minor cleanup. svn-id: r49393
2010-06-02- Fixed findGameObject() to properly handle SCI0-SCI1 games where the first ↵Filippos Karapetis
block of script 0 isn't the exports block - Changed many places where Common::File is used directly to use Common::SeekableReadStream instead (in order to ultimately remove the SCI_detection hack in the fallback detector) svn-id: r49391
2010-06-02If we can't find the game object or game ID in fallback detection, break out ↵Matthew Hoops
instead of assuming the script is there. Fixes a segfault when detecting an LSCI game. svn-id: r49389
2010-06-02OSYSTEM: Get rid of kFeatureAutoComputeDirtyRectsMax Horn
svn-id: r49388
2010-06-02Fix warningMax Horn
svn-id: r49386
2010-06-01Fixed the detection of SCI2.1 games in the fallback detectorFilippos Karapetis
svn-id: r49382
2010-06-01Add support for SCI2.1 resource patches to the fallback detectorFilippos Karapetis
svn-id: r49380
2010-06-01Fix videos in Riven activated from a different card from which they are ↵Matthew Hoops
played; minor cleanup. svn-id: r49377
2010-06-01Stop reconstructing the engine state when restoring, but reset it insteadFilippos Karapetis
svn-id: r49376
2010-06-01SCI: Fix malloc<->new mismatch in SysStrings, try to increase readabilityMax Horn
svn-id: r49375
2010-06-01The parser vocabulary remains static throughout the game, thus it has been ↵Filippos Karapetis
removed from the engine state svn-id: r49373
2010-06-01The system strings segment is a fixed segment of the segment manager, which ↵Filippos Karapetis
doesn't change during the game, thus move all the system strings code and variables inside the segment manager svn-id: r49372
2010-05-31Added a new console command, verify_scripts, used for sanity checking of ↵Filippos Karapetis
SCI1.1-SCI2.1 game scripts svn-id: r49364
2010-05-31Merged all the script relocation code inside script_instantiate(), and ↵Filippos Karapetis
changed the warning when reading an invalid species into an error (as it's severe, and if it happens it means something is seriously wrong) svn-id: r49361
2010-05-31Wrote the initialization code for the exports and synonyms table to make ↵Filippos Karapetis
more sense and fixed a bug with the initialization of the synonyms pointer, introduced with rev #49336 svn-id: r49360
2010-05-31Fix change in r49356, Common::strlcpy should only be used on zero terminated ↵Johannes Schickel
source strings. The original code change with r49086 did only aimed at zero terminating the szFilename string (as the comment suggests), so I now changed it to use memcpy and a manual placement of the terminating zero. svn-id: r49357
2010-05-31Fix for DW2 engine abort with message "Cannot find file hienergy.sc!".David Turner
Bug introduced by r49086 change which could trim the last character of filenames. svn-id: r49356
2010-05-31SCI: break on anything, warn on anything but spaces in kReadNumberMartin Kiewitz
svn-id: r49355
2010-05-31Fixed operator precedence warningFilippos Karapetis
svn-id: r49353
2010-05-31Fix warning, whitespaceWillem Jan Palenstijn
svn-id: r49352
2010-05-31SCI: Silenced warning when no audio decoder is compiled inFilippos Karapetis
svn-id: r49351
2010-05-31Hopefully fixed compilationFilippos Karapetis
svn-id: r49350
2010-05-31The code that loads saved game from the launcherFilippos Karapetis
can now load SCI2 saved games. Added an explanation why the injected call is necessary svn-id: r49349
2010-05-31SCI: added TODO at kReadNumber space codeMartin Kiewitz
svn-id: r49348
2010-05-31In progress work implementing the animation playerPaul Gilbert
svn-id: r49347
2010-05-31The save/load object init code is now unified with the regular object init codeFilippos Karapetis
svn-id: r49346
2010-05-31SCI: skip spaces in kReadNumber - this happens in lsl3 introMartin Kiewitz
svn-id: r49345
2010-05-31SCI: when getting invalid chars in kReadNumber don't error() out, but create ↵Martin Kiewitz
a warning - we get invalid chars in the intro of lsl5, cause currently unknown svn-id: r49344
2010-05-31Merged several script instantiation-related functions inside ↵Filippos Karapetis
script_instantiate() svn-id: r49343
2010-05-31CleanupFilippos Karapetis
svn-id: r49342
2010-05-31Slight cleanupFilippos Karapetis
svn-id: r49339
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