added support for skeleton settings in BD engine to level editor
[rocksndiamonds.git] / src / main.h
index 3b735c4cfff99697897e3eb9351dd61a5e353c5e..1abf844f2ff2132b1b26536d080136b7dbaa568e 100644 (file)
@@ -2539,6 +2539,7 @@ enum
   ACTION_TWINKLING,
   ACTION_SPLASHING,
   ACTION_HITTING,
+  ACTION_FLYING,
   ACTION_PAGE_1,
   ACTION_PAGE_2,
   ACTION_PAGE_3,
@@ -3619,7 +3620,14 @@ struct LevelInfo
   int bd_pushing_prob_with_sweet;      // BD player probability to push rocks after eating sweet
   boolean bd_push_mega_rock_with_sweet;        // BD player can push mega rocks after eating sweet
   boolean bd_magic_wall_wait_hatching; // BD magic wall waits for player's birth
-  boolean bd_magic_wall_stops_amoeba;  // BD magic wall turns amoeba to diamonds
+  boolean bd_magic_wall_stops_amoeba;  // BD magic wall can stop amoeba and turn to diamonds
+  int bd_magic_wall_diamond_to;                // BD magic wall turns diamonds to specified element
+  int bd_magic_wall_rock_to;           // BD magic wall turns rocks to specified element
+  int bd_magic_wall_mega_rock_to;      // BD magic wall turns mega rocks to specified element
+  int bd_magic_wall_nut_to;            // BD magic wall turns nuts to specified element
+  int bd_magic_wall_nitro_pack_to;     // BD magic wall turns nitro packs to specified element
+  int bd_magic_wall_flying_diamond_to; // BD magic wall turns flying diamonds to specified element
+  int bd_magic_wall_flying_rock_to;    // BD magic wall turns flying rocks to specified element
   boolean bd_amoeba_wait_for_hatching; // BD amoeba waits for player's birth
   boolean bd_amoeba_start_immediately; // BD amoeba growth starts immediately
   boolean bd_amoeba_2_explode_by_amoeba;// BD amoeba 2 explodes if touched by BD amoeba
@@ -3648,6 +3656,12 @@ struct LevelInfo
   int bd_slime_permeability_rate;      // BD slime permeability rate for unpredictable slime
   int bd_slime_permeability_bits_c64;  // BD slime permeability bits for predictable slime
   int bd_slime_random_seed_c64;                // BD slime random number seed for predictable slime
+  int bd_slime_eats_element_1;         // BD slime can eat and convert this game element
+  int bd_slime_converts_to_element_1;  // BD slime can convert eaten element to this game element
+  int bd_slime_eats_element_2;         // BD slime can eat and convert this game element
+  int bd_slime_converts_to_element_2;  // BD slime can convert eaten element to this game element
+  int bd_slime_eats_element_3;         // BD slime can eat and convert this game element
+  int bd_slime_converts_to_element_3;  // BD slime can convert eaten element to this game element
   int bd_cave_random_seed_c64;         // BD cave random number seed for predictable slime
   int bd_acid_eats_element;            // BD acid eats this game element when spreading
   int bd_acid_spread_rate;             // BD acid probability of spreading (in percent)
@@ -3661,6 +3675,12 @@ struct LevelInfo
   boolean bd_conveyor_belts_active;    // BD conveyor belts start in active state if enabled
   boolean bd_conveyor_belts_changed;   // BD conveyor belts direction is changed if enabled
   boolean bd_water_cannot_flow_down;   // BD water does not flow downwards if enabled
+  boolean bd_nut_content;              // BD nut contains the specified game element
+  int bd_hammer_walls_break_delay;     // BD hammer time for breaking walls (in BD frames)
+  boolean bd_hammer_walls_reappear;    // BD hammered walls are reappearing after some delay
+  int bd_hammer_walls_reappear_delay;  // BD hammer time for reappearing walls (in BD frames)
+  int bd_num_skeletons_needed_for_pot; // BD skeletons amount must be collected to use a pot
+  int bd_skeleton_worth_num_diamonds;  // BD skeleton collected is worth this number of diamonds
 
   boolean em_slippery_gems;            // EM style "gems slip from wall" behaviour
   boolean em_explodes_by_fire;         // EM style chain explosion behaviour