aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1/animation.cpp
AgeCommit message (Collapse)Author
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-05-19Fixed error in subtitle drawing. (This part of the code should still be cleanedTorbjörn Andersson
up, as it's badly written. I should know, I wrote it.) svn-id: r26877
2007-04-28This is an updated and slightly cleaned up version of patch #1657061 ("SWORD1:Torbjörn Andersson
Cutscene subtitles"). It still has the deficiencies listen in the patch tracker and should therefore be considered work-in-progress, but sev said I should go ahead and commit it anyway. I have no further plans for it right now, so feel free to improve on it. svn-id: r26644
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-04-01Changed _sys -> _system, matching (almost?) all other cases where we have an ↵Max Horn
OSystem* member var svn-id: r26359
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-25oopsMax Horn
svn-id: r25842
2007-02-25Switch to the new makeVorbisStream variant (and get rid of a File::decRef call)Max Horn
svn-id: r25840
2006-12-14When drawing an interlaced frame, only clear every other line instead of theTorbjörn Andersson
entire buffer. Introduced a _drawBuffer pointer which points either to _scaledBuffer or _frameBuffer1. That way, we don't need to copy _frameBuffer1 every time we draw an unscaled frame. (Probably the most common case by far.) Adjusted the Broken Sword 1 DXA player for the second change. (It sneakily avoids copying each frame by using _drawBuffer directly.) svn-id: r24846
2006-12-11Adjust DXA scaling code for Broken Sword 1Travis Howell
svn-id: r24841
2006-08-28Only clear the part of the screen usually controlled by the Screen class. TheTorbjörn Andersson
buffer might not be large enough to cover the menu areas, and they will probably be clear already. Only terminate the loop, not the entire function, when pressing Esc during a cutscene. Otherwise, there may be palette glitches. svn-id: r23790
2006-08-27Forgot to close the DXA file.Torbjörn Andersson
svn-id: r23775
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-26Added support for DXA cutscenes. Still needs a bit of cleanup, and the DCATorbjörn Andersson
player does not support the (unreleased) multi-lingual cutscene pack, since I don't have one to test with. It needs to be cleaned up a bit, but the next step will be to clean up the MPEG decoder first. svn-id: r23753
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-04-29Moved the AudioCDManager as well as class AudioStream and its (standard) ↵Max Horn
subclasses to namespace Audio svn-id: r22231
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582