rnd-20030208-2-src
[rocksndiamonds.git] / src / libgame / toons.h
index 3588d7da46a4a0df1080c7f796780f20f492b15d..8ea41d1868fb375e51de653b2e699c5b488e50ac 100644 (file)
@@ -24,6 +24,7 @@
 #define ANIM_PINGPONG          (1 << 2)
 #define ANIM_PINGPONG2         (1 << 3)
 #define ANIM_REVERSE           (1 << 4)
+#define ANIM_RANDOM            (1 << 5)
 
 /* values for toon animation direction */
 #define ANIMDIR_LEFT   1
@@ -61,15 +62,27 @@ struct ToonInfo
   int width, height;
   int src_x, src_y;
   int anim_frames;
-  int move_delay;
-  int stepsize;
+  int step_delay;
+  int step_offset;
   int anim_mode;
   int direction;
   int position;
 
   int anim_delay;
-  int start_frame;
+  int anim_start_frame;
   Bitmap *bitmap;      /* dynamically initialized */
+
+#if 0
+  Bitmap *bitmap;
+  int src_x, src_y;
+  int width, height;
+  int anim_frames;
+  int anim_start_frame;
+  int anim_delay;
+  int anim_mode;
+  int step_offset;
+  int step_delay;
+#endif
 };