rnd-20140305-1-src
[rocksndiamonds.git] / src / libgame / system.h
index 0b2800f237065c83e853d5cd95a13541c9439ec7..1475ab69b3c7e2fd1e4ba3781680048b0108586e 100644 (file)
 
 /* default values for undefined configuration file parameters */
 #define ARG_UNDEFINED          "-1000000"
-#define ARG_UNDEFINED_VALUE    (atoi(ARG_UNDEFINED))
+#define ARG_UNDEFINED_VALUE    (-1000000)
+
+/* default value for off-screen positions */
+#define POS_OFFSCREEN          (-1000000)
 
 /* definitions for game sub-directories */
 #ifndef RO_GAME_DIR
@@ -1214,6 +1217,9 @@ struct DoorPartPosInfo
   int step_xoffset;
   int step_yoffset;
   int step_delay;
+  int start_step;
+  int start_step_opening;
+  int start_step_closing;
   boolean draw_masked;
   int sort_priority;
 };