aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2/animation.cpp
AgeCommit message (Collapse)Author
2017-10-07ENGINES: Remove default1x scaler flagColin Snover
This flag is removed for a few reasons: * Engines universally set this flag to true for widths > 320, which made it redundant everywhere; * This flag functioned primarily as a "force 1x scaler" flag, since its behaviour was almost completely undocumented and users would need to figure out that they'd need an explicit non-default scaler set to get a scaler to operate at widths > 320; * (Most importantly) engines should not be in the business of deciding how the backend may choose to render its virtual screen. The choice of rendering behaviour belongs to the user, and the backend, in that order. A nearby future commit restores the default1x scaler behaviour in the SDL backend code for the moment, but in the future it is my hope that there will be a better configuration UI to allow users to specify how they want scaling to work for high resolutions.
2014-08-22SWORD1: Change "no DXA support" message.Ben Castricum
It's "without zlib" or "without DXA support". WJP prefers the first.
2013-08-03SWORD2: Take advantage of Surface::getPixels.Johannes Schickel
2013-08-03SWORD2: Prefer getBasePtr over direct Surface::pixels access.Johannes Schickel
2013-06-20SWORD2: Add back MPEG-2 video supportMatthew Hoops
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-16SWORD2: 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-23SWORD2: Add support for PSX stream playbackMatthew Hoops
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-02SWORD2: Replace snprintf() usage with Common::String::format()D G Turner
Safer and less portability issues.
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-28SWORD2: Silence an MSVC warning (false positive)md5
2011-02-28SWORD2: fix leak of previous commit properlyFabio Battaglia
Memorize psx sprite buffer pointer to properly free it
2011-02-28SWORD2: Plug a memory leak in psx versionFabio Battaglia
Free buffer used to resize psx sprite in drawTextObject
2011-02-27SWORD2: Reduce overheaddhewg
2011-02-27SWORD2: Respect screen pitch while postprocessingdhewg
Fixes subtitles on androids
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-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-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-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-04-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
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-09-18SWORD2: Don't show a pop-up if the 'eye' movie is missing - it was omitted ↵Joost Peters
in later re-releases. svn-id: r44187
2009-07-28Broken Sword 2, unsurprisingly, had the same subtitle drawing glitch for smallTorbjörn Andersson
cutscenes that Broken Sword 1 had. And a memory leak. This should fix both. svn-id: r42861
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
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-20Removed the rest of the hard-coded cutscene information. It was only needed toTorbjörn Andersson
get the number of frames of a cutscene (to find the "lead out frame"), but this information is already provided by both the DXA and the SMK players. (It wasn't provided by the now obsolete MPEG player.) svn-id: r40735
2009-05-20Removed the "seamless" flag. It was something I added to cope with the fadeTorbjörn Andersson
in/out behaviour of the MPEG cutscene player, and no longer seems to be needed. svn-id: r40734
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-04-07Sword2: PSX version support, and GMM loading/savingFabio Battaglia
svn-id: r39896
2009-03-09Renamed SMKPlayer -> SmackerDecoder and DXAPlayer -> DXADecoder, as well as ↵Max Horn
some other tweaks svn-id: r39255
2009-03-07Whitespace cleanup: Convert space followed by tab to just tabMax Horn
svn-id: r39203
2009-03-07Don't show a warning dialog for missing cutscenes in the demo. As noted in bugTorbjörn Andersson
#2669360, the demo tries to play cutscenes which really aren't there. svn-id: r39194
2009-02-21Rewrote the cutscene player to be more like the one in Broken Sword 1. This ↵Torbjörn Andersson
fixes a subtitle colour regression, but mainly it simplifies the code. The "dummy" player has been removed. There are almost certainly regressions, but I'm hoping it's stable enough for testing now. svn-id: r38697