add 'skip value' goals, bumb sol version
[neverball] / share / solid.h
index 77fd982..e5d6552 100644 (file)
@@ -17,8 +17,7 @@
 
 #include <SDL.h>
 #include "glext.h"
-
-#define PATHMAX 64
+#include "base_config.h"
 
 /*
  * Some might  be taken  aback at  the terseness of  the names  of the
@@ -199,6 +198,7 @@ struct s_goal
 {
     float p[3];                                /* position                   */
     float r;                                   /* radius                     */
+    int   s;                                   /* level skiped               */
 };
 
 struct s_swch
@@ -211,6 +211,7 @@ struct s_swch
     float t;                                   /* current timer              */
     int   f0;                                  /* default state              */
     int   f;                                   /* current state              */
+    int   i;                                   /* is invisible?              */
 };
 
 struct s_bill
@@ -302,6 +303,7 @@ struct s_file
 
 /*---------------------------------------------------------------------------*/
 
+int   sol_load_only_file(struct s_file *, const char *);
 int   sol_load(struct s_file *, const char *, int, int);
 int   sol_stor(struct s_file *, const char *);
 void  sol_free(struct s_file *);