summary refs log tree commit diff
path: root/src/Game.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Game.h')
-rw-r--r--src/Game.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Game.h b/src/Game.h
index f6400d9..f10c136 100644
--- a/src/Game.h
+++ b/src/Game.h
@@ -25,6 +25,7 @@
 #include <GLFW/glfw3.h>
 
 #include "config.h"
+#include "misc.h"
 
 #ifdef __cplusplus
 #include <stdlib.h>
@@ -165,7 +166,6 @@ public:
 	// Game functions
 	void Tick();
 	void Splat(int k);
-	void saveHighScore();
 };
 #else // __cplusplus
 #include <stdbool.h>
@@ -176,7 +176,7 @@ typedef struct Game Game;
 #ifdef __cplusplus
 extern "C" {
 #endif // __cplusplus
-	Game* makeGame(struct Config config);
+	Game* makeGame(struct Config config, struct Scores scores);
 	void initGl(Game* game);
 	void initGame(Game* game);
 	void resizeWindow(Game* game, int width, int height);
@@ -185,6 +185,7 @@ extern "C" {
 	void handleKey(Game* game, int key, int action, int mods);
 	void setMenu(Game* game, bool value);
 	void eventLoop(Game* game);
+	struct Scores getScores(Game* game);
 	void closeGame(Game* game);
 #ifdef __cplusplus
 } // extern "C"