Replace strong level path from replay with a couple (name/version) of the level.
[neverball] / ball / set.h
index 88a24d6..7ced135 100644 (file)
@@ -33,6 +33,10 @@ struct set
     int count;                /* number of levels */
     int locked;               /* number of locked levels */
     int completed;            /* number of completed levels */
+
+    /* levels */
+    
+    struct level level_v[MAXLVL];
 };
 
 /*---------------------------------------------------------------------------*/
@@ -56,6 +60,8 @@ const struct set *curr_set(void);
 
 const struct level *get_level(int);
 
+const struct level *search_level(const char *);
+
 /*---------------------------------------------------------------------------*/
 
 void set_finish_level(struct level_game *, const char *);