aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2/animation.cpp
AgeCommit message (Collapse)Author
2009-01-22Moved Graphics::PixelFormat into its own header file; turned RGBToColor etc. ↵Max Horn
into methods, and added an operator== svn-id: r35993
2008-12-14Enable Smacker support, and switch later HE games to Smacker support (since ↵Travis Howell
they aren't supported yet). svn-id: r35368
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-11-06Got rid of OSystem::colorToRGB and RGBToColor; added implementations for ↵Max Horn
OSystem::getOverlayFormat to several ports (pending testing by the porters) svn-id: r34912
2008-09-30Renamed Engine::quit to Engine::shouldQuit (previously, it was easily ↵Max Horn
confused with Engine::quitGame); also cleaned up engine.h a bit svn-id: r34700
2008-07-16Quit and RTL code is more modular now. EVENT_RTL no longer sets ↵Christopher Page
_shouldQuit, shouldQuit is only set if there's an EVENT_QUIT. EVENT_RTL and EVENT_QUIT are completely separate from each other. Engine::quit() method now checks both _shouldQuit and _shouldRTL to determine if the engine should exit. There is no longer a need for resetQuit(), so it's removed svn-id: r33082
2008-07-13SWORD2 works with the new GMM implementationChristopher Page
svn-id: r33044
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-11-01Revert patch #1709219 - DXA Player: double size scaling option.Travis Howell
svn-id: r29351
2007-10-31Slighly modified patch #1709219: "DXA Player: double size scaling option"Eugene Sandulenko
svn-id: r29347
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-06-21Use the KEYCODE constants.Torbjörn Andersson
svn-id: r27593
2007-06-12Add support for pausing/resume cutscenes shown on the OmniTV in The Feeble ↵Travis Howell
Files. svn-id: r27371
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-03-17Moved Event/EventType/keyboard enum from common/system.h (part of class ↵Max Horn
OSystem) to common/events.h (part of namespace Common). Porters may have to make minor changes to their backends to get them to compile again svn-id: r26180
2007-03-17Force all code to use EventManager::pollEvent instead of OSystem::pollEventMax Horn
svn-id: r26156
2007-02-24Remove unneeded #includesMax Horn
svn-id: r25838
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
2007-02-03Fixing various doxygen warningsMax Horn
svn-id: r25362
2007-02-03* Reimplemented Mixer::pauseAll to simply invoke pause on all channelsMax Horn
(implying change of semantics) * Reordered the params of Mixer::playRaw (the SoundType now comes first, not last) * Removed Mixer::isPaused * Removed Mixer::getSoundElapsedTimeOfSoundID * Added some doxygen comments to the Mixer svn-id: r25356
2007-01-26Added separate function for playing cutscene lead-in/out sounds, and made sureTorbjörn Andersson
that these are stopped whenever the engine is going to do a mass killing of game resources, e.g. when restoring or restarting the game. Should fix bug #1645480. (This was a regression added during the rewrite to support DXA.) svn-id: r25204
2006-12-18The MPEG player no longer handles frame syncing/dropping, so this comment isTorbjörn Andersson
obsolete now. svn-id: r24872
2006-10-02Fixed bug #1569594 ("BS2 DXA Movie Exit/Crash"). That's what I get for onlyTorbjörn Andersson
testing with subtitles enabled... :-) svn-id: r24089
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-21Removing redundant paranthesisOystein Eftevaag
svn-id: r23543
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-15Fixed regression: Test if there's a text object to close before closing it.Torbjörn Andersson
svn-id: r23524
2006-07-15Close the current text object when the movie is ended, to avoid potentialTorbjörn Andersson
memory leak, and be a bit more robust about handling text objects in the dummy player. svn-id: r23523
2006-07-15Oops. I just noticed I was using _black to track the white colour, and _whiteTorbjörn Andersson
to track the black colour. svn-id: r23522
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-15Fix building with msvc8.Johannes Schickel
svn-id: r23518
2006-07-10Moved the initial screen clearing from play() to load(), so that it will beTorbjörn Andersson
done before the MPEG player calls showOverlay(). svn-id: r23482
2006-07-10Fixed bug #1519817, "ALL: Build failure if libmpeg2 is disabled".Torbjörn Andersson
svn-id: r23470
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-06-03MPEG player fixes:Torbjörn Andersson
* Initialise _frameWidth and _frameHeight to prevent them from being undefined. * Fix BS2 subtitle positioning. (Fixes bug #1499916) * In BS2, copy the frame to the backend in 8-bit mode. * Fix compilation in 8-bit mode. BS2 subtitles aren't quite right in 8-bit mode, but I expect we want to re-design things a bit if we ever add DXA cutscenes. We can fix minor details then. svn-id: r22859
2006-05-18Renamed screenChanged() to handleScreenChanged().Torbjörn Andersson
svn-id: r22518
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-17Removed includes from sword2.h so that (hopefully) there will eventually beTorbjörn Andersson
less dependencies. svn-id: r20741
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582