aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-05-24Seems like the sound is generated at 22050 Hz regardless of output sample rate.Torbjörn Andersson
Hopefully, that will change in the future. svn-id: r22595
2006-05-24Only check if the files on "CD 0" are present. The others are requested withTorbjörn Andersson
"insert CD" messages. (Of course, that isn't supported, or even well tested, but the idea is sound.) This makes it possible to run the BS2 demo again. Incidentally, this is how I *meant* for it to work when I added that check - I even wrote so in the comment above that section of the code - so how on earth did I manage to screw it up like that? svn-id: r22594
2006-05-24Downgraded startHETalkSound() error (when the speech file isn't open) to aTorbjörn Andersson
warning, since it happens on the Pajama Sam's Lost & Found demo's main menu screen. svn-id: r22593
2006-05-24Fix compileTravis Howell
svn-id: r22592
2006-05-23update make subsystemEugene Sandulenko
svn-id: r22591
2006-05-23imported AGI enginePaweł Kołodziejski
svn-id: r22588
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-23fix VC & SDL 1.2.10 compilation errorAndrew Kurushin
svn-id: r22585
2006-05-23Update GP32 port. It still doesn't work very well...Won Star
svn-id: r22584
2006-05-23Compile fix for GP32 and PalmOS. GP32 port still doesn't work since when GUI ↵Won Star
code changed... svn-id: r22583
2006-05-23Reworked the DISPATCH current action to support NPC schedules like the ↵Paul Gilbert
original game does. Additionally added basic implementation of necessary support routines svn-id: r22582
2006-05-23Added a new outer loop for what will later allow the restarting of the game. ↵Paul Gilbert
Also added the animation of the Skorl catching the player if the game state indicates it has happened svn-id: r22581
2006-05-23Added the loading of NPC schedulesPaul Gilbert
svn-id: r22580
2006-05-23Added new resource entries for NPC schedules, the Skorl catching animation, ↵Paul Gilbert
and miscellaneous svn-id: r22579
2006-05-23Added support structures for NPC schedulesPaul Gilbert
svn-id: r22578
2006-05-23Added some extra safety checks. Also contains some started work on ↵Paul Gilbert
redesigning the display of the current action svn-id: r22577
2006-05-23Added script methods for manipulating current action support data and a stub ↵Paul Gilbert
for a script method that plays background music svn-id: r22576
2006-05-23Update details for Russian translationsTravis Howell
svn-id: r22574
2006-05-23Cleanup.Torbjörn Andersson
svn-id: r22573
2006-05-22Fix debug messages.Torbjörn Andersson
svn-id: r22570
2006-05-22Cleanup.Torbjörn Andersson
svn-id: r22569
2006-05-21make printExpr, skipExpr accept both gob1 and gob2 expressionsWillem Jan Palenstijn
svn-id: r22568
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-21Don't crash if drawMouse() is called before _mouseSurface is created.Torbjörn Andersson
svn-id: r22562
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-21Make it so that if the new cursor palette to be set has zero colours, theTorbjörn Andersson
cursor palette is disabled. Also, when replacing a cursor palette, try to re-use the old palette buffer, as a minor optimization. (Not that these functions should need any optimization, but it's simple and shouldn't hurt.) svn-id: r22554
2006-05-21Added two lines for the Lure engine progressPaul Gilbert
svn-id: r22553
2006-05-21Oops, I guess I never got around to fully implement replaceCursorPalette().Torbjörn Andersson
svn-id: r22552
2006-05-20fixed compilation when DISABLE_SCALERSPaweł Kołodziejski
svn-id: r22551
2006-05-20fix compilation, that variable no longer existsPaweł Kołodziejski
svn-id: r22550
2006-05-20Make the copy constructor / assignment operator of class File private to ↵Max Horn
prevent accidental copying of File objects svn-id: r22549
2006-05-20Pass values by-reference, using C++ references, and not by using pointersMax Horn
svn-id: r22548
2006-05-20makes destructor of KyraEngine virtualJohannes Schickel
svn-id: r22547
2006-05-20Apparently, passing a file handle directly to a function causes that fileTorbjörn Andersson
handle (a copy of the original?) to be destroyed at the end of the function, and that closes the internal file handle, even though we want it to stay open. Who am I to argue with how C++ handles its parameters? I've simply changed the functions to take pointers to file handles instead. Seems to fix crashes in the Macintosh resource extractor for me. svn-id: r22546
2006-05-20Forgot to set g_initialized to true.Torbjörn Andersson
svn-id: r22544
2006-05-20After the GUI has finished, restore the old cursor palette (if any). For thisTorbjörn Andersson
to work, cursor palette now has to be set using the new "palette manager". See graphics/paletteman.cpp svn-id: r22543
2006-05-20Removed stray printf() from earlier commit.Torbjörn Andersson
svn-id: r22542
2006-05-20Re-render the cursor when enabling/disabling cursor palette. Also, I don'tTorbjörn Andersson
think _cursorHasOwnPalette is needed any more, so I've removed it. svn-id: r22541
2006-05-20Set a cursor palette for the classic theme, as well. Otherwise we'll get theTorbjörn Andersson
wrong colours in many games. svn-id: r22540
2006-05-20Our GUI uses the "cursor palette" feature, but the SDL backend did not use theTorbjörn Andersson
cursor palette in overlay mode. Now it does, which fixes bug #1476666. The reason it worked at all before was that blitCursor() was called while still not in overlay mode. This, of course, means that the GUI can corrupt the in-game cursor palette. I don't have any game that uses this feature, so I don't know if it's properly restored again afterwards. But if it isn't, that should be fairly easy to fix. svn-id: r22539