aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2010-06-09Fixed compilation when the old sound code is usedFilippos Karapetis
svn-id: r49540
2010-06-09SCI: fix multiple playing of the same sound in a row (without using looping) ↵Martin Kiewitz
- thx to LordHoto for helping me finding this one out - fixes pharkas right at the start (hammering only played once) svn-id: r49538
2010-06-09Merged script_init_engine() and game_init() and cleaned up SciEngine::run() ↵Filippos Karapetis
a bit svn-id: r49537
2010-06-09Globals from script 0 are now initialized in script_init_engine(), and are ↵Filippos Karapetis
accessed from the relevant variables pointer. Removed direct reference to script 0 from the engine state svn-id: r49536
2010-06-09Fix compile errorsWillem Jan Palenstijn
svn-id: r49535
2010-06-09Renamed the SciEvent class to EventManager, to separate it from the sciEvent ↵Filippos Karapetis
structure, and removed it from the engine state svn-id: r49534
2010-06-09Merged restAdjust and restAdjustCur, as we don't save the restAdjust ↵Filippos Karapetis
modifier inside saved games (rightfully so). Also, the segment manager is now reset inside the main loop, when the game is restarted, not in game_exit() svn-id: r49533
2010-06-08Don't shrink the stack after reconstructing it, when loading a saved game. ↵Filippos Karapetis
Fixes game restoring in some games (e.g. LSL3), a regression from commit #49376 svn-id: r49525
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