removed obsolete toon animation code (done by global animations now)
[rocksndiamonds.git] / src / cartoons.h
index 0cfd8c123d3d8ce5e6683d3d74c9f4174a1caedf..ff84dd0e2f78cf8f33a5501a58493282a64c320d 100644 (file)
@@ -1,19 +1,26 @@
-/***********************************************************
-* Rocks'n'Diamonds -- McDuffin Strikes Back!               *
-*----------------------------------------------------------*
-* (c) 1995-2001 Artsoft Entertainment                      *
-*               Holger Schemel                             *
-*               Detmolder Strasse 189                      *
-*               33604 Bielefeld                            *
-*               Germany                                    *
-*               e-mail: info@artsoft.org                   *
-*----------------------------------------------------------*
-* cartoons.h                                               *
-***********************************************************/
+// ============================================================================
+// Rocks'n'Diamonds - McDuffin Strikes Back!
+// ----------------------------------------------------------------------------
+// (c) 1995-2014 by Artsoft Entertainment
+//                         Holger Schemel
+//                 info@artsoft.org
+//                 http://www.artsoft.org/
+// ----------------------------------------------------------------------------
+// cartoons.h
+// ============================================================================
 
 #ifndef CARTOONS_H
 #define CARTOONS_H
 
-void InitToons(void);
+
+/* 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 InitGlobalAnimations(void);
+void DrawGlobalAnimations(int);
 
 #endif