aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/vqa.h
AgeCommit message (Collapse)Author
2014-01-18KYRA: Make pointers to VQAHeader constTorbjörn Andersson
This is just to enforce the idea that VQADecoder owns the VQAHeader and that the audio/video tracks are only allowed to look at it, not change it.
2014-01-18KYRA: Restructure the VQA decoder, as suggested by clone2727Torbjörn Andersson
Untangled the audio and video track from each other, and the parsing of the stream from the decoding of its data. Also fixed a memory leak as it turns out deleting a Surface doesn't free its data. You have to call free() in it. I have only checked the intro, not every cutscene, but that seems to work fine at least.
2014-01-18KYRA: Let the VQA decoder draw directly to the backendTorbjörn Andersson
As an alternative to using the Screen class's functions, we can let the VQA decoder draw directly to the backend. This won't work if the game uses "hi-res mode", but I don't think that's ever the case for Malcolm's Revenge. I believe the KyraEngine_MR::playVQA() function ensures that the screen is properly updated after the movie has finished. This almost limits the VQA rewrite to vqa.cpp and vqa.h. Whether it's better this way than changing the Screen functions to take a 'pitch' parameter...? I don't know. But it's an alternative.
2014-01-18KYRA: Rewrite the VQA decoder, using the VideoDecoder classesTorbjörn Andersson
There isn't really a lot of benefit to this, but I think it's nicer if all our video decoders at least try to use the same infrastructure.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2010-07-23KYRA: Implement support for selecting the VQA quality via "video_quality".Johannes Schickel
svn-id: r51187
2010-01-09Replace AppendableAudioStream by QueuingAudioStreamMax Horn
svn-id: r47189
2009-10-04Change a couple places from 'end of namespace' to 'End of namespace', for ↵Max Horn
consistency svn-id: r44634
2009-06-25Cleanup VQA player a bit.Johannes Schickel
svn-id: r41879
2008-09-07Got rid of all Common::File usages in Kyra.Johannes Schickel
svn-id: r34435
2008-05-11- Renamed KyraEngine to KyraEngine_v1Johannes Schickel
- kyra.* -> kyra_v1.* - scene.cpp -> scene_v1.cpp svn-id: r32044
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-02-20Another batch of header consistency changes.Torbjörn Andersson
svn-id: r25746
2007-02-17Applied cyx's patch #1659302 ("KYRA: VQA player code cleanup/reduce") with theTorbjörn Andersson
minimal change suggested in the tracker. svn-id: r25649
2006-09-16Replaces malloc with new in most cases.Johannes Schickel
svn-id: r23881
2006-05-22Cleanup.Torbjörn Andersson
svn-id: r22569
2006-05-21Palette handling simplification, suggested by LordHoto.Torbjörn Andersson
svn-id: r22567
2006-05-21If possible, sync the frame to getSoundElapsedTime().Torbjörn Andersson
svn-id: r22566
2006-05-21More VQA fixes:Torbjörn Andersson
* Use setScreenPalette() rather than calling the backend directly. (As an extra bonus, the VQA player now only needs to store 3 bytes per colour.) * Hide the mouse cursor while the movie is playing. svn-id: r22563
2006-05-21At LordHoto's request...Torbjörn Andersson
* The VQA move player isn't as similar to the WSA movie player as we first envisioned, so the VQA player no longer inherits from Movie. It does retain a fairly similar calling interface, though. * Use the Kyra engine's idea of screen dimensions, rather than the backend's. svn-id: r22561