aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2/animation.h
AgeCommit message (Collapse)Author
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-02-27SWORD2: Respect screen pitch while postprocessingdhewg
Fixes subtitles on androids
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
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-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-18Committing the rest of the VideoDecoder Rewrite from patch #2963496.Matthew Hoops
svn-id: r49079
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
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-21Renamed the DXA, SMK and FLIC video decoders to reflect the fact that ↵Filippos Karapetis
they're decoders, not players svn-id: r40759
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-03-09Renamed SMKPlayer -> SmackerDecoder and DXAPlayer -> DXADecoder, as well as ↵Max Horn
some other tweaks svn-id: r39255
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
2009-02-15Applied my patch for the BS1/2 video playerFilippos Karapetis
- Support for the MPEG2 videos in BS1/2 has been dropped. The MPEG2 videos were lossy, and support for them complicated the code a lot. - Support for the non-existing enhanced MPEG cutscene packs for BS1 has been dropped. As a consequence, the credits player and the splitted audio stream players used for these packs has been removed - The original Smacker videos for both games are now supported, using our Smacker player (which is based off publically available specs and FFMPEG) - The animations now use the common video player code. Both the Smacker videos and our DXA video packs are supported svn-id: r38236
2008-12-21Move all video players to separate directoryEugene Sandulenko
svn-id: r35470
2008-11-09Allow pausing during cutscene movies. (This will need an update to the mixer'sTorbjörn Andersson
getSoundElapsedTime() function to work better.) svn-id: r34954
2008-01-12The dummy ("narration only") cutscene player misbehaved a bit if the cutsceneTorbjörn Andersson
soundtrack was present. It should work better now. svn-id: r30455
2007-05-31Re-added Revolution Software copyright to BS2 engineMax Horn
svn-id: r27030
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-04-14I must have accidentally broken frame skipping when I added DXA playback. MadeTorbjörn Andersson
frame skipping actually skip the updateScreen() call. svn-id: r26469
2007-02-08Instead of pre-rendering all subtitles and pre-loading all sounds for a movieTorbjörn Andersson
cutscene, render the text and play the speech when needed. It probably won't play as nicely from CD now, but using less memory seems more important to me. svn-id: r25428
2006-08-27Renamed graphics/animation.[cpp|h] to graphics/mpeg_player.[cpp|h] to be moreTorbjörn Andersson
consistent with dxa_player.[cpp|h]. (Though actually, "decoder" might be more accurate...) svn-id: r23774
2006-08-26Now that the cutscene handling in both BS1 and BS2 has been extended to playTorbjörn Andersson
DXA movies (the MPEG movies still work, of course), there is no longer any need for the MPEG decoder to handle sound and frame syncing. That is now the responsibility of the player, not the decoder. The obvious next step, then, would be to put that in a new player class, and have both BS1 and BS2 use that. Maybe FF as well. svn-id: r23757
2006-08-23The DXA player now bases subtitle position on screen size, rather than frameTorbjörn Andersson
size. This should help people who want to use the smaller, low-quality cutscenes instead of the high-quality ones. The MPEG player probably doesn't know this trick. Maybe later. svn-id: r23742
2006-07-15Some cleanups and restructuring. The clearScreen() function has been renamedTorbjörn Andersson
clearFrame(), and is only responsible for clearing the frame buffer. Frame syncing and frame drawing are now separate from each other. svn-id: r23525
2006-07-15This is more consistent with how we usually initialize arrays of structs, andTorbjörn Andersson
seems to still keep msvc8 happy. svn-id: r23521
2006-07-15Should fix shadowing warnings with gcc.Johannes Schickel
svn-id: r23520
2006-07-15Fix building with msvc8.Johannes Schickel
svn-id: r23518
2006-07-08Added support for DXA cutscenes, while still retaining support for the old MPEGTorbjörn Andersson
cutscenes and the "dummy" (subtitles and voice-over) mode. Several tweaks and cleanups were made in this process, and there may very well be regressions, but it should be stable enough to commit. svn-id: r23420
2006-05-18Allow changing scaler while playing MPEG cutscenes.Torbjörn Andersson
svn-id: r22515
2006-05-17- Heavily modified patch #1214784: "Disable overlay scaling"Eugene Sandulenko
- Eriktorbjorn's patch from same tracker item for scaling sword1/2 cutscenes is applied as is. It lacks resolution switch on-the-fly. - GUI widgets are repositioned on the fly and use most space, even aspect ratio corrected screen is used without scaling - Heavy tesing is required, but works for me in all cases except for bug #1483272: "GUI: SCUMM pause dialog breaks upon scaler switch" which needs more work. - I probavly broke some backend or two svn-id: r22505
2006-02-12Standardized the preprocessor constants used to prevent double inclusion ofTorbjörn Andersson
header files. Each now begins with "SWORD2_" and ends with "_H". (Well, except for "SWORD2_H", since I didn't want to name it "SWORD2_SWORD2_H".) svn-id: r20655
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582