aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2
AgeCommit message (Collapse)Author
2011-02-15SWORD2: Adapt to setPalette/grabPalette RGBA->RGB change.Johannes Schickel
Thanks to eriktorbjorn for helping me with this.
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2011-02-09VIDEO: In overloaded methods, invoke correct parent implementationMax Horn
This should not cause any code behavior changes at this time, but if any of the intermediate VideoDecoder classes ever starts to overload stuff, this would become important. svn-id: r55841
2011-02-07ALL: Fix whitespaces / indentionMax Horn
svn-id: r55818
2011-02-07COMMON: OSystem now has a PaletteManagerMax Horn
svn-id: r55806
2011-01-23VIDEO: Move video classes to Video:: namespaceEugene Sandulenko
svn-id: r55479
2011-01-23GRAPHICS: Move graphics/video/ to video/. Step 2/2Eugene Sandulenko
svn-id: r55474
2010-12-16VIDEO: Make VideoDecoder::getPalette() return a const byte pointerMatthew Hoops
svn-id: r54928
2010-12-16VIDEO: Make VideoDecoder::decodeNextFrame() return a const Surface pointerMatthew Hoops
svn-id: r54927
2010-12-07DEBUG: Let GUI::Debugger::preEnter and postEnter (un)pause the engineMax Horn
svn-id: r54815
2010-11-23SWORD2: Reduce dependencies on common/memstream.hMax Horn
svn-id: r54442
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-11-01GUI: Add GCC_PRINTF to GUI::Debugger::DebugPrintf & fix resulting warningsMax Horn
svn-id: r54007
2010-11-01SWORD2: CleanupTorbjörn Andersson
Removed some of the debug code that has never ever been enabled for as long as this engine has been in ScummVM. svn-id: r53998
2010-11-01SWORD2: Cleanup pause handlingTorbjörn Andersson
Removed a bunch of pause-related code which I either can't remember why it's there, or which doesn't seem to serve any useful purpose. Most things I've tried seem to work as well or better than before. svn-id: r53997
2010-10-15SWORD2: Add assert()s prompted by code analysis warnings.Torbjörn Andersson
See bug #3087857. svn-id: r53509
2010-10-15ENGINES: Enhance namespace comments a bitMax Horn
svn-id: r53484
2010-10-15SWORD2: Fix some code analysis warnings (bug #3087857)Torbjörn Andersson
svn-id: r53467
2010-10-12JANITORIAL: Cleanup (mostly whitespace)Torbjörn Andersson
svn-id: r53161
2010-09-20SWORD2: More safeguards for mute settingEugene Sandulenko
svn-id: r52825
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