Correct logic of BSP back/front tests
[neverball] / ball / game.h
index 4a4727c..408bf98 100644 (file)
@@ -3,8 +3,7 @@
 
 #include <stdio.h>
 
-#include "level.h"
-#include "mode.h"
+#include "lang.h"
 
 /*---------------------------------------------------------------------------*/
 
 
 /*---------------------------------------------------------------------------*/
 
-int   game_init(const struct level *, int, int);
+int   game_init(const char *, int, int);
 void  game_free(void);
 
 int   curr_clock(void);
 int   curr_coins(void);
-int   curr_goal(void);
 
 void  game_draw(int, float);
 int   game_step(const float[3], float, int);
 
+void  game_set_goal(void);
+void  game_clr_goal(void);
+
 void  game_set_ang(int, int);
 void  game_set_pos(int, int);
 void  game_set_x  (int);
@@ -70,4 +71,13 @@ int input_get(FILE *);
 
 /*---------------------------------------------------------------------------*/
 
+#define GAME_NONE 0
+#define GAME_TIME 1
+#define GAME_GOAL 2
+#define GAME_FALL 3
+
+const char *status_to_str(int);
+
+/*---------------------------------------------------------------------------*/
+
 #endif