aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2010-06-08SCI: set default palette after initializing music driver, fixes palette ↵Martin Kiewitz
getting messed up when using mt32 emulation svn-id: r49523
2010-06-08CleanupFilippos Karapetis
svn-id: r49521
2010-06-08SCI: check for SOL header in audio36 patchesMartin Kiewitz
svn-id: r49520
2010-06-08Merged the restarting_flags, script_abort_flag, and restoring members of the ↵Filippos Karapetis
EngineState class into one variable, abortScriptProcessing. The flag kept to signify a game restart has been placed in a boolean, gameWasRestarted svn-id: r49518
2010-06-08Modification to remove false positive "Possible divide by zero" warnings ↵David Turner
given by cppcheck-1.43. These are incorrect as '/' operator has precedence over >>, but this does improve readability anyway. This bug in cppcheck has already been corrected: http://sourceforge.net/apps/trac/cppcheck/ticket/1714 svn-id: r49517
2010-06-08Fixed compilation when the SCI32 code is disabledFilippos Karapetis
svn-id: r49514
2010-06-08Merged _game_run() inside game_run(). Some cleanupFilippos Karapetis
svn-id: r49513
2010-06-08Merged sync_SegManagerPtr() inside EngineState::saveLoadWithSerializer()Filippos Karapetis
svn-id: r49512
2010-06-08SCI: use base36 sync/audio patches for sci1.1 as well and also check if ↵Martin Kiewitz
patch filenames make sense, otherwise skip them - also remove hack for excluding bootdisk.* and aud*.drv svn-id: r49509
2010-06-08Made reconstruct_stack() a member of SegManagerFilippos Karapetis
svn-id: r49503
2010-06-08Add a version check for base36 encoded patches - they were introduced in SCI2Filippos Karapetis
svn-id: r49501
2010-06-08SCI: if song isn't playing, set signal and don't set fadeout/fadein ↵Martin Kiewitz
variables - fixes lsl3 music lost after entering/exiting tv room (bug #3007406) svn-id: r49500
2010-06-07SCI: slight cleanup on processPatch, etc.Martin Kiewitz
svn-id: r49495
2010-06-07SCI: fix regression from #49484, we were ignoring 65535 patches and this ↵Martin Kiewitz
broke kq6 - the check was previously for -1 and this case wasn't able to happen at all, maybe it was left-over code from freesci somehow svn-id: r49494
2010-06-07Added support for SCI2+ base36 encoded patches (audio36 and sync36)Filippos Karapetis
svn-id: r49491
2010-06-07Remove some extra spacesJordi Vilalta Prat
svn-id: r49489
2010-06-07Groovie:Jordi Vilalta Prat
- Rewritten T7G's font code to subclass Graphics::Font and make it cleaner. - Use theme fonts for the Mac version of T7G (which used ugly system fonts originally). With this the Mac version should be completable. - Cleanup include interdependencies. svn-id: r49487
2010-06-07Fixed regression from commit #49465 - there are in fact two restAdjust ↵Filippos Karapetis
variables, the current and global one svn-id: r49486
2010-06-07Fix gcc warning about an comparison which is always false due to data type ↵Johannes Schickel
range. svn-id: r49484
2010-06-07Allow for the other audio36 patch naming schemes (Mac and some Torin ones).Matthew Hoops
svn-id: r49482
2010-06-07Added extra positioning and dummy depths surface so that the introduction ↵Paul Gilbert
cutscene now starts up svn-id: r49480
2010-06-07Changed a create call to setSize to fix compiler errorPaul Gilbert
svn-id: r49479
2010-06-07Initial conversion of the AnimviewView class to use the expanded ↵Paul Gilbert
MadsAnimation class, rather than the older AAFile skeleton class svn-id: r49478
2010-06-07Some initial code for audio36 and sync36 patch supportFilippos Karapetis
svn-id: r49477
2010-06-07Moved destruction of globals and resource manager to common M4 engine base ↵Paul Gilbert
class - this fixes a bug where resources were still being tossed after the resource manager was destroyed svn-id: r49476
2010-06-07SCI: Relax signature of kCreateTextBitmap.Walter van Niftrik
svn-id: r49470
2010-06-07SCI: Adjust kGetSaveFiles for SCI32.Walter van Niftrik
svn-id: r49469
2010-06-07Change some kString subops to use the raw string directly instead of through ↵Matthew Hoops
a Common::String. Fixes usage with strings from kGetSaveFiles(). svn-id: r49468
2010-06-06Now that EngineState is not deleted when loading games, we can move some ↵Filippos Karapetis
more state-related variables to it, and remove several FIXME's about non-const global variables. Also, the entries in the data stack are now deleted when loading (fixes a memory leak - thanks to digitall for this). svn-id: r49465
2010-06-06Throw a warning in kString(At) if the index is out-of-bounds instead of ↵Matthew Hoops
having it assert out. svn-id: r49464
2010-06-06add missing decodeNextAnimationFrame in default case for sequence 9Gregory Montoir
svn-id: r49458
2010-06-06fix sequence frame numbering (decrement if getCurFrame now returns the last ↵Gregory Montoir
decoded frame number) svn-id: r49455
2010-06-06use palette image during sequence 3 scrollingGregory Montoir
svn-id: r49452
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