]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - input.h
now shows status messages in join game menu when a server is typed in manually (it...
[xonotic/darkplaces.git] / input.h
diff --git a/input.h b/input.h
index a44a5eec615afe0ac3ea112922f5d4d82c78c6ef..f48aa9c4eec2ec13278d821b8f8d781d71b7c5b9 100644 (file)
--- a/input.h
+++ b/input.h
@@ -19,16 +19,23 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
 // input.h -- external (non-keyboard) input devices
 
+#ifndef INPUT_H
+#define INPUT_H
+
 extern cvar_t in_pitch_min;
 extern cvar_t in_pitch_max;
 
-void IN_Init (void);
+extern qboolean in_client_mouse;
+extern float in_mouse_x, in_mouse_y;
 
-void IN_Shutdown (void);
+//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
 
@@ -40,3 +47,5 @@ void IN_Mouse(usercmd_t *cmd, float mx, float my);
 void IN_ClearStates (void);
 // restores all button and position states to defaults
 
+#endif
+