]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - input.h
gave names to nearly all structs and enums which should make for better C++ error...
[xonotic/darkplaces.git] / input.h
diff --git a/input.h b/input.h
index c3daa1700e9d8d0212929cad8b455586dfb3841e..057329644162826f5897b8884713001c375cd2ed 100644 (file)
--- a/input.h
+++ b/input.h
@@ -8,7 +8,7 @@ of the License, or (at your option) any later version.
 
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
 See the GNU General Public License for more details.
 
@@ -19,16 +19,19 @@ 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
+extern qboolean in_client_mouse;
+extern float in_mouse_x, in_mouse_y;
 
-void IN_Move (usercmd_t *cmd);
+//enum input_dest_e {input_game,input_message,input_menu} input_dest;
+
+void IN_Move (void);
 // add additional movement on top of the keyboard move cmd
 
-void IN_ClearStates (void);
-// restores all button and position states to defaults
+#endif