aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1/animation.cpp
AgeCommit message (Collapse)Author
2013-05-14SWORD1: Initialize class variables in constructorThierry Crozat
CID 1002998.
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-08-16VIDEO: Merge AdvancedVideoDecoder into VideoDecoderMatthew Hoops
2012-08-16VIDEO: Remove setSystemPalette()Matthew Hoops
2012-07-24VIDEO: Convert DXADecoder to the AdvancedVideoDecoder APIMatthew Hoops
2012-07-23VIDEO: Rewrite SmackerDecoder to use the new APIMatthew Hoops
2012-07-21VIDEO: Move PSXStreamDecoder to the new VideoDecoder APIMatthew Hoops
2012-06-16SWORD1: Get rid of casts on OSystem::copyRectToScreen calls.Johannes Schickel
2012-05-12VIDEO: Change getElapsedTime() into getTime()Matthew Hoops
This name change accompanies a slight meaning change; now it means the current time position from the beginning of the video and not from starting the video.
2012-02-23Merge pull request #171 from clone2727/psx-stream-2Willem Jan Palenstijn
This is a manual merge based on clone2727's merge of his branch with the sword1 subtitle changes on master.
2012-02-23SWORD1: Add some TODO's for PSX stream subtitlesMatthew Hoops
And some other minor cleanup
2012-02-23SWORD1: Add support for the PSX demo videosMatthew Hoops
2012-02-23VIDEO: Make PSX streams calculate frame timing solely from CD speedMatthew Hoops
BS2 videos now play at the proper rate and BS1 videos have improved a/v sync.
2012-02-23SWORD1: Add support for PSX stream playbackMatthew Hoops
2012-02-20COMMON: Move isFoo functions to namespace Common, add doxygen commentsMax Horn
2012-02-15ALL: Avoid using is* macros from ctype.hMax Horn
On some systems, passing signed chars to macros like isspace() etc. lead to a runtime error. Hence, mark these macros as forbidden by default, and introduce otherwise equivalent alternatives for them.
2012-02-13SWORD1: Silence some MSVC warnings (conversion from double to float)Filippos Karapetis
2012-01-18SWORD1: Do not look for color indexes in cutscenes when there is no subtitlesThierry Crozat
2012-01-18SWORD1: Use color for subtitles during cutsceneThierry Crozat
During the game, different colors are used for subtitles depending which character is speaking. This commit tries to use the same colors for the cutscene subtitles. The color to use has to be specified in the subtitle file between the frame end and the start of text using @1, @2, @3 or @4 (for George, George as a narrator, Nicole and Maguire respectively).
2011-10-27SWORD1: Fix crash when using cutscene subtitles with mac versionThierry Crozat
It might have been simpler to add a bool to Text::makeTextSprite() to tell it to not byteswap the frame size when called from the movie player but I was not sure it was a good idea to have frames with different endianness stored in Text depending where they came from.
2011-09-08SWORD1: Made some static data const.Johannes Schickel
2011-06-23ANALYSIS: Add static casts to is* functionsLittleboy
This fixes a potential problem with passing char values that would be sign-extended and yield unexpected results. See http://msdn.microsoft.com/en-us/library/ms245348.aspx
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-13I18N: Make many more GUI MessageDialog strings translatableThierry Crozat
2011-06-02SWORD1: Replace snprintf() usage with Common::String::format()D G Turner
Safer and less portability issues.
2011-05-17SWORD1: Const correctness, code cleanup & simplificationMax Horn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-02-15SWORD1: Adapt to setPalette RGBA->RGB change.Johannes Schickel
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-07COMMON: OSystem now has a PaletteManagerMax Horn
svn-id: r55806
2011-01-23VIDEO: Move video classes to Video:: namespaceEugene Sandulenko
svn-id: r55479
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-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-04-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
2010-01-26Moved audio stream implementations (for MP3, FLAC, etc.) to new dir ↵Max Horn
sound/decoders/ svn-id: r47579
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-06- Move openStreamFile from AudioStream to SeekableAudioStream.Johannes Schickel
- Fix documentation of openStreamFile. svn-id: r47080
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
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-08-30Fix indentationJordi Vilalta Prat
svn-id: r43837
2009-07-28Fixed drawing subtitles for cutscenes that are narrower than the screen, andTorbjörn Andersson
erase the subtitles manually if they are drawn outside the frame. svn-id: r42859
2009-05-20- Reverted commit #40730, as it introduced rounding errorsFilippos Karapetis
- Properly fixed the FLIC player - The sound chunk tag of DXA files is now read by the DXADecoder's loadFile() method svn-id: r40736
2009-05-19Changed calculations based on frame delay to be based on the scale of 1ms, ↵Filippos Karapetis
not 1/100. This fixes the FLIC player and also makes the overall code a bit clearer and easier to understand svn-id: r40730
2009-03-09Renamed SMKPlayer -> SmackerDecoder and DXAPlayer -> DXADecoder, as well as ↵Max Horn
some other tweaks svn-id: r39255