aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/kyra3.cpp
AgeCommit message (Collapse)Author
2007-04-15- Renamed some files for consistency with other engines.Johannes Schickel
- Kyra2 detector entries update. svn-id: r26494
2007-02-08Don't rely on assert when calling functions.Johannes Schickel
svn-id: r25426
2006-11-09- switches to Common::AdvancedDetectorJohannes Schickel
- non md5 based detector removed (for now) svn-id: r24665
2006-09-17- removes the kyra specific language flag system, and uses the language enum ↵Johannes Schickel
defined in Common for that now - also reworks the game flag system in general svn-id: r23920
2006-09-17Const correctnessMax Horn
svn-id: r23916
2006-09-10Little bit cleanup.Johannes Schickel
svn-id: r23863
2006-09-09Renamed Resource::fileHandle() to Resource::getFileHandle()Max Horn
svn-id: r23853
2006-08-26Adds some framework for the Kyra2 intro, expands it a little bit and adds ↵Oystein Eftevaag
some static resources (strings, etc). Also adding a modified version of eriktorbjorn's '[1531929] KYRA: Kyra 2 & 3 main menu unification', with added mouse pointer and sundry. svn-id: r23766
2006-07-31Yet more kyra3 init code.Johannes Schickel
svn-id: r23648
2006-07-31Const correctnessMax Horn
svn-id: r23644
2006-07-30removing never used buffer.Johannes Schickel
svn-id: r23638
2006-07-30Implements item shape loading for kyra3.Johannes Schickel
svn-id: r23637
2006-07-30- fixes bug in fileData (introduced with last commit)Johannes Schickel
- show mouse cursor in Screen::setMouseCursor if it's allready shown - a little bit more kyra3 init stuff svn-id: r23623
2006-07-30- fixes copyright of kyra3.hJohannes Schickel
- implements a bit more init functions for kyra3 - removes hacked mouse cursor - changes Resource::fileData to accept a null pointer for size svn-id: r23622
2006-07-28Little cleanup.Johannes Schickel
svn-id: r23616
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-07-27- moving KyraEngine_v3 declaration to newly added kyra3.hJohannes Schickel
- implements a little bit init stuff - implements some music handling svn-id: r23610
2006-07-26Fade out the music when using the Kyra 3 menu to exit. (The original does, andTorbjörn Andersson
it might make a useful test case for the fade-out code.) svn-id: r23604
2006-07-26End the Kyra 3 menu screen if _quitFlag is set.Torbjörn Andersson
svn-id: r23603
2006-07-25Add support for looping the kyra3 main menu.Johannes Schickel
svn-id: r23593
2006-07-16- don't error on CHAPTER1.VRM miss anymoreJohannes Schickel
- nicer error messages when no font files are found - implements nicer way to load fonts svn-id: r23531
2006-06-03This hack is no longer needed to make the mouse cursor visible on the Kyra 3Torbjörn Andersson
main menu. svn-id: r22905
2006-05-28Got rid of _selectedMenuItem to make LordHoto happier.Torbjörn Andersson
svn-id: r22725
2006-05-28Mock-up version of the Kyra 3 main menu. Just enough to be able to select theTorbjörn Andersson
intro cutscene. svn-id: r22724
2006-05-28- makes Screen::getPagePtr privateJohannes Schickel
- introduces Screen::getCPagePtr and Screen::getPageRect (which should ease the introduction of dirty rect handling) - moves KyraEngine::loadBitmap to Screen svn-id: r22716
2006-05-27Draw the selected menu item (currently always the first one) highlighted, i.e.Torbjörn Andersson
white instead of yellow. svn-id: r22676
2006-05-26This produces the correct character spacing for the main menu.Torbjörn Andersson
svn-id: r22664
2006-05-26We don't have a mouse cursor yet, but this is probably the point where itTorbjörn Andersson
should be shown. svn-id: r22663
2006-05-25Fade down the palette and the music in playVQA(). (We can't fade down theTorbjörn Andersson
palette before that, I think, because then we don't have any good palette to make a backup copy of.) svn-id: r22625
2006-05-25Added support for fading digital music in or out.Torbjörn Andersson
svn-id: r22624
2006-05-25- Adds some _quitFlag checksJohannes Schickel
- deletes Screen::drawPixel svn-id: r22622
2006-05-23Check _quitFlag during the first parts of the Kyra 3 main menu animation.Torbjörn Andersson
svn-id: r22587
2006-05-23Fix for saving the palette before playing a VQA movie. (Suggested by LordHoto.)Torbjörn Andersson
svn-id: r22586
2006-05-22Fix debug messages.Torbjörn Andersson
svn-id: r22570
2006-05-22Cleanup.Torbjörn Andersson
svn-id: r22569
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- allows kyra3 to exit againJohannes Schickel
- implements language selection for kyra3 svn-id: r22559
2006-05-21- adds debugC calls to KyraEngine_v3 functionsJohannes Schickel
- finishes KyraEngine_v3::gui_printString svn-id: r22557
2006-05-21Implements kyra3 main menu drawing.Johannes Schickel
svn-id: r22556
2006-05-19Using assert(_something->init()) is a bad idea. Assertions can be disabled.Torbjörn Andersson
svn-id: r22533
2006-05-19Added some FIXMEs to the kyra engineMax Horn
svn-id: r22531
2006-05-19Fix warningMax Horn
svn-id: r22530
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
2006-05-17Added (optional) looping to the digital sound class.Torbjörn Andersson
svn-id: r22504
2006-05-17Fixed two off-by-one errors. One would cause the same frame of the Kyra 3 to beTorbjörn Andersson
displayed twice in a row. The other, more serious one, would cause ScummVM to crash when reaching the end of the music. Now the music loops properly. (It does fade down before looping, but that's how it is in the original as well. It's just the way the music is recorded.) svn-id: r22503
2006-05-17Loop the Kyra 3 animation indefinitely.Torbjörn Andersson
svn-id: r22502
2006-05-17Maybe the svn:keywords were already set? Maybe this will fix the file ↵Torbjörn Andersson
headers instead. svn-id: r22501