aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/vqa.cpp
AgeCommit message (Collapse)Author
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