]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - input.h
Elric added deflated file support for pk3 archives (in other words: compressed pk3...
[xonotic/darkplaces.git] / input.h
diff --git a/input.h b/input.h
index c3daa1700e9d8d0212929cad8b455586dfb3841e..30f76ef56fe80ae01fb03aa15bfc1137b7d38909 100644 (file)
--- a/input.h
+++ b/input.h
@@ -19,9 +19,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
 // input.h -- external (non-keyboard) input devices
 
-void IN_Init (void);
+#ifndef INPUT_H
+#define INPUT_H
 
-void IN_Shutdown (void);
+extern cvar_t in_pitch_min;
+extern cvar_t in_pitch_max;
 
 void IN_Commands (void);
 // oportunity for devices to stick commands on the script buffer
@@ -29,6 +31,13 @@ void IN_Commands (void);
 void IN_Move (usercmd_t *cmd);
 // add additional movement on top of the keyboard move cmd
 
+void IN_PreMove(void);
+void IN_PostMove(void);
+
+void IN_Mouse(usercmd_t *cmd, float mx, float my);
+
 void IN_ClearStates (void);
 // restores all button and position states to defaults
 
+#endif
+