aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-06-09Rewind the underlying audio stream on LoopingAudioStream creation.Johannes Schickel
Also mention in the documentation that both LoopingAudioStream and SubLoopingAudioStream do rewind the underlying in their constructor. svn-id: r49539
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-08chmod +x mkmanifest.plAngus Lees
svn-id: r49526
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-08Add png icon files that were too binary to be part of original Android patch.Angus Lees
svn-id: r49508
2010-06-08Whitespace fixup in last submit. I'll get the hang of this eventually :/Angus Lees
svn-id: r49507
2010-06-08Provide a replacement for bionic's __assert().Angus Lees
The usual Android version doesn't actually print the assert message before aborting. svn-id: r49506
2010-06-08Remove obsolete ANDROID_VERSION_GE macroAngus Lees
svn-id: r49505
2010-06-08Remove unnecessary explicit _endian=little for AndroidAngus Lees
svn-id: r49504
2010-06-08Made reconstruct_stack() a member of SegManagerFilippos Karapetis
svn-id: r49503
2010-06-08Add a few files mistakenly left out of initial Android patch :(Angus Lees
svn-id: r49502
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-07Document the Groovie engine news and reorder in order to match the previous ↵Jordi Vilalta Prat
releases. svn-id: r49490
2010-06-07Remove some extra spacesJordi Vilalta Prat
svn-id: r49489
2010-06-07Fix some typos in a commentJordi Vilalta Prat
svn-id: r49488
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-07PSP: found bug in fast getMillis() implementation. Fixed it by adding a ↵Yotam Barnoy
fixed amount to the time counter. svn-id: r49485
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-06PSP: faster way of getting file sizeYotam Barnoy
svn-id: r49457