improved smooth movement animation for BD engine (complete rewrite)
[rocksndiamonds.git] / src / game_bd / bd_gameplay.h
index 98659a48364e33e373dd6469d64c36dc4dcfc8e6..2ea5d8c4bfc1929f6cf9c0c3151a98211d5fc470 100644 (file)
@@ -77,15 +77,18 @@ typedef struct _gd_game
   int state_counter;            // counter used to control the game flow, rendering of caves
   int **element_buffer;
   int **last_element_buffer;
-  int **dir_buffer;
+  int **dir_buffer_from;
+  int **dir_buffer_to;
   int **gfx_buffer;             // contains the indexes to the cells;
                                 // created by *start_level, deleted by *stop_game
   int itercycle;
   int itermax;
   int itermax_last;
+  int itermax2[2];
   int animcycle;
   int milliseconds_game;
   int milliseconds_anim;
+  int cycle_counter;
 
   int replay_no_more_movements;
   boolean show_story;          // to remember that story for a particular cave was already shown.