diff options
author | Florian Kagerer | 2009-03-15 16:48:20 +0000 |
---|---|---|
committer | Florian Kagerer | 2009-03-15 16:48:20 +0000 |
commit | dcf32be3f656b0adda3feb3c07c1f5940ebfa979 (patch) | |
tree | ec584f60b548031d4dc06d595fe27b934537d027 /engines/kyra/script_tim.h | |
parent | f1079ef624ff39aa9b09b3fc220244a99256aad6 (diff) | |
download | scummvm-rg350-dcf32be3f656b0adda3feb3c07c1f5940ebfa979.tar.gz scummvm-rg350-dcf32be3f656b0adda3feb3c07c1f5940ebfa979.tar.bz2 scummvm-rg350-dcf32be3f656b0adda3feb3c07c1f5940ebfa979.zip |
LOL: - added some missing animations for the shops
- added support for dropping/picking up items (no throwing yet)
svn-id: r39422
Diffstat (limited to 'engines/kyra/script_tim.h')
-rw-r--r-- | engines/kyra/script_tim.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/engines/kyra/script_tim.h b/engines/kyra/script_tim.h index b88a88c7f6..668866a2a1 100644 --- a/engines/kyra/script_tim.h +++ b/engines/kyra/script_tim.h @@ -143,6 +143,7 @@ public: virtual void startBackgroundAnimation(int animIndex, int part) {} virtual void stopBackgroundAnimation(int animIndex) {} virtual void updateBackgroundAnimation(int animIndex) {} + virtual void playAnimationPart(int animIndex, int firstFrame, int lastFrame, int delay) {} virtual void forceDialogue(TIM *tim) {} @@ -230,13 +231,13 @@ public: void drawDialogueBox(int numStr, const char *s1, const char *s2, const char *s3); uint16 processDialogue(); - + void forceDialogue(TIM *tim); + void setupBackgroundAnimationPart(int animIndex, int part, int firstFrame, int lastFrame, int cycles, int nextPart, int partDelay, int f, int sfxIndex, int sfxFrame); void startBackgroundAnimation(int animIndex, int part); void stopBackgroundAnimation(int animIndex); - void updateBackgroundAnimation(int animIndex); - - void forceDialogue(TIM *tim); + void updateBackgroundAnimation(int animIndex); + void playAnimationPart(int animIndex, int firstFrame, int lastFrame, int delay); private: KyraEngine_v1 *vm(); |