}
-void Force_CenterView_f(void)
-{
- cl.viewangles[PITCH] = 0;
-}
-
-
void IN_Init(void)
{
if (COM_CheckParm("-nokbd")) UseKeyboard = 0;
int mouserate = MOUSE_DEFAULTSAMPLERATE;
Cvar_RegisterVariable (&m_filter);
- Cmd_AddCommand("force_centerview", Force_CenterView_f);
mouse_buttons = 3;
void IN_JoyMove (usercmd_t *cmd);
-/*
-===========
-Force_CenterView_f
-===========
-*/
-void Force_CenterView_f (void)
-{
- cl.viewangles[PITCH] = 0;
-}
-
-
/*
===========
IN_UpdateClipCursor
Cvar_RegisterVariable (&joy_wwhack1);
Cvar_RegisterVariable (&joy_wwhack2);
- Cmd_AddCommand ("force_centerview", Force_CenterView_f);
Cmd_AddCommand ("joyadvancedupdate", Joy_AdvancedUpdate_f);
uiWheelMessage = RegisterWindowMessage ( "MSWHEEL_ROLLMSG" );
HandleEvents();
}
-void Force_CenterView_f (void)
-{
- cl.viewangles[PITCH] = 0;
-}
-
void IN_Init(void)
{
}
void (GLAPIENTRY *qglLockArraysEXT) (GLint first, GLint count);
void (GLAPIENTRY *qglUnlockArraysEXT) (void);
+void Force_CenterView_f (void)
+{
+ cl.viewangles[PITCH] = 0;
+}
+
void VID_InitCvars(void)
{
Cvar_RegisterVariable(&vid_mode);
Cvar_RegisterVariable(&vid_mouse);
Cvar_RegisterVariable(&vid_fullscreen);
+ Cmd_AddCommand("force_centerview", Force_CenterView_f);
}