aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/script_tim.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra/script_tim.h')
-rw-r--r--engines/kyra/script_tim.h9
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();