aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/vqa.cpp
AgeCommit message (Collapse)Author
2007-12-15debug(C) parameter type fixes.Johannes Schickel
svn-id: r29864
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
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-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-28Clarified some comments and moved some asserts to hopefully answer Fingolfin'sTorbjörn Andersson
question why we always created a mono audio stream. There are other games that use more advanced versions of the VQA format, but it seems unlikely that ScummVM will ever support any of them. svn-id: r25911
2007-02-28Changed the AppendableAudioStream code to use a queue of buffers, instead of ↵Max Horn
a fixed size wrap-around memory buffer (this reduces memory usage in some cases by 500-700k, while actually being more flexible) svn-id: r25909
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-07-30It's play(), not open(), that encounters the CMDS tag. At least in the introTorbjörn Andersson
movie, which is the only one we currently play. svn-id: r23626
2006-07-28Moves the kyra2 code to kyra2.cpp and kyra2.h, renames WSAMovieV3 to ↵Oystein Eftevaag
WSAMovie2 (kyra2 uses the same format), renames a define in kyra3.h for consistency, and adds a case for CMDS in the VQA player to avoid the constant warning (the tag is always present and empty). Credit/blame for the last one goes to Clemmy :). Starting kyra2 will now show the title animation. svn-id: r23614
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-21Grotesque hack to support the jung2.vqa movie. Either the VQA is less wellTorbjörn Andersson
understood than I hoped, or the offset to the first frame of the movie is completely out to lunch. Scan the file for the first VQFR chunk and use that offset instead. svn-id: r22565
2006-05-21The unsupported cutscene is called "jung", not "junk". (It just happens to lookTorbjörn Andersson
like junk at the moment.) svn-id: r22564
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
2006-05-21Some minor VQA player fixes:Torbjörn Andersson
* The playVQA() function now takes the name of the cutscene, rather than the filename. This is so that playVQA("FOO") will be able to play FOO0.VQA, FOO1.VQA or FOO2.VQA, depending on which movie size is selected. * The VQA player centers movies by default, so don't set the position to 0,0. * Ask the backend for screen dimensions (for centering the movie) rather than hard-coding them. svn-id: r22560
2006-05-21- reworks quit handling (no _system->quit() anymore)Johannes Schickel
- fixes some deinitalization problems svn-id: r22558
2006-05-18- load fonts for kyra3Johannes Schickel
- adds screen dim tables for kyra3 - adds palette / screen backup for the vqa player - small changes in the vqa player to use the Kyra::Screen functions - adds (partially implemented/unimplemented) main menu drawing/handling functions (nothing to see yet) svn-id: r22528
2006-05-18Added player for the Kyra 3 VQA cutscenes, based on my earlier prototype. ItTorbjörn Andersson
could use some cleanup, and there are a couple of TODOs sprinkled throughout the code, but it seems to work reasonably well. Until the Kyra 3 main menu is implemented, it won't actually be used though. It uses the appendable audio stream class, which I have moved out of the SCUMM engine. svn-id: r22526