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.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/Game.h b/src/Game.h
index 58770c3..3c0776a 100644
--- a/src/Game.h
+++ b/src/Game.h
@@ -68,11 +68,7 @@ public:
 	float viewdistance;
 
 	// Mouse
-	Point mouseloc;
-	float mouserotation,mouserotation2;
-	float oldmouserotation,oldmouserotation2;
-	float mousesensitivity;
-	float usermousesensitivity;
+	float mouse_sensitivity;
 
 	// Project specific
 	int cityrotation[num_blocks][num_blocks];
@@ -132,7 +128,6 @@ public:
 
 	XYZ lastshot[2];
 	bool zoom;
-	bool oldzoom;
 
 	int numpeople;
 	float spawndelay;
@@ -185,10 +180,11 @@ typedef struct Game Game;
 extern "C" {
 #endif // __cplusplus
 	Game* makeGame(struct Config config);
-	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 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 setMenu(Game* game, bool value);
 	void eventLoop(Game* game);
 	void closeGame(Game* game);