aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/kyra.h
AgeCommit message (Collapse)Author
2007-10-13- moved some voice functionallity from KyraEngine_v1 to KyraEngineJohannes Schickel
HoF: - added voice support - implemented opcodes -> o2_setVocHigh 167 -> o2_getVocHigh 168 -> o2_isVoiceEnabled 170 -> o2_isVoicePlaying 171 -> o2_stopVoicePlaying 172 -> o2_getGameLanguage 173 svn-id: r29201
2007-10-10- Made some sound functions a bit more generic for use with Kyra1 and Kyra2Johannes Schickel
HoF: - Added sound support (sfx sound wrong currently though) - Implemented opcodes: -> o2_loadMusicTrack -> o2_playWanderScoreViaMap -> o2_playSoundEffect -> o2t_playSoundEffect svn-id: r29183
2007-07-29- Kyrandia 1 works againJohannes Schickel
- Added timer class for timer handling - Little bit more resturcturing - A little bit (almost nothing but a start!) Kyrandia 2 support svn-id: r28297
2007-07-29Restructure Kyrandia sourcecode (part 2, compiling works again)Johannes Schickel
svn-id: r28296
2007-06-22Slightly updated key handling in BS2, Kyra, and ToucheMax Horn
svn-id: r27637
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-05-05- started to move v1 specific functions to KyraEngine_v1 (just opcodes yet)Johannes Schickel
- reworked script opcode handling svn-id: r26749
2007-04-27Cleanup.Johannes Schickel
svn-id: r26604
2007-04-26Removing more semicolaMax Horn
svn-id: r26597
2007-04-15Formatting/Cleanup.Johannes Schickel
svn-id: r26511
2007-03-24Commit of patch #1686414 ("Kyra: FM-Towns music").Johannes Schickel
svn-id: r26285
2007-03-18KYRA: Changed to use EventManager::getMousePos (should improve some things: ↵Max Horn
the old code did not properly track the mouse upon click events, and KyraEngine::waitForEvent ignored _flags.useHiResOverlay) svn-id: r26221
2007-03-18- little 'cleanup'Johannes Schickel
- finished MSC file support for Amiga version svn-id: r26204
2007-03-17Applied my re-revised patch #1487149 ("Simplified keyboard repeat"), withTorbjörn Andersson
Fingolfin's blessings. Keyboard repeat is now handled by the event manager, rather than by individual engines. Since this can cause problems with some engines (see the AGI engine), the extra "key down" events are marked as "synthetic", so that they can be ignored if necessary. svn-id: r26170
2007-03-07- cleanupJohannes Schickel
- some diffs for Amiga version svn-id: r26010
2007-02-12Support for Japanese FM-Towns version. (code contributed by Florian Kagerer, ↵Johannes Schickel
modified a bit) svn-id: r25530
2007-01-31Some changes to be closer to the original with palette handling.Johannes Schickel
svn-id: r25316
2007-01-31Fix for bug #Fix for bug #1523200 ("KYRA1: Voice-only mode has no lips ↵Johannes Schickel
animation"). svn-id: r25313
2007-01-29- adds support for FM-Towns SFX (thanks to Florian Kagerer for his source)Johannes Schickel
- gets rid of GameFlags::hasAudioCD svn-id: r25258
2006-11-09- switches to Common::AdvancedDetectorJohannes Schickel
- non md5 based detector removed (for now) svn-id: r24665
2006-10-15Added some more const keywordsMax Horn
svn-id: r24330
2006-09-23Moved base/engine.cpp and .h to engines/ (main motivation: helps untangle ↵Max Horn
the linker dependency graph). Porters will have to update project files svn-id: r23974
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-16Reduce code duplicationMax Horn
svn-id: r23888
2006-09-16Simplifies resource handling for the CD version of Kyrandia.Johannes Schickel
(also less file loading at startup, but more on room change) svn-id: r23887
2006-09-15- adds dirty rect handling to the kyra engine (needs some more tests before ↵Johannes Schickel
I commit it to branch though) - initializes an uninitiliazied variable which caused crashes from time to time svn-id: r23878
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-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-27Oops it should never be renamed to c1_* but to o1_* changing this now.Johannes Schickel
svn-id: r23613
2006-07-27- renaming all opcodes from cmd_* to c1_*Johannes Schickel
- changing ScriptHelper functions so it will be useable for kyra2 and kyra3 too - unbreaking savegames (increasing the VERSION number since the game flags table got resized to be useable for kyra3) svn-id: r23612
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-06-24Fixes save/load of kyra engine.Johannes Schickel
svn-id: r23287
2006-06-05removes _selectedMenuItem again.Johannes Schickel
svn-id: r22944
2006-06-05Fixed PalmOS ARM crashesChris Apers
svn-id: r22942
2006-05-28Got rid of _selectedMenuItem to make LordHoto happier.Torbjörn Andersson
svn-id: r22725
2006-05-28cleanupJohannes Schickel
svn-id: r22717
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-28Commits Chriliths patch for fixing Kyra on PalmOS.Johannes Schickel
svn-id: r22708
2006-05-28Fixes bug # 1494945 ("KYRA1: Actor disappearing in an animation").Johannes Schickel
svn-id: r22707
2006-05-28The Kyra settings are now stored in the config file instead of the savegames.Torbjörn Andersson
The settings in older savegames are ignored. svn-id: r22705
2006-05-28Added speechEnabled() and textEnabled() to simplify the text/speech config ↵Oystein Eftevaag
checks a bit, and added checks some more places svn-id: r22703
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-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-21Implements kyra3 main menu drawing.Johannes Schickel
svn-id: r22556
2006-05-20makes destructor of KyraEngine virtualJohannes Schickel
svn-id: r22547
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