changed global animations (esp. toons) to be controlled by game mode
[rocksndiamonds.git] / src / cartoons.h
index a0290d1b3ca5d7324a82f8cd371c375b4364857b..2b7680d113c528660ad15dca189b35c6a5e46153 100644 (file)
 #ifndef CARTOONS_H
 #define CARTOONS_H
 
+
+/* values for global animations */
+#define ANIM_STATE_INACTIVE    0
+#define ANIM_STATE_RESTART     (1 << 0)
+#define ANIM_STATE_WAITING     (1 << 1)
+#define ANIM_STATE_RUNNING     (1 << 2)
+
+
 void InitToons(void);
+void InitGlobalAnimations(void);
 
-void DrawGlobalAnim(void);
+void DrawGlobalAnim(int);
 
 void InitAnimation(void);
 void StopAnimation(void);