mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-25 14:00:58 +00:00
Merge pull request #653 from Calinou/rename-anglekicks-cvar
Rename `cl_anglekicks` to `cl_kickangles` for consistency with Q2PRO
This commit is contained in:
commit
f322b28fa5
4 changed files with 7 additions and 8 deletions
|
@ -56,8 +56,8 @@ it's `+set busywait 0` (setting the `busywait` cvar) and `-portable`
|
|||
time for the next frame. The later is more CPU friendly but rather
|
||||
inaccurate, especially on Windows. Use with care.
|
||||
|
||||
* **cl_anglekicks**: If set to `0` angle kicks (weapon recoil, damage
|
||||
hits and the like) are ignored. Cheat protected. Defaults to `1`.
|
||||
* **cl_kickangles**: If set to `0` angle kicks (weapon recoil, damage
|
||||
hits and the like) are ignored. Cheat-protected. Defaults to `1`.
|
||||
|
||||
* **cl_async**: If set to `1` (the default) the client is asynchronous.
|
||||
The client framerate is fixed, the renderer framerate is variable.
|
||||
|
|
|
@ -764,7 +764,7 @@ CL_CalcViewValues(void)
|
|||
}
|
||||
}
|
||||
|
||||
if (cl_anglekicks->value)
|
||||
if (cl_kickangles->value)
|
||||
{
|
||||
for (i = 0; i < 3; i++)
|
||||
{
|
||||
|
|
|
@ -48,7 +48,7 @@ cvar_t *cl_add_particles;
|
|||
cvar_t *cl_add_lights;
|
||||
cvar_t *cl_add_entities;
|
||||
cvar_t *cl_add_blend;
|
||||
cvar_t *cl_anglekicks;
|
||||
cvar_t *cl_kickangles;
|
||||
|
||||
cvar_t *cl_shownet;
|
||||
cvar_t *cl_showmiss;
|
||||
|
@ -494,7 +494,7 @@ CL_InitLocal(void)
|
|||
cl_add_lights = Cvar_Get("cl_lights", "1", 0);
|
||||
cl_add_particles = Cvar_Get("cl_particles", "1", 0);
|
||||
cl_add_entities = Cvar_Get("cl_entities", "1", 0);
|
||||
cl_anglekicks = Cvar_Get("cl_anglekicks", "1", 0);
|
||||
cl_kickangles = Cvar_Get("cl_kickangles", "1", 0);
|
||||
cl_gun = Cvar_Get("cl_gun", "2", CVAR_ARCHIVE);
|
||||
cl_footsteps = Cvar_Get("cl_footsteps", "1", 0);
|
||||
cl_noskins = Cvar_Get("cl_noskins", "0", 0);
|
||||
|
@ -663,7 +663,7 @@ cheatvar_t cheatvars[] = {
|
|||
{"sw_draworder", "0"},
|
||||
{"gl_lightmap", "0"},
|
||||
{"gl_saturatelighting", "0"},
|
||||
{"cl_anglekicks", "1"},
|
||||
{"cl_kickangles", "1"},
|
||||
{NULL, NULL}
|
||||
};
|
||||
|
||||
|
@ -949,4 +949,3 @@ CL_Shutdown(void)
|
|||
IN_Shutdown();
|
||||
VID_Shutdown();
|
||||
}
|
||||
|
||||
|
|
|
@ -314,7 +314,7 @@ extern cvar_t *cl_vwep;
|
|||
extern cvar_t *horplus;
|
||||
extern cvar_t *cin_force43;
|
||||
extern cvar_t *vid_fullscreen;
|
||||
extern cvar_t *cl_anglekicks;
|
||||
extern cvar_t *cl_kickangles;
|
||||
extern cvar_t *cl_r1q2_lightstyle;
|
||||
|
||||
typedef struct
|
||||
|
|
Loading…
Reference in a new issue