aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
AgeCommit message (Collapse)Author
2006-05-22Fix debug messages.Torbjörn Andersson
svn-id: r22570
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- allows kyra3 to exit againJohannes Schickel
- implements language selection for kyra3 svn-id: r22559
2006-05-21- reworks quit handling (no _system->quit() anymore)Johannes Schickel
- fixes some deinitalization problems svn-id: r22558
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-20makes destructor of KyraEngine virtualJohannes Schickel
svn-id: r22547
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-18fixes kyra2 gameflag initJohannes Schickel
svn-id: r22514
2006-05-18Removed leftover printf()Torbjörn Andersson
svn-id: r22513
2006-05-18Cleanup.Torbjörn Andersson
svn-id: r22512
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
2006-05-17Fixed crackling in Kyra 3 sound. (At least what little of it ScummVM currentlyTorbjörn Andersson
plays before finishing.) svn-id: r22499
2006-05-17- adds AUD file player (has still some problems with playing)Johannes Schickel
- adds a new sound class SoundDigital (only used for Kyra3) (needs more work though) svn-id: r22497
2006-05-16Set gameflags for kyra3 properly.Eugene Sandulenko
svn-id: r22493
2006-05-16Removes ENABLE_KYRA2 and ENABLE_KYRA3.Johannes Schickel
svn-id: r22492
2006-05-16Oops forgot some define checksJohannes Schickel
svn-id: r22491
2006-05-16- implements kyrandia 3 wsa loaderJohannes Schickel
- fixes initalisation problems - adds setX, setY, setDrawPage to Kyra::Movie instead of directly accessing _x, _y and _drawPage svn-id: r22490
2006-05-12- little cleanupsJohannes Schickel
- adds kyra3 dummies svn-id: r22425
2006-05-10Adds clipping to the workaround in "preserveOrRestoreBackground", so it does ↵Johannes Schickel
not overwrite the interface. svn-id: r22404
2006-05-10Adds workaround for bug # 1477364 ("KYRA1: Water dripping freezes") until a ↵Johannes Schickel
proper solution is found. svn-id: r22403
2006-05-10Enables OSystem::kFeatureAutoComputeDirtyRects until proper dirty rect ↵Johannes Schickel
managment is implemented. svn-id: r22402
2006-05-08Added delay() to delayWithTicks() as well. This function is quite similar toTorbjörn Andersson
some of the custom delay loops in script_v1.cpp. Could it be used there? svn-id: r22394
2006-05-08Replaced a bunch of delay loops with a new delayUntil() function. Now all ofTorbjörn Andersson
them will at least sleep if the remaining delay is at least 10 ms. (Personally, I don't like the idea of busy-waiting even 9 ms, but now that it's in its own function, it becomes much easier if we want to change that behaviour. There are still plenty of custom delay loops left, though.) svn-id: r22393
2006-05-08Added comment about switch case fallthrough. I assume this one is deliberate,Torbjörn Andersson
but they're easy to miss at a casual glance. svn-id: r22392
2006-05-08As LordHoto pointed out, placeItem is already initialised to false, so we onlyTorbjörn Andersson
need to set it to true. svn-id: r22391
2006-05-08Small cleanup. It's not that I mind fallthroughs - as long as they are clearlyTorbjörn Andersson
labelled as being intentional - but to save just one line of code? That hardly seems worth it. svn-id: r22390
2006-05-08Changed abs() to ABS()Torbjörn Andersson
svn-id: r22389
2006-05-08Missed a couple of switch cleanups.Torbjörn Andersson
svn-id: r22385
2006-05-08Cleanup: Use ScummVM indentation style for switch() cases. In some cases, ITorbjörn Andersson
have added or removed "break"s, but not in any way which should change the program's behaviour. I.e. I've added "break" to the final case, and after calling quitGame(), and I've removed "break" after "return". svn-id: r22383
2006-05-07Fixes playing of credits music.Johannes Schickel
svn-id: r22378
2006-05-04Adds (partial) support for italian floppy. (still hardcoded strings are ↵Johannes Schickel
missing) (Bug # 1409244 ("KYRA: GFX problems with ITALIAN floppy")). svn-id: r22333
2006-05-03Fixes typo.Johannes Schickel
svn-id: r22310
2006-05-03- moves detection code to plugin.cpp.Johannes Schickel
- splits game table for kyra1 and kyra2. svn-id: r22309
2006-05-03- modifies loadBitmap not to crash if a image isn't foundJohannes Schickel
- starts to clean up the engine initalisation code svn-id: r22308
2006-05-03Fix for bug # 1480744 ("KYRA1: mouse cursor vanishes").Johannes Schickel
svn-id: r22307