aboutsummaryrefslogtreecommitdiff
path: root/kyra/kyra.h
AgeCommit message (Collapse)Author
2006-01-14Implemented "cmd_loadPageFromDisk" and "cmd_savePageToDisk".Johannes Schickel
svn-id: r20032
2006-01-13Reorganized the sound code a bit and fixed bug # 1404414 (Missing speech ↵Johannes Schickel
patterns). svn-id: r20006
2006-01-13Implemented a few drawing functions used by the menu, corrected a few incorrectOystein Eftevaag
opcode debug messages, and blocked unnecessary sprite anim script looping. svn-id: r19992
2006-01-12Fixed sound while loading games and fixed bug # 1403370.Johannes Schickel
svn-id: r19989
2006-01-12Implemented 'ingame' sound handling, and named the unknown opcodes from the ↵Johannes Schickel
cd version and 'implemented' them. svn-id: r19988
2006-01-07Implemented playing of the end sequence, still credits do not show up.Johannes Schickel
svn-id: r19941
2006-01-06Implemented the end sequence, (only the rest of the winning end sequenceJohannes Schickel
is missing yet and one text part that malcolm says). => Kyra *should* be completeable now. Also used KyraEngine:: in all debug calls from the KyraEngine class. And fixes a bug while drawing shapes. svn-id: r19928
2006-01-03Fixed wrong formatting in animator.hJohannes Schickel
Reworked the savefiles and extracted the save/load code to saveload.cpp. svn-id: r19900
2006-01-03Fixed some bugs with the timers.Johannes Schickel
also implemented: cmd_dispelMagicAnimation and cmd_runWSAFrames and implemented color fading of the kyragem in room 210. svn-id: r19898
2006-01-02More 'cleanup' for kyra.Johannes Schickel
Moved scene object drawing into its own class (see animator.h and .cpp) (this needs some more cleanup!) Moved text displaying into its own class (see text.h and .cpp) Also moved timer code to timers.cpp and button code to gui.cpp. Also changed wrong (c) information in debugger.h and debugger.cpp svn-id: r19890
2006-01-02Started to clean up the kyra engine.Johannes Schickel
Done: - moving all wsa specific things into a new class svn-id: r19888
2005-12-31Implemented:Johannes Schickel
- cmd_drinkPotionAnimation - cmd_fillFlaskWithWater - cmd_getIdolGem - cmd_itemOnGroundHere - cmd_queryCrystalState - cmd_setCrystalState - cmd_setBrandonScaleXAndY - cmd_resetScaleMode - cmd_getScaleDepthTableValue - cmd_setScaleDepthTableValue - cmd_brandonHealingSequence svn-id: r19871
2005-12-31Commited patches 1394374 and 1394374 with minor changes.Johannes Schickel
Thanks to clemmy for that. svn-id: r19870
2005-12-29Implemented:Johannes Schickel
- cmd_pauseTicks - cmd_setLogicPage - cmd_fatPrint - cmd_playWinterScrollSequence Also implemented functionallity of the other three jewels of the amulet. svn-id: r19847
2005-12-28Implemented:Johannes Schickel
- cmd_magicInMouseItem - cmd_poisonDeathNow - cmd_poisonBrandonAndRemaps - cmd_playFluteAnimation Also implemented healing function for brandon. And implemented poison death sequence. svn-id: r19841
2005-12-26Started to implement the amulet button callback.Johannes Schickel
Also implemented some of the first jewel functionallity. And cleaned up the resource unloading a bit. svn-id: r19833
2005-12-24Started to implement button handling (atm only the inventory works)Johannes Schickel
Also implemented following opcodes: - cmd_waitForConfirmationMouseClick - cmd_drawItemShapeIntoScene - cmd_setFireberryGlowPalette - cmd_findBrightestFireberry - cmd_sceneToDirection - cmd_createAmuletJewel - cmd_getCharactersMovementDelay - cmd_setNoDrawShapesFlag - cmd_checkClickOnNPC - cmd_getFoyerItem - cmd_setFoyerItem - cmd_passiveProtection - cmd_fillRect Fixed bugs in some opcodes (mostly wrong debug calls) Also changed debuglevel of all sprite functions to level 6 (from 5). svn-id: r19831
2005-12-23Implemented cmd_magicOutMouseItem and also extended enterNewSceneJohannes Schickel
and initSceneScreen. svn-id: r19830
2005-12-22Small bugfixes with enterNewScene and cmd_pauseSeconds.Johannes Schickel
Implemented opcode: cmd_setSceneFile svn-id: r19829
2005-12-22Completed implementation of processItemDropJohannes Schickel
also changed implementation of itemDropDown a bit. Implemented new opcodes: - cmd_fadeSpecialPalette - cmd_setCustomPaletteRange svn-id: r19828
2005-12-20Implemented cmd_makeAmuletAppear.Johannes Schickel
svn-id: r19815
2005-12-20Fixes gfx bug in the temple and the cave, also correctedJohannes Schickel
the encodeShape and drawShape function for CD version. svn-id: r19814
2005-12-14Implemented command line update when picking up or dropping down items.Johannes Schickel
svn-id: r19798
2005-12-13Implemented more of sceneScreenInit and completed transcendScenes.Johannes Schickel
svn-id: r19796
2005-12-13Improved user controlled input handling.Johannes Schickel
Disabled use of _mouseLockCount in screen.cpp for now. (that should fix a bug with not displayed cursor after using the debugger) svn-id: r19794
2005-12-10Implemented drawing of Brynns note.Johannes Schickel
svn-id: r19774
2005-12-10Implemented basic saving and loading. Use Ctrl+(0-9) to save, andOystein Eftevaag
Alt+(0-9) to load. Also extended the FastMode functionality to cover the main game, hit Ctrl-F to speed animations and chats. Set '.' to skip Brandon's chats, removed a redundant showMouse() and hideMouse() pair, and simplified some screen updating code. svn-id: r19773
2005-12-10Implemented cmd_bkgdScrollSceneAndMasksRight.Johannes Schickel
svn-id: r19772
2005-12-09Changed use of setTimerCountdown to new implemented setTimerDelay.Johannes Schickel
svn-id: r19771
2005-12-09Fixed bug with wrongly used shapes of items in a room.Johannes Schickel
Also implemented usage of NPC.EMC in the input function. And implemented following opcodes: - cmd_getCharactersLocation - cmd_setBrandonStatusBit - cmd_queryScenePhasingFlag - cmd_resetScenePhasingFlag - cmd_setScenePhasingFlag - cmd_phaseInSameScene - cmd_popMobileNPCIntoScene - cmd_setCharactersMovementDelay - cmd_queryBrandonStatusBit And a fix for the pathfinder and various other functions using the character positions values so they are now able to handle negative positions. svn-id: r19769
2005-12-09Implemented item dropping into a scene and renamed unkItemFunction to ↵Johannes Schickel
processItemDrop. svn-id: r19765
2005-12-09Commited patch # 1376551 (debug console, text fade, misc). Thanks to vinterstum.Johannes Schickel
svn-id: r19763
2005-12-08Fixed bug with item drawing.Johannes Schickel
Added support for item placing. (not user input controlled) svn-id: r19761
2005-11-18Implemented basic input handling and fixed mask drawing.Johannes Schickel
svn-id: r19657
2005-11-13Fixed a bug with the sprite loader and various things related toJohannes Schickel
the scene switching code. Now the intro works correctly with a minor graphics glitch. svn-id: r19588
2005-11-11Commited patch #1354117. Thanks to vinterstum.Johannes Schickel
svn-id: r19560
2005-11-10Fixed preserveAllBackgrounds and implemented:Johannes Schickel
cmd_changeCharactersFacing + cmd_popBrandonIntoScene and extended prepDrawAllObjects so that it could draw talking animations. Also removed a few useless comments. svn-id: r19550
2005-11-10Commited patch #1350510 with some little changes. Thanks to vinterstum.Johannes Schickel
svn-id: r19548
2005-11-09- fixed setCharactersPositionJohannes Schickel
- fixed loadCharacterShapes - fixed anim shape drawing - corrected some tables - added debug drawing for the pathfinder (still a bit buggy) - gets a small script scene to work with some graphics glitches - corrected some drawShape drawing functions - started to implement cmd_walkPlayerToPoint and the needed functions svn-id: r19539
2005-11-01Implemented the pathfinder and applied patch # 1342902.Johannes Schickel
Also added debug printouts to some functions. svn-id: r19386
2005-10-30Implemented initSceneObjectList, fixed bug with wrong drawn mouse,Johannes Schickel
also fixed a bug in loadCharacterShapes. svn-id: r19375
2005-10-29Implemented some basic opcodes, and basic character drawing, alsoJohannes Schickel
started to change a bit of the sprite code (thanks to vinterstum for his work) It is still WIP code and breaks CD version, since all the used tables have to be located in one cd version binary. svn-id: r19361
2005-10-22Implemented correct cursor handling.Johannes Schickel
svn-id: r19230
2005-10-18Some fixes:Johannes Schickel
- added support for an external data file for all the resources from the original binary - fixed a typo with malco(l)m - added support for spanish floppy - changes support for unknown languages a bit - some other cleanups svn-id: r19161
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-10-14Oops. Fixes a bug with wrong filename for intro text in english version.Johannes Schickel
Also gets rid of GF_KYRA* since GI_KYRA* should be used instead. And last but not least fixes text drawing while Kallaks writing scene. svn-id: r19081
2005-10-13Committed patch #1325945 ( KYRA: md5 game detection ) with a few changesJohannes Schickel
and added the story picture in the intro. svn-id: r19068
2005-10-12Applied patch #1320381 (KYRA: Adds speech support to CD version)Johannes Schickel
- changed the seq player - added cdrom version data - changed the resource loader a bit svn-id: r19037
2005-10-06Moved the sequence player into its own class. I'm sure this could beTorbjörn Andersson
cleaned up a bit, but it'll do for now. svn-id: r18946
2005-10-05Applied my patch #1314023, since cyx liked the idea of cleaning up theTorbjörn Andersson
sequence player. He did note - and I agree - that the player could be further cleaned up by placing it in a class of its own, and that it's possible (though not certain) that we won't be needing alternative opcode sets for the floppy and CD versions. But it'll do for now. I don't have time to do any more with it right now. svn-id: r18944