added support for snap element in BD engine to level editor
[rocksndiamonds.git] / src / main.h
index 45b045f19f7c5a4d02df8388a5734f307053e513..d650a5f78f3d1dde005523d83b4f251c0b3157dd 100644 (file)
@@ -3493,6 +3493,7 @@ struct LevelInfo
   boolean bd_intermission;             // BD level is intermission
   boolean bd_diagonal_movements;       // BD style diagonal movements
   boolean bd_topmost_player_active;    // BD engine uses first player found on playfield
+  int bd_snap_element;                 // BD element that is created when player is snapping
   int bd_pushing_prob;                 // BD player probability to push rocks
   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
@@ -3516,6 +3517,11 @@ struct LevelInfo
   int bd_amoeba_2_content_exploding;   // BD amoeba 2 changes to this element if exploding
   int bd_amoeba_2_content_looks_like;  // BD amoeba 2 looks like this other game element
   int bd_clock_extra_time;             // BD engine extra time when collecting clock
+  boolean bd_voodoo_collects_diamonds; // BD voodoo doll can collect diamonds for the player
+  boolean bd_voodoo_hurt_kills_player; // BD voodoo doll hurt in any way, player is killed
+  boolean bd_voodoo_dies_by_rock;      // BD voodoo doll can be killed by a falling rock
+  boolean bd_voodoo_vanish_by_explosion;// BD voodoo doll can be destroyed by explosions
+  int bd_voodoo_penalty_time;          // BD engine penalty time when voodoo doll destroyed
   boolean em_slippery_gems;            // EM style "gems slip from wall" behaviour
   boolean em_explodes_by_fire;         // EM style chain explosion behaviour
   boolean use_spring_bug;              // for compatibility with old levels