aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-04Created DefaultGraphicsManager.Alejandro Marzini
svn-id: r49420
2010-06-04Created DefaultAudioManager and DefaultMutexManager.Alejandro Marzini
Deleted base subsystems, managers will be used instead. svn-id: r49419
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-03We'll now default to non-touchpad mode on the iPadOystein Eftevaag
svn-id: r49403
2010-06-03Updated xcode projectOystein Eftevaag
svn-id: r49402
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-02IPHONE: Disable RTTI and C++ exceptionsMax Horn
svn-id: r49387
2010-06-02Fix warningMax Horn
svn-id: r49386
2010-06-01Fix bug #2999153: "IPHONE: No grabPalette() implementation"Max Horn
svn-id: r49384
2010-06-01Inline palettes in SDL backend into class OSystem_SDLMax Horn
svn-id: r49383
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-01This hopefully fixes the compilation of the GP2x backend.Johannes Schickel
svn-id: r49378
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-01Remove dead code from PS2 and GP2x backendsMax Horn
svn-id: r49374
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-06-01Removed OSystem pointer. Added left initialization code to file subsystem.Alejandro Marzini
svn-id: r49370
2010-06-01SDL audio subsystem created.Alejandro Marzini
svn-id: r49369
2010-05-31Revert the rest of 49362, which wasn't meant for trunkJordi Vilalta Prat
svn-id: r49366
2010-05-31Fix trunk compilation (don't try to compile non-existing files)Jordi Vilalta Prat
svn-id: r49365
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