aboutsummaryrefslogtreecommitdiff
path: root/kyra/staticres.cpp
AgeCommit message (Collapse)Author
2006-02-091. Replaced the $Header$ tags in the Kyra filesOystein Eftevaag
2. Added code to let the player skip past dialogue by leftclicking or hitting '.' 3. Removed the waitTicks() function and replaced all usage with delay() 4. Corrected various speed issues, the intro should run at the correct pace now 5. Talkie versions will no longer display the story screen during the intro, as in the original. 6. Moved the delay() function adjacent to other delay functions. svn-id: r20438
2006-02-09Moved tons of code out of kyra.cpp, and removed three redundant functions ↵Oystein Eftevaag
(two stubs to sound functions, and one duplicate function (one with 'posion' in the name, one with 'poison'). The bulk of the moved code is moved to the newly created files items.cpp, scene.cpp and sequences.cpp svn-id: r20437
2006-01-27Implemented the GUI menu for saving games (minus the cursor in the text ↵Oystein Eftevaag
entry window...). The Load Game menu will now pop up before the last part of the intro is played, if it has already played once before (as in the original). Note that the palette is still wrong, and the settings menu is still not implemented. svn-id: r20210
2006-01-25Fixes bug #1413951 (crashes when highlighting buttons on menu screensOystein Eftevaag
where the first button wasn't there), and the missing text on exit buttons. svn-id: r20166
2006-01-22Kyrandia:Oystein Eftevaag
* Partial GUI implementation -Loading games and quitting works. -Colors are wrong in most room; saving and configuration doesn't work. * Moved stuff around in kyra.h, so struct definitions are adjacent. * Slight modification of Joostp's mousefix, should be more efficient and still work svn-id: r20135
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
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-12Implemented 'ingame' sound handling, and named the unknown opcodes from the ↵Johannes Schickel
cd version and 'implemented' them. svn-id: r19988
2006-01-11Fixed for bug report # 1401360.Johannes Schickel
Also added some delay calls while waiting in some script functions. svn-id: r19982
2006-01-08Temporary fix for bug #1399917, by adding two dummy opcodes toOystein Eftevaag
the end of the opcode list (CD version has two extra opcodes, looks like). svn-id: r19955
2006-01-08Fixed bug with sequences playing and fixed a bug with an invaild write.Johannes Schickel
svn-id: r19945
2006-01-07Implemented playing of the end sequence, still credits do not show up.Johannes Schickel
svn-id: r19941
2006-01-03Fixed wrong formatting in animator.hJohannes Schickel
Reworked the savefiles and extracted the save/load code to saveload.cpp. svn-id: r19900
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-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-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-14Implemented command line update when picking up or dropping down items.Johannes Schickel
svn-id: r19798
2005-12-12Reworked the resource manager. Now it doesn't load all package files intoJohannes Schickel
memory but loads the needed part from the original files if needed. Also added CHAPTER1.VRM to the default CD filelist to fix that scummvm quits then looking at items in the CD version. (CHAPTER[2-5].VRM is NOT needed since they are the same files as CHAPTER1.VRM). svn-id: r19784
2005-12-09Commited patch # 1376551 (debug console, text fade, misc). Thanks to vinterstum.Johannes Schickel
svn-id: r19763
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-18Implemented basic input handling and fixed mask drawing.Johannes Schickel
svn-id: r19657
2005-11-14Make error message about invalid resource file more clear to end user.Eugene Sandulenko
svn-id: r19590
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-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-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-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-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-11committed patch #1281714 'Kyra 1 Sound Patch'. Thanks LordHoto.Gregory Montoir
svn-id: r18807
2005-09-10renamed some vars for consistency with the demo tablesGregory Montoir
svn-id: r18803
2005-09-10Add support for non-interactive demo version.Travis Howell
svn-id: r18801
2005-09-08some WIP code, moved Font stuff to Screen classGregory Montoir
svn-id: r18790
2005-08-31some WIP code, add drawShape()Gregory Montoir
svn-id: r18724
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