added support for rocket launcher in BD engine
[rocksndiamonds.git] / src / game_bd / bd_cave.h
index e76c9c5c037c3fbd6a72f33b3c7989a2cec88704..b1ec47f398f0b38334c09812b7b7012682038245 100644 (file)
@@ -82,7 +82,7 @@ void gd_struct_set_defaults_from_array(void *str, const GdStructDescriptor *prop
 
 // these define the number of the cells in the png file
 #define GD_NUM_OF_CELLS_X      8
-#define GD_NUM_OF_CELLS_Y      46
+#define GD_NUM_OF_CELLS_Y      47
 
 // +80: placeholder for cells which are rendered by the game;
 // for example diamond + arrow = falling diamond
@@ -253,7 +253,7 @@ typedef struct _elements
 } GdElements;
 
 
-typedef char GdString[128];
+typedef char GdString[MAX_LINE_LEN];
 
 typedef struct _highscore
 {
@@ -530,6 +530,9 @@ typedef struct _gd_cave
   int hammered_wall_reappear_frame;
   boolean pneumatic_hammer_sound;
 
+  boolean infinite_rockets;             // if true, the player which got a rocket launcher will be
+                                        // able to launch an infinite number of rockets
+
   // internal variables, used during the game. private data :)
 
   // returns range corrected x/y position (points to perfect or line shifting get function)