aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2010-06-06Now opening all files via getVolumeFile()Filippos Karapetis
svn-id: r49451
2010-06-06Bugfixes for correct positioning of opening animationPaul Gilbert
svn-id: r49448
2010-06-06Bugfix for #2974817 - Mad Drongo Animation MalfunctionPaul Gilbert
svn-id: r49447
2010-06-05Replaced a leftover Common::File::exists() call in the fallback detectorFilippos Karapetis
svn-id: r49443
2010-06-05Fixed the cursor limiting code in GK1Filippos Karapetis
svn-id: r49440
2010-06-05Rewrote the remaining parts of the ResourceManager class to work with file ↵Filippos Karapetis
streams, thus removing the SCI_detection hack in the fallback detector svn-id: r49438
2010-06-05Various bugfixes to the animation code - first Rex animation now plays, ↵Paul Gilbert
albeit in the wrong place svn-id: r49437
2010-06-05Added missing animation initialisation codePaul Gilbert
svn-id: r49436
2010-06-04Bugfix for wrong parameter order in scene resources load method call. Also ↵Paul Gilbert
added fragment to destroy an active animation when it's finished animating svn-id: r49434
2010-06-04SCI: Fix for Valgrind Warning in Palette.David Turner
svn-id: r49433
2010-06-04Some more work on channel remapping: Moved the remapping code to the music ↵Filippos Karapetis
loading code (still disabled) svn-id: r49430
2010-06-04Simplified the channel monitoring code inside the SoundResource classFilippos Karapetis
svn-id: r49429
2010-06-04Ensure that zones/animations always get the same index number.Nicola Mettifogo
When a zone/animation is skipped by the parser because already loaded, the index is now increased. This does not affect NS, since indexes are only used for scene sorting there, but is relevant for BRA, where indexes need to be coherent across location changes. Patch #3004008 by fuzzie. svn-id: r49428
2010-06-04Bugfix for the loading of the animation frame listPaul Gilbert
svn-id: r49427
2010-06-04Added code and support routines for destroying animations correctly, which ↵Paul Gilbert
also necessitated changing the sprite list code svn-id: r49426
2010-06-04SCI: Replace strncpy with Common::strlcpyWalter van Niftrik
svn-id: r49425
2010-06-04SCI: Add savegame version check in CheckSaveGameWalter van Niftrik
svn-id: r49424
2010-06-04SCI: CleanupWalter van Niftrik
svn-id: r49423
2010-06-03Replace two uses of ::qsort by Common::sort.Johannes Schickel
svn-id: r49418
2010-06-03- Made some methods constJohannes Schickel
- Prefer const_iterator over iterator in SciMusic::findUsedChannels svn-id: r49417
2010-06-03A first attempt at channel remapping (currently disabled)Filippos Karapetis
svn-id: r49416
2010-06-03Added code to get which channels are used by a sound. Also, fixed a crash ↵Filippos Karapetis
when using Sierra's GM patches, a regression from commit #49391. svn-id: r49415
2010-06-03Added channel remapping to MidiParser_SCI (currently unused)Filippos Karapetis
svn-id: r49414
2010-06-03Re-enabled the cursor position limiting codeFilippos Karapetis
svn-id: r49413
2010-06-03Renamed some variables to silence GCC warnings.Torbjörn Andersson
svn-id: r49412
2010-06-03Fixed crashing with wave file patches, a regression from commit #49391Filippos Karapetis
svn-id: r49411
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