Age | Commit message (Collapse) | Author |
|
svn-id: r20582
|
|
* Moved more code out of kyra.cpp.
Specifically moved Kyra1 specific sequence helper functions to sequence.cpp
(and updateKyragemFading() from animator.cpp for the same reason),
and some generic animation functions to animator.cpp. This is mainly
in preparation for Kyra2.
* Additionally, cleaned up my last bugfix a little bit :)
svn-id: r20493
|
|
bugs which overwride the interface. (also in the scene with the ruby tree)
svn-id: r20483
|
|
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
|
|
(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
|
|
svn-id: r20088
|
|
svn-id: r20032
|
|
svn-id: r20026
|
|
patterns).
svn-id: r20006
|
|
opcode debug messages, and blocked unnecessary sprite anim script looping.
svn-id: r19992
|
|
cd version
and 'implemented' them.
svn-id: r19988
|
|
Also added some delay calls while waiting in some script functions.
svn-id: r19982
|
|
walking
speed issue reported on the forums
svn-id: r19974
|
|
svn-id: r19973
|
|
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
|
|
and fixed some wsa playing functions.
svn-id: r19908
|
|
Implemented cmd_setDeathHandlerFlag and fixed debug call for cmd_drinkPotionAnimation.
svn-id: r19907
|
|
svn-id: r19902
|
|
also implemented: cmd_dispelMagicAnimation and cmd_runWSAFrames
and implemented color fading of the kyragem in room 210.
svn-id: r19898
|
|
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
|
|
Done:
- moving all wsa specific things into a new class
svn-id: r19888
|
|
- 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
|
|
Thanks to clemmy for that.
svn-id: r19870
|
|
- cmd_pauseTicks
- cmd_setLogicPage
- cmd_fatPrint
- cmd_playWinterScrollSequence
Also implemented functionallity of the other three jewels of the amulet.
svn-id: r19847
|
|
- cmd_magicInMouseItem
- cmd_poisonDeathNow
- cmd_poisonBrandonAndRemaps
- cmd_playFluteAnimation
Also implemented healing function for brandon. And implemented poison death
sequence.
svn-id: r19841
|
|
svn-id: r19834
|
|
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
|
|
and initSceneScreen.
svn-id: r19830
|
|
Implemented opcode: cmd_setSceneFile
svn-id: r19829
|
|
also changed implementation of itemDropDown a bit.
Implemented new opcodes:
- cmd_fadeSpecialPalette
- cmd_setCustomPaletteRange
svn-id: r19828
|
|
saw.
svn-id: r19827
|
|
svn-id: r19816
|
|
svn-id: r19815
|
|
the encodeShape and drawShape function for CD version.
svn-id: r19814
|
|
level 9 to debug level 3.
svn-id: r19799
|
|
is still loaded then.
Also implemented:
cmd_changeCharactersXAndY
cmd_setCharactersLocation
cmd_setCharactersCurrentFrame
svn-id: r19790
|
|
svn-id: r19786
|
|
svn-id: r19774
|
|
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
|
|
svn-id: r19772
|
|
svn-id: r19771
|
|
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
|
|
processItemDrop.
svn-id: r19765
|
|
Changed writing of stack access in the script functions.
Also fixed typo with cmdPoisonBrandonAndRemaps.
svn-id: r19764
|
|
svn-id: r19763
|
|
Added support for item placing. (not user input controlled)
svn-id: r19761
|
|
Also increased RESFILE_VERSION for the new kyra.dat for the cd version.
svn-id: r19717
|
|
svn-id: r19715
|
|
svn-id: r19714
|
|
Also fixed cursor hotspot position.
svn-id: r19707
|