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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Game.h b/src/Game.h
index 6e53188..1f92ba7 100644
--- a/src/Game.h
+++ b/src/Game.h
@@ -22,6 +22,8 @@
 #ifndef BLACKSHADES_GAME_H
 #define BLACKSHADES_GAME_H
 
+#include <GLFW/glfw3.h>
+
 #include "config.h"
 
 #ifdef __cplusplus
@@ -190,7 +192,6 @@ public:
 	void LoadingScreen(float percent);
 
 	// Game functions
-	void HandleKeyDown(char theChar);
 	void Tick();
 	void Splat(int k);
 };
@@ -204,6 +205,7 @@ extern "C" {
 	Game* makeGame(struct Config config);
 	void initGl(Game*);
 	void initGame(Game*);
+	void keyCallback(Game*, int key, int action, int mods);
 	void eventLoop(Game*);
 	void closeGame(Game*);
 #ifdef __cplusplus