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.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Game.h b/src/Game.h
index 3c0776a..81bba21 100644
--- a/src/Game.h
+++ b/src/Game.h
@@ -54,8 +54,6 @@
 #define max_people_block 20
 
 class Game {
-	void saveHighScore();
-	void updateSong();
 	void handleMenu();
 	void handleToggles();
 	void mouseLook();
@@ -78,7 +76,6 @@ public:
 	int onblockx, onblocky;
 	bool cubetest;
 	bool disttest;
-	bool oldbutton;
 
 	bool initialized;
 
@@ -138,7 +135,6 @@ public:
 	int type;
 
 	int mouseoverbutton;
-	int oldmouseoverbutton;
 
 	Person person[max_people];
 
@@ -166,9 +162,12 @@ public:
 	GLvoid ReSizeGLScene(float fov, float near);
 	void DrawGLScene();
 
+	void updateSong();
+
 	// Game functions
 	void Tick();
 	void Splat(int k);
+	void saveHighScore();
 };
 #else // __cplusplus
 #include <stdbool.h>
@@ -183,8 +182,9 @@ extern "C" {
 	void initGl(Game* game);
 	void initGame(Game* game);
 	void resizeWindow(Game* game, int width, int height);
-	void handleKey(Game* game, int key, int action, int mods);
 	void look(Game* game, double xpos, double ypos);
+	void click(Game* game, int button, int action, int mods);
+	void handleKey(Game* game, int key, int action, int mods);
 	void setMenu(Game* game, bool value);
 	void eventLoop(Game* game);
 	void closeGame(Game* game);