Whitespace, some function name changes

This commit is contained in:
Jeff Teunissen 2000-12-28 07:46:40 +00:00
parent c6a22c8a88
commit 37304217c1

View file

@ -29,6 +29,20 @@
$Id$ $Id$
*/ */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <vga.h>
#include <vgakeyboard.h>
#include <vgamouse.h>
#include "host.h" #include "host.h"
#include "client.h" #include "client.h"
#include "cl_input.h" #include "cl_input.h"
@ -43,17 +57,6 @@
#include "sys.h" #include "sys.h"
#include "view.h" #include "view.h"
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <vga.h>
#include <vgakeyboard.h>
#include <vgamouse.h>
static int UseKeyboard = 1; static int UseKeyboard = 1;
static int UseMouse = 1; static int UseMouse = 1;
static int in_svgalib_inited = 0; static int in_svgalib_inited = 0;
@ -66,8 +69,8 @@ static float mouse_x, mouse_y;
static float old_mouse_x, old_mouse_y; static float old_mouse_x, old_mouse_y;
static int mx, my; static int mx, my;
static void IN_init_kb (); static void IN_InitKeyboard (void);
static void IN_init_mouse (); static void IN_InitMouse (void);
cvar_t *_windowed_mouse; cvar_t *_windowed_mouse;
cvar_t *m_filter; cvar_t *m_filter;
@ -87,8 +90,7 @@ keyhandler (int scancode, int state)
static void static void
mousehandler (int buttonstate, int dx, int dy, int dz, int drx, int dry, mousehandler (int buttonstate, int dx, int dy, int dz, int drx, int dry, int drz)
int drz)
{ {
mouse_buttonstate = buttonstate; mouse_buttonstate = buttonstate;
mx += dx; mx += dx;
@ -119,9 +121,9 @@ IN_Init (void)
UseMouse = 0; UseMouse = 0;
if (UseKeyboard) if (UseKeyboard)
IN_init_kb (); IN_InitKeyboard ();
if (UseMouse) if (UseMouse)
IN_init_mouse (); IN_InitMouse ();
JOY_Init (); JOY_Init ();
@ -137,7 +139,7 @@ IN_Init_Cvars (void)
} }
static void static void
IN_init_kb (void) IN_InitKeyboard (void)
{ {
int i; int i;
@ -258,7 +260,7 @@ IN_init_kb (void)
} }
static void static void
IN_init_mouse () IN_InitMouse (void)
{ {
int mtype; int mtype;
char *mousedev; char *mousedev;