aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-06-06Correction for SCI valgrind uninit memory error in MIDI sound which occurs ↵David Turner
during LSL6 intro. This may be "hiding" a bug in the use of sound/midiparser.cpp in SCI i.e. incorrect use of parseNextEvent(), so this should be reviewed, but this patch initialises _next_event at object construction, which corrects this, should not break anything else and is good practice. svn-id: r49445
2010-06-05Replaced a leftover Common::File::exists() call in the fallback detectorFilippos Karapetis
svn-id: r49443
2010-06-05GP2X Wiz: Add missing "#include "graphics/scaler/aspect.h"".John Willis
svn-id: r49442
2010-06-05GP2X Wiz: Update handy shell scripts.John Willis
svn-id: r49441
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-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