aboutsummaryrefslogtreecommitdiff
path: root/kyra
AgeCommit message (Collapse)Author
2006-01-08Fixed script handling a bit.Johannes Schickel
svn-id: r19946
2006-01-08Fixed bug with sequences playing and fixed a bug with an invaild write.Johannes Schickel
svn-id: r19945
2006-01-08Should fix gfx glichtes in the intro.Johannes Schickel
svn-id: r19942
2006-01-07Implemented playing of the end sequence, still credits do not show up.Johannes Schickel
svn-id: r19941
2006-01-07fix warningPaweł Kołodziejski
svn-id: r19936
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-04Added a little 'hack' for cmd_pauseTicks until it is fully implementedJohannes Schickel
and fixed some wsa playing functions. svn-id: r19908
2006-01-04Added a simple gui dialog if brandon dies (currently using scummvms gui system)Johannes Schickel
Implemented cmd_setDeathHandlerFlag and fixed debug call for cmd_drinkPotionAnimation. svn-id: r19907
2006-01-04Implemented cmd_shrinkBrandonDown and cmd_shrinkBrandonDown.Johannes Schickel
svn-id: r19902
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
2006-01-01Change load & save quick save keys, to match other engines.Travis Howell
svn-id: r19878
2006-01-01fixed warningsPaweł Kołodziejski
svn-id: r19877
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-30Fixed compilation.Torbjörn Andersson
svn-id: r19862
2005-12-30* Replaced MDT_PREFER_NATIVE/MDT_NATIVE by MDT_PREFER_MIDI/MDT_MIDI).Max Horn
* Changed MidiDriver::createMidi so that if MD_ADLIB is passed, it now *does* instantiate the adlib driver. * Rewrote MidiDriver::detectMusicDriver (code should be clearer now, and hopefully easier to adapt/maintain). Note that the behavior changed slightly (this may require some tweaking). * Added MidiDriver::findMusicDriver which works similar to the old MidiDriver::parseMusicDriver but returns the full MidiDriverDescription and ignores all characters in the passed driver name following a colon ":". * Changed MidiDriver::parseMusicDriver to use MidiDriver::findMusicDriver. * Changed game engines to match the changes made to MidiDriver. * Modified SCUMM engine to not record the selected midi/music driver (in _midiDriver), but rather the music *type* (in _musicType). svn-id: r19859
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-26Fixed bug with input handling and implemented: cmd_getBirthstoneGem.Johannes Schickel
svn-id: r19834
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-22Fixed bug with an endless loop while clicking on herman after giving him the ↵Johannes Schickel
saw. svn-id: r19827
2005-12-20Fixed another gfx bug, this time sprite related, in the temple.Johannes Schickel
svn-id: r19816
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-18Fixes bug with no gfx update after updateSentenceCommand.Johannes Schickel
svn-id: r19805
2005-12-14Implemented cmd_setScaleMode and changed some old debug calls with debugJohannes Schickel
level 9 to debug level 3. svn-id: r19799
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-13Fixed a bug with transcendScenes in CD version there the old fileJohannes Schickel
is still loaded then. Also implemented: cmd_changeCharactersXAndY cmd_setCharactersLocation cmd_setCharactersCurrentFrame svn-id: r19790
2005-12-13Quiet warning in gcc 3.3.6James Brown
svn-id: r19789
2005-12-12Fixed displaying of brynns note for cd version.Johannes Schickel
svn-id: r19786
2005-12-12Increased size of VOC filename buffer to accomodate for 1000.VOC andTorbjörn Andersson
beyond. (Fixes a failed assertion for me.) svn-id: r19785
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-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-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