rnd-20031102-1-src
[rocksndiamonds.git] / src / libgame / system.h
index d1c41d2a91164a39378f07590767a0b548bf61c3..ae8473465d2f8b087086c2bd9ce40c174dd99b18 100644 (file)
 
 
 /* macros for version handling */
-#define VERSION_IDENT(x,y,z)   ((x) * 1000000 + (y) * 10000 + (z) * 100)
-#define RELEASE_IDENT(x,y,z,r) (VERSION_IDENT(x,y,z) + (r))
 #define VERSION_MAJOR(x)       ((x) / 1000000)
 #define VERSION_MINOR(x)       (((x) % 1000000) / 10000)
 #define VERSION_PATCH(x)       (((x) % 10000) / 100)
-#define VERSION_RELEASE(x)     ((x) % 100)
+#define VERSION_BUILD(x)       ((x) % 100)
+#define VERSION_IDENT(a,b,c,d) ((a) * 1000000 + (b) * 10000 + (c) * 100 + (d))
 
 
 /* macros for parent/child process identification */
@@ -628,6 +627,8 @@ struct TreeInfo
   int last_level;      /* last level number (automatically calculated) */
   int sort_priority;   /* sort levels by 'sort_priority' and then by name */
 
+  boolean latest_engine;/* force level set to use the latest game engine */
+
   boolean level_group; /* directory contains more level series directories */
   boolean parent_link; /* entry links back to parent directory */
   boolean user_defined;        /* user defined levels are stored in home directory */