add infos in Modes and Secrets tabs
[neverball] / ball / set.h
index 25870e2..88a24d6 100644 (file)
@@ -15,22 +15,24 @@ struct set
 {
     /* set global info */
     int number;               /* number of the set */
-       
-    char init_levels[MAXSTR]; /* levels list file */
-    char init_scores[MAXSTR]; /* levels intals score file */
-    char user_scores[MAXSTR]; /* lever user highscore file */
 
-    char shot[MAXSTR];        /* screenshot image file*/
+    char file[PATHMAX];
+
+    char user_scores[PATHMAX]; /* user highscore file */
+    char setname[MAXSTR];     /* internal set name */
+
     char name[MAXSTR];        /* set name */
     char desc[MAXSTR];        /* set description */
+    char shot[MAXSTR];        /* screenshot image file*/
 
     struct score time_score;  /* challenge score */
     struct score coin_score;  /* challenge score */
-    
+
     /* levels info */
-    
-    int count;               /* number of levels */
-    int limit;               /* last opened level */
+
+    int count;                /* number of levels */
+    int locked;               /* number of locked levels */
+    int completed;            /* number of completed levels */
 };
 
 /*---------------------------------------------------------------------------*/
@@ -42,7 +44,7 @@ const struct set *get_set(int);
 
 /*---------------------------------------------------------------------------*/
 
-int  set_extra_bonus_opened(const struct set *);
+int  set_unlocked(const struct set *);
 int  set_completed(const struct set *);
 
 int  set_level_exists(const struct set *, int);