rnd-20030514-1-src
[rocksndiamonds.git] / src / main.h
index 4b69a028acafe27701d4b288177b6bec4d9b5ce6..1d771ed6589518a2ed7e2bbd517a1ad81e505b43 100644 (file)
@@ -1032,9 +1032,13 @@ struct CustomElementChangeInfo
 
 struct CustomElementInfo
 {
+  boolean use_template;                /* use all properties from template file */
+
   boolean use_gfx_element;
   short gfx_element;           /* optional custom graphic element */
 
+  int move_direction;          /* direction movable element moves to */
+
   int walk_to_action;          /* only for level editor; not stored */
   int walkable_layer;          /* only for level editor; not stored */
 
@@ -1059,8 +1063,8 @@ struct LevelInfo
   char name[MAX_LEVEL_NAME_LEN + 1];
   char author[MAX_LEVEL_AUTHOR_LEN + 1];
   int score[LEVEL_SCORE_ELEMENTS];
-  int yam_content[MAX_ELEMENT_CONTENTS][3][3];
-  int num_yam_contents;
+  int yamyam_content[MAX_ELEMENT_CONTENTS][3][3];
+  int num_yamyam_contents;
   int amoeba_speed;
   int amoeba_content;
   int time_magic_wall;
@@ -1118,7 +1122,7 @@ struct GameInfo
   int initial_move_delay_value;
 
   /* variable within running game */
-  int yam_content_nr;
+  int yamyam_content_nr;
   boolean magic_wall_active;
   int magic_wall_time_left;
   int light_time_left;