aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2010-06-10Moved the MoveCountType enum above the GameFeatures class, as it's the only ↵Filippos Karapetis
class using it svn-id: r49561
2010-06-10Fixed compilation with the old music codeFilippos Karapetis
svn-id: r49560
2010-06-10Moved all of the game init/run/exit logic inside the SciEngine classFilippos Karapetis
svn-id: r49559
2010-06-10Removed some unnecessary whitespace. (Or should I have saved that for theTorbjörn Andersson
rapidly approaching, much coveted r50000? :-) svn-id: r49558
2010-06-09The segment manager is now initialized before the graphics subsystem. Fixes ↵Filippos Karapetis
the detection of the fastCast object on startup, and hence fixes LSL1VGA svn-id: r49553
2010-06-09SCI: document raw lipsync data skipping in readAudioMapSCI11()Martin Kiewitz
svn-id: r49550
2010-06-09The EngineState is no longer recreated when a game is restored, thus we ↵Filippos Karapetis
don't need to refresh pointers to it svn-id: r49549
2010-06-09Fixed crash in SCI2.1 gamesFilippos Karapetis
svn-id: r49546
2010-06-09Limit kPortrait to be used in the Windows version of KQ6 onlyFilippos Karapetis
svn-id: r49545
2010-06-09Proper fix for kernel name loading (regression from commit #49537)Filippos Karapetis
svn-id: r49544
2010-06-09Fixed regression from commit #49537Filippos Karapetis
svn-id: r49543
2010-06-09Disabled the mouse warping code, as it can be annoying in windowed modeFilippos Karapetis
svn-id: r49542
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