aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/kyra.cpp
AgeCommit message (Collapse)Author
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-07-08Little renaming.Johannes Schickel
svn-id: r27963
2007-06-22Cleaning up after myself (I blame it on, err, uhh... the Vogons?)Max Horn
svn-id: r27625
2007-06-22Changed more code to use Common::KEYCODE_ enumMax Horn
svn-id: r27624
2007-06-08Fix crash when closing Kyrandia demo.Johannes Schickel
svn-id: r27223
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-15Formatting/Cleanup.Johannes Schickel
svn-id: r26511
2007-04-15More cleanup.Johannes Schickel
svn-id: r26502
2007-04-15cleanup.Johannes Schickel
svn-id: r26499
2007-04-01added the instance of EventManager returned by OSystem::getEventManager as a ↵Gregory Montoir
member of the Engine base class. This allows to simply the code a bit and should more efficient too (ie. less virtual function chain calls, obj->getA()->getB()). Also updated several engines to make use of it. svn-id: r26357
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-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-03-12WIP code for Amiga version:Johannes Schickel
- Font displaying is not yet supported. - Intro should be glitch free - all other things are *untested* svn-id: r26113
2007-03-07- cleanupJohannes Schickel
- some diffs for Amiga version svn-id: r26010
2007-02-16Added support for Kyrandia 2 ADL files.Johannes Schickel
svn-id: r25634
2007-02-12Support for Japanese FM-Towns version. (code contributed by Florian Kagerer, ↵Johannes Schickel
modified a bit) svn-id: r25530
2007-02-03Workaround bad values for _curSfxFile in old savegames.Johannes Schickel
svn-id: r25359
2007-02-03Some delay changes. (should fix slow scene animations)Johannes Schickel
svn-id: r25357
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
2007-01-26little parameter reodering.Johannes Schickel
svn-id: r25201
2007-01-25Adds CD audio support.Johannes Schickel
svn-id: r25192
2006-11-13Move addSpecialDebugLevel calls to engine constructor, as stated in ourEugene Sandulenko
HOWTO Engines. svn-id: r24704
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-16Reduce code duplicationMax Horn
svn-id: r23888
2006-09-16Replaces all malloc/realloc usages with new.Johannes Schickel
svn-id: r23886
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-08-26Stop doing a screen rewrite on each mouse movement event, just schedule a ↵Oystein Eftevaag
redraw for later instead svn-id: r23764
2006-08-01Kyra 2 has two types of XMIDI files: XMI and C55. It seems C55 are for theTorbjörn Andersson
General MIDI instrument set, so use them unless we're in MT-32 mode. This makes the music sound a bit closer (at least to me) to what DOSbox plays. svn-id: r23653
2006-08-01Until the native Kyra 2 Adlib music is supported, enable the automagic MIDI-to-Torbjörn Andersson
Adlib converter. svn-id: r23651
2006-07-29Added _quitFlag test to Kyra 2 animation and to waitForEvent().Torbjörn Andersson
svn-id: r23617
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-25Add support for looping the kyra3 main menu.Johannes Schickel
svn-id: r23593
2006-07-23Initialise the screen before creating the music driver. The MT-32 driver wantsTorbjörn Andersson
to draw to the screen. svn-id: r23574
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-07-08Changes init error handling of kyra engine (engine fails at ↵Johannes Schickel
Engine_KYRA_create now instead of KyraEngine::init, also adds check for invalid game path like the scumm engine does). svn-id: r23426
2006-07-08Adds a message dialog if kyra.dat is missing which tells the user to ↵Johannes Schickel
download the kyra.dat file. svn-id: r23421
2006-06-24These FIXME comments can go, I think :)Max Horn
svn-id: r23277
2006-06-24Fixing a leak in the Kyra engine (the savefile manager allocated by class ↵Max Horn
Engine was never freed) svn-id: r23276
2006-06-05Fixed PalmOS ARM crashesChris Apers
svn-id: r22942
2006-06-03Fixes visible mouse cursor in the intro with classic theme.Johannes Schickel
svn-id: r22903
2006-06-03Fix for bug # 1497965 ("KYRA1: Skipping dialogue requires two clicks").Johannes Schickel
svn-id: r22848
2006-05-28cleanupJohannes Schickel
svn-id: r22717