aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1
AgeCommit message (Collapse)Author
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-28JANITORIAL: Format forward declarations to follow conventionOri Avtalion
2011-04-18COMMON: Rename Error to ErrorCode, introduce new Error classMax Horn
2011-04-14ALL: colour -> colorMax Horn
2011-04-12COMMON: Replace MKID_BE by MKTAGMax Horn
MKID_BE relied on unspecified behavior of the C++ compiler, and as such was always a bit unsafe. The new MKTAG macro is slightly less elegant, but does no longer depend on the behavior of the compiler. Inspired by FFmpeg, which has an almost identical macro.
2011-03-19SWORD1: Cleanup syncSoundSettings()dhewg
2011-03-13SWORD1: Don't set the same cursor on every framedhewg
Removes unnecessary overhead on the backend when the cursor has just one frame.
2011-02-15SWORD1: Adapt to setPalette RGBA->RGB change.Johannes Schickel
2011-02-12JANITORIAL: Remove duplicate #include'sOri Avtalion
svn-id: r55889
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-30SWORD1: Fix possible uninitialized memory read in Screen object.David Turner
This was detected during playtest with Valgrind during Act 5 (Spain). svn-id: r55658
2011-01-23VIDEO: Move video classes to Video:: namespaceEugene Sandulenko
svn-id: r55479
2011-01-23GRAPHICS: Move graphics/video/ to video/. Step 1/2Eugene Sandulenko
svn-id: r55473
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-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-11-19ALL: Push down deps on stream.h from .h to .cpp filesMax Horn
svn-id: r54358
2010-11-16GUI: Rename gui/GuiManager.* to gui/gui-manager.*Max Horn
svn-id: r54265
2010-11-08SWORD1: Added basic debugging console to engineDavid Turner
SWORD1 does not currently use Debug Channels, but this does provide a base for adding them along with any other debugging commands. svn-id: r54140
2010-10-29SWORD1: Switch to the new play time counting of the Engine class.Johannes Schickel
svn-id: r53924
2010-10-15SWORD1: Fixed bug #3087855 - "SWORD1: Code analysis warnings"Filippos Karapetis
svn-id: r53488
2010-10-15ENGINES: Enhance namespace comments a bitMax Horn
svn-id: r53484
2010-10-12JANITORIAL: Cleanup (mostly whitespace)Torbjörn Andersson
svn-id: r53161
2010-09-20SWORD1: Fix bug #3032772: SWORD1: Mute setting does not workEugene Sandulenko
svn-id: r52827
2010-09-18JANITORIAL: Removed most punctuation at end of warning() and error()Torbjörn Andersson
Our warning() and error() functions always add an exclamation mark to the end of the message anyway. svn-id: r52791
2010-08-02GRAPHICS: Renamed skipThumbnailHeader to skipThumbnail.Johannes Schickel
svn-id: r51668
2010-07-17Remove PalmOS portMax Horn
svn-id: r50964
2010-06-15Modify makeAIFFStream to match the other sound decoder factoriesMax Horn
svn-id: r49844
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-04Reduce indirect header dependencies furtherMax Horn
svn-id: r48936
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-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
2010-03-18COMMON: Get rid of Common::StringListMax Horn
svn-id: r48287
2010-03-18COMMON: Move typedef StringList from str.h to new header str-array.hMax Horn
This removes the dependency on array.h from str.h. Also, begun migration from the confusing type name "StringList" to the more appropriate StringArray. svn-id: r48282
2010-03-18COMMON: Move Common::RandomSource to common/random.*Max Horn
svn-id: r48279
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-30Replace use of Audio::makeRawMemoryStream by Audio::makeRawStream.Johannes Schickel
svn-id: r47716
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-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-23Reorder params to Audio::makeRawMemoryStreamMax Horn
svn-id: r47492