summary refs log tree commit diff
path: root/src/Game.h
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2021-09-12 00:28:36 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2021-09-12 00:31:47 +0700
commit62445a15b14a059032d7c0c3e16a959d25bff604 (patch)
tree4c0aba823939c3d266bc447dfe6c51fa4f2c0f1a /src/Game.h
parente3614a94b984d12baa7f4f6010b6707805ce0928 (diff)
downloadblackshades-2.2.0.tar.gz
Make window resizable 2.2.0
Diffstat (limited to 'src/Game.h')
-rw-r--r--src/Game.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/Game.h b/src/Game.h
index f290f34..7e27345 100644
--- a/src/Game.h
+++ b/src/Game.h
@@ -194,11 +194,12 @@ typedef struct Game Game;
 extern "C" {
 #endif // __cplusplus
 	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*);
+	void resizeWindow(Game* game, int width, int height);
+	void handleKey(Game* game, int key, int action, int mods);
+	void initGl(Game* game);
+	void initGame(Game* game);
+	void eventLoop(Game* game);
+	void closeGame(Game* game);
 #ifdef __cplusplus
 } // extern "C"
 #endif // __cplusplus