aboutsummaryrefslogtreecommitdiff
path: root/kyra/kyra.cpp
AgeCommit message (Collapse)Author
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-09Finished item pick up code.Johannes Schickel
Changed writing of stack access in the script functions. Also fixed typo with cmdPoisonBrandonAndRemaps. svn-id: r19764
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-27Added voices for cd version in the game.Johannes Schickel
Also increased RESFILE_VERSION for the new kyra.dat for the cd version. svn-id: r19717
2005-11-26Fixed bug that findSubPath did not update the saved facing.Johannes Schickel
svn-id: r19704
2005-11-19Added md5 of spanish floppy version 1.8. Thanks to clemmy.Johannes Schickel
svn-id: r19658
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 cmd_blockInWalkableRegion and findSubPatch.Johannes Schickel
svn-id: r19551
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-22Fixed a double loading of shape 10,Johannes Schickel
and corrected mouse cursor region backup. svn-id: r19242
2005-10-22Made the shape handling endian safe, also renamned some functions andJohannes Schickel
variables. (mostly the *Helper functions and decodeShape -> encodeShape) But kept mouse handling. svn-id: r19241
2005-10-22Implemented correct cursor handling.Johannes Schickel
svn-id: r19230
2005-10-19I hope I understood LordHoto correctly. This change fixes the English CDTorbjörn Andersson
version, at least. svn-id: r19183
2005-10-19WhitespaceTorbjörn Andersson
svn-id: r19175
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-15Fixed a bug in the Kyra CD intro that caused ScummVM to crash when compiledTorbjörn Andersson
with GCC 4. (The string buffer for the file name was too short, which caused a write to another variable's address to overwrite the terminating zero at the end of the string.) svn-id: r19093
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
2005-10-03committed patch #1312156 'Various sprite-related things'. Thanks Oystein ↵Gregory Montoir
Eftevaag/vinterstum svn-id: r18930
2005-09-12Add logos and music in demo.Travis Howell
svn-id: r18812
2005-09-11oopsGregory Montoir
svn-id: r18809
2005-09-11committed patch #1281714 'Kyra 1 Sound Patch'. Thanks LordHoto.Gregory Montoir
svn-id: r18807
2005-09-10only load the 6.fnt file for floppy version (which is unused in the ↵Gregory Montoir
introduction) svn-id: r18804
2005-09-10renamed some vars for consistency with the demo tablesGregory Montoir
svn-id: r18803
2005-09-10Small font not used in demo.Travis Howell
svn-id: r18802
2005-09-10Add support for non-interactive demo version.Travis Howell
svn-id: r18801
2005-09-10fixed line breaks ; cleanupGregory Montoir
svn-id: r18800
2005-09-09cleanupGregory Montoir
svn-id: r18799
2005-09-08some WIP code, moved Font stuff to Screen classGregory Montoir
svn-id: r18790
2005-09-02fix shape loading for cdrom versionGregory Montoir
svn-id: r18737
2005-09-02added special sequence opcode 8Gregory Montoir
svn-id: r18733
2005-08-31some WIP code, add drawShape()Gregory Montoir
svn-id: r18724
2005-08-22Fixed two cases where a bad pointer would be freed, causing ScummVM toTorbjörn Andersson
crash on my Debian box. svn-id: r18708
2005-08-19some WIP code to start introduction (with glitches) in Kyrandia 1 :Gregory Montoir
- the decoders have been rewritten due to crashes I encountered with the previous ones in Compression:: - the wsa code loader for v1 have been rewritten too, to handle the same flags as the original - some cleanup - this has only been tested with the floppy version svn-id: r18704