added option to disable warning about read-only levels when entering editor
[rocksndiamonds.git] / src / libgame / system.h
index 0e05f56f9675547f0231727e8b6c7dc0a5131a5d..0ec8a491bb113cb185891f8caf038d49e9d548ea 100644 (file)
 
 #define ANIM_DEFAULT           ANIM_LOOP
 
-// values for special drawing styles (currently only for crumbled graphics)
+// values for special drawing styles and event handling
 #define STYLE_NONE             0
+
+// values used for crumbled graphics
 #define STYLE_ACCURATE_BORDERS (1 << 0)
 #define STYLE_INNER_CORNERS    (1 << 1)
+
+// values used for game panel graphics
 #define STYLE_REVERSE          (1 << 2)
+#define STYLE_LEFTMOST_POSITION        (1 << 3)
 
-// values for special event handling style (used for global animation)
-#define STYLE_BLOCK            (1 << 3)
-#define STYLE_PASSTHROUGH      (1 << 4)
-#define STYLE_MULTIPLE_ACTIONS (1 << 5)
+// values used for global animations
+#define STYLE_BLOCK            (1 << 4)
+#define STYLE_PASSTHROUGH      (1 << 5)
+#define STYLE_MULTIPLE_ACTIONS (1 << 6)
 
 #define STYLE_DEFAULT          STYLE_NONE
 
@@ -1279,6 +1284,8 @@ struct SetupEditorInfo
 
   boolean show_element_token;
 
+  boolean show_read_only_warning;
+
   boolean use_template_for_new_levels;
 };