]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - input.h
Added in_mouse_x and in_mouse_y, which contain the rel. coords of the mouse.
[xonotic/darkplaces.git] / input.h
diff --git a/input.h b/input.h
index 30f76ef56fe80ae01fb03aa15bfc1137b7d38909..f48aa9c4eec2ec13278d821b8f8d781d71b7c5b9 100644 (file)
--- a/input.h
+++ b/input.h
@@ -25,9 +25,17 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 extern cvar_t in_pitch_min;
 extern cvar_t in_pitch_max;
 
+extern qboolean in_client_mouse;
+extern float in_mouse_x, in_mouse_y;
+
+//enum {input_game,input_message,input_menu} input_dest;
+
 void IN_Commands (void);
 // oportunity for devices to stick commands on the script buffer
 
+// AK added to allow mouse movement for the menu
+void IN_ProcessMove(usercmd_t *cmd);
+
 void IN_Move (usercmd_t *cmd);
 // add additional movement on top of the keyboard move cmd