partially fixed win32 from the cvar conversion...

This commit is contained in:
Thad Ward 2000-05-16 13:12:55 +00:00
parent f8a6f9cb0b
commit bd1cc58799

View file

@ -1019,10 +1019,10 @@ static void Joy_AdvancedUpdate_f (void)
}
else
{
if (Q_strcmp (joy_name.string, "joystick") != 0)
if (Q_strcmp (joy_name->string, "joystick") != 0)
{
// notify user of advanced controller
Con_Printf ("\n%s configured\n\n", joy_name.string);
Con_Printf ("\n%s configured\n\n", joy_name->string);
}
// advanced initialization here
@ -1268,13 +1268,13 @@ static void IN_JoyMove (usercmd_t *cmd)
{
/* cl.viewangles[PITCH] -= (fAxisValue * joy_pitchsensitivity.value) * aspeed * cl_pitchspeed.value;
CVAR_FIXME */
cl.viewangles[PITCH] -= (fAxisValue * joy_pitchsensitivity.value) * aspeed * cl_pitchspeed->value;
cl.viewangles[PITCH] -= (fAxisValue * joy_pitchsensitivity->value) * aspeed * cl_pitchspeed->value;
}
else
{
/* cl.viewangles[PITCH] += (fAxisValue * joy_pitchsensitivity.value) * aspeed * cl_pitchspeed.value;
CVAR_FIXME */
cl.viewangles[PITCH] += (fAxisValue * joy_pitchsensitivity.value) * aspeed * cl_pitchspeed->value;
cl.viewangles[PITCH] += (fAxisValue * joy_pitchsensitivity->value) * aspeed * cl_pitchspeed->value;
}
V_StopPitchDrift();
}
@ -1299,7 +1299,7 @@ static void IN_JoyMove (usercmd_t *cmd)
{
/* cmd->forwardmove += (fAxisValue * joy_forwardsensitivity.value) * speed * cl_forwardspeed.value;
CVAR_FIXME */
cmd->forwardmove += (fAxisValue * joy_forwardsensitivity.value) * speed * cl_forwardspeed->value;
cmd->forwardmove += (fAxisValue * joy_forwardsensitivity->value) * speed * cl_forwardspeed->value;
}
}
break;
@ -1311,7 +1311,7 @@ static void IN_JoyMove (usercmd_t *cmd)
{
/* cmd->sidemove += (fAxisValue * joy_sidesensitivity.value) * speed * cl_sidespeed.value;
CVAR_FIXME */
cmd->sidemove += (fAxisValue * joy_sidesensitivity.value) * speed * cl_sidespeed->value;
cmd->sidemove += (fAxisValue * joy_sidesensitivity->value) * speed * cl_sidespeed->value;
}
break;
@ -1327,7 +1327,7 @@ static void IN_JoyMove (usercmd_t *cmd)
{
/* cmd->sidemove -= (fAxisValue * joy_sidesensitivity.value) * speed * cl_sidespeed.value;
CVAR_FIXME */
cmd->sidemove -= (fAxisValue * joy_sidesensitivity.value) * speed * cl_sidespeed->value;
cmd->sidemove -= (fAxisValue * joy_sidesensitivity->value) * speed * cl_sidespeed->value;
}
}
else
@ -1341,7 +1341,7 @@ static void IN_JoyMove (usercmd_t *cmd)
{
/* cl.viewangles[YAW] += (fAxisValue * joy_yawsensitivity.value) * aspeed * cl_yawspeed.value;
CVAR_FIXME */
cl.viewangles[YAW] += (fAxisValue * joy_yawsensitivity.value) * aspeed * cl_yawspeed->value;
cl.viewangles[YAW] += (fAxisValue * joy_yawsensitivity->value) * aspeed * cl_yawspeed->value;
}
else
{
@ -1366,7 +1366,7 @@ static void IN_JoyMove (usercmd_t *cmd)
{
/* cl.viewangles[PITCH] += (fAxisValue * joy_pitchsensitivity.value) * aspeed * cl_pitchspeed.value;
CVAR_FIXME */
cl.viewangles[PITCH] += (fAxisValue * joy_pitchsensitivity.value) * aspeed * cl_pitchspeed->value;
cl.viewangles[PITCH] += (fAxisValue * joy_pitchsensitivity->value) * aspeed * cl_pitchspeed->value;
}
else
{