X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=input.h;h=58d256f9b3a7724dd745be59b8996db7f32303c2;hp=30f76ef56fe80ae01fb03aa15bfc1137b7d38909;hb=81a60f5c6f00bd3c0cc1ae1eb76d6530b11b4d91;hpb=55ed30ad15c72f52aea124389b9997745d4dbf02 diff --git a/input.h b/input.h index 30f76ef5..58d256f9 100644 --- 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. @@ -25,19 +25,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 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); -// add additional movement on top of the keyboard move cmd - -void IN_PreMove(void); -void IN_PostMove(void); +//enum {input_game,input_message,input_menu} input_dest; -void IN_Mouse(usercmd_t *cmd, float mx, float my); - -void IN_ClearStates (void); -// restores all button and position states to defaults +void IN_Move (void); +// add additional movement on top of the keyboard move cmd #endif