aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2
AgeCommit message (Collapse)Author
2010-09-20SWORD25: Fix bug #3032763: "SWORD2: Mute setting does not work"Eugene Sandulenko
svn-id: r52823
2010-09-18SWORD2: Plug memory leaks.Eugene Sandulenko
svn-id: r52795
2010-07-23SWORD2: Improve sync between local and global "mute" settingsTorbjörn Andersson
Broken Sword 2's options dialog allows you to mute any of speech, sound and sound effects, whereas ScummVM's options dialog just has one "master" mute setting. This is an attempt to keep them better in sync, though it's not perfect. Still, it may be good enough to fix bug #3032763 ("SWORD2: Mute setting does not work"). svn-id: r51218
2010-07-17Remove PalmOS portMax Horn
svn-id: r50964
2010-07-17DEBUGGER: Simplify how our console debugger works / is usedMax Horn
* Remove _isAttached member var and isAttached method * Engines now always call the onFrame method; whether it does something is decided by the debugger class resp. its subclasses * Make detach() protected instead of private, so that subclasses can invoke it * Remove _detach_now member var (call detach() instead). * Rename _frame_countdown to _frameCountdown and properly document it. * Add more doxygen comments * Cleanup svn-id: r50963
2010-07-16Cleanup.Torbjörn Andersson
svn-id: r50923
2010-05-23Another video player regression: When the palette changes, look up theTorbjörn Andersson
lightest/darkest available colours to use as white/black for the subtitles. It is possible that we could get away with fixed values for Broken Sword 2, since it has always had subtitles. But for Broken Sword 1, subtitles is a ScummVM addition, and we can't. svn-id: r49154
2010-05-23Keep the Broken Sword cutscene players from using up all available CPU.Torbjörn Andersson
Probably a regression from the recent video decoder rewrite, but I haven't checked if it also present in other engines. svn-id: r49153
2010-05-18Committing the rest of the VideoDecoder Rewrite from patch #2963496.Matthew Hoops
svn-id: r49079
2010-05-17Change VideoDecoder::getCurFrame() to mean the last frame drawn instead of ↵Matthew Hoops
the next frame to draw. This is patch 1 from patch #2963496 (VideoDecoder Rewrite). svn-id: r49063
2010-05-15Fixed a regression that caused some speech in cutscenes to not be played.Torbjörn Andersson
svn-id: r49037
2010-05-15Rewrote playMovieSound() to keep it from hogging memory in the resourceTorbjörn Andersson
manager. Perhaps this will finally fix the mysterious bug #2976008 ("BS2: Game lockup in British Museum"). svn-id: r49036
2010-05-06Make sure that all the parameters to an mcode command are initialised. ThisTorbjörn Andersson
fixes one Valgrind warning mentioned in bug #2976008 ("BS2: Game lockup in British Museum"), though I don't have high hopes that they are related. svn-id: r48961
2010-05-04Move initGraphics and initCommonGFX from to new header.Max Horn
These functions are only used internally be Engine subclasses, and by moving them to a separate header we can reduce indirect header dependencies. svn-id: r48934
2010-05-04Get rid of Engine::_gameDataDir.Max Horn
This greatly reduces indirect dependencies on several header files from common. svn-id: r48933
2010-04-17Fix warnings when FLAC&MP3&VORBIS is disabled; also fixes leak in TinselMax Horn
svn-id: r48696
2010-04-17This should fix the scaler Valgrind warning reported in (but probably not theTorbjörn Andersson
cause of) bug #2976008 ("BS2: Game lockup in British Museum"). svn-id: r48692
2010-04-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
2010-04-01Added an "fxq" debugger command to print the FX queue. I guess it might help inTorbjörn Andersson
debugging the "No free slot in FX queue!" bug I've heard of but never actually seen. (See for instance bug #2976008, "BS2: Game lockup in British Museum".) svn-id: r48458
2010-03-18COMMON: Get rid of Common::StringListMax Horn
svn-id: r48287
2010-03-18COMMON: Move Common::RandomSource to common/random.*Max Horn
svn-id: r48279
2010-02-21Patch for bug 2943361 by littleboy, adding full kb modifier support to all ↵Yotam Barnoy
engines + GUI and proper keypad handling svn-id: r48101
2010-02-03Yet more Flac -> FLAC changes for consistency.Johannes Schickel
svn-id: r47847
2010-02-03- Rename FlacStream to FLACStream.Johannes Schickel
- Rename makeFlacStream to makeFLACStream. svn-id: r47846
2010-01-28Hide VagStream implementation, only expose it via a factory methodMax Horn
svn-id: r47634
2010-01-26Moved audio stream implementations (for MP3, FLAC, etc.) to new dir ↵Max Horn
sound/decoders/ svn-id: r47579
2010-01-21Silenced some cppcheck warnings.Torbjörn Andersson
svn-id: r47427
2010-01-16Switch most AudioStream factories to use DisposeAfterUse::FlagMax Horn
svn-id: r47334
2010-01-09Add Mixer::getElapsedTime() method returning a Timestamp, thus offering a ↵Max Horn
higher precision than Mixer::getSoundElapsedTime(). Convert some video code to use it. svn-id: r47213
2010-01-08Switch Mixer::playInputStream to use DisposeAfterUse::FlagMax Horn
svn-id: r47182
2010-01-08Move DisposeAfterUse::Flag from Common to global namespace, and into a new ↵Max Horn
header common/types.h svn-id: r47180
2010-01-08Since AudioStream looping is no longer handled by the Mixer, drop ↵Johannes Schickel
Mixer::playAudioStreamLooping. (There's Audio::makeLoopingAudioStream). svn-id: r47160
2010-01-07Cleanup.Johannes Schickel
svn-id: r47133
2010-01-07Make VagStream a RewindableAudioStream.Johannes Schickel
svn-id: r47132
2010-01-07Make makeWAVStream return a RewindableAudioStream.Johannes Schickel
svn-id: r47129
2010-01-06- Move openStreamFile from AudioStream to SeekableAudioStream.Johannes Schickel
- Fix documentation of openStreamFile. svn-id: r47080
2010-01-03Change BS 1 & 2 to I & II (see discussion on -devel)Max Horn
svn-id: r46951
2009-12-30Rename Common::Stream::readLine_NEW to readLineMax Horn
svn-id: r46779
2009-12-30Corrected an old comment.Torbjörn Andersson
svn-id: r46768
2009-12-09Fixed some simple cppcheck warnings.Torbjörn Andersson
svn-id: r46303
2009-11-24Added Doxygen comments for the various engine namespaces (currently mostly ↵Max Horn
without details; help filling these out is welcome) svn-id: r46128
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
2009-10-20SWORD2: Turned static vars in Logic::fnISpeak into member vars of class LogicMax Horn
svn-id: r45284
2009-10-20SWORD2: Resolve FIXME about weird static var 'k' in Router::smoothCheckMax Horn
svn-id: r45282
2009-10-20SWORD2: Resolve FIXME about static var 'left' in Router::slidyWalkAnimatorMax Horn
svn-id: r45281
2009-10-18Introduced new type Common::DisposeAfterUse::FlagMax Horn
svn-id: r45233
2009-10-16Added a new convenience method to the video player, which adds the event of ↵Filippos Karapetis
skipping videos with the escape key by default, thereby simplifying the video playing code in all places where it's used svn-id: r45151
2009-10-14SWORD2: Switch from loadWAVFromStream to makeWAVStream.Max Horn
This also fixes a memory leak (the MemoryReadStream wasn't being freed). svn-id: r45099
2009-10-01Fix free/delete/delete[] mismatches. Patch by salty-horseWillem Jan Palenstijn
svn-id: r44512
2009-09-30Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other ↵Max Horn
things) svn-id: r44495