aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/vqa.cpp
AgeCommit message (Collapse)Author
2009-10-26- Fix some missing initialization warnings from cppcheckJohannes Schickel
- Fix two invalid memory accesses reported by cppcheck svn-id: r45414
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
2009-06-22- Changed the following Screen functions to take a reference to a Palette ↵Johannes Schickel
object: -> setScreenPalette -> fadePalette -> getFadeParams -> fadePalStep - Fixed initialization of 256 color palettes svn-id: r41743
2009-06-22Changed Screen::getPalette to return a reference to a Palette object.Johannes Schickel
svn-id: r41741
2009-06-22Got rid of Screen::_currentPalette.Johannes Schickel
svn-id: r41740
2009-06-14Cleanup.Johannes Schickel
svn-id: r41519
2009-05-29More formatting.Johannes Schickel
svn-id: r40994
2009-05-19Remov lots of superfluous debug output.Johannes Schickel
svn-id: r40715
2009-01-23Renamed Kyra's Resource::getFileStream to createReadStreamMax Horn
svn-id: r36022
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-09-13Big patch changing the signature of various Stream methods (some ports may ↵Max Horn
need to be slightly tweaked to fix overloading errors/warnings) svn-id: r34514
2008-09-07Got rid of all Common::File usages in Kyra.Johannes Schickel
svn-id: r34435
2008-09-06Got rid of File::eof()Max Horn
svn-id: r34396
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-10Removed unnecessary #inlcudesChristopher Page
svn-id: r32984
2008-07-08KYRA works with the new GMM implementationChristopher Page
svn-id: r32957
2008-05-17- Fixed sound channel fadeout on VQA playingJohannes Schickel
- Minor formatting fixes svn-id: r32152
2008-05-11- Renamed KyraEngine to KyraEngine_v1Johannes Schickel
- kyra.* -> kyra_v1.* - scene.cpp -> scene_v1.cpp svn-id: r32044
2008-05-07Changed kyra to use delete[] instead of delete [].Johannes Schickel
svn-id: r31925
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