Rename Cvar_AliasGet to Cvar_MakeAliase.

This commit is contained in:
Bill Currie 2011-07-05 20:28:57 +09:00
parent a8245e598e
commit d2894a6f68
4 changed files with 4 additions and 4 deletions

View file

@ -83,7 +83,7 @@ cvar_t *Cvar_Get (const char *name, const char *value, int cvarflags,
cvar_t *Cvar_FindAlias (const char *alias_name);
void Cvar_Alias_Get (const char *name, cvar_t *cvar);
void Cvar_MakeAlias (const char *name, cvar_t *cvar);
// equivelants to "<name> <variable>" typed at the console
void Cvar_Set (cvar_t *var, const char *value);

View file

@ -83,7 +83,7 @@ Cvar_FindAlias (const char *alias_name)
}
void
Cvar_Alias_Get (const char *name, cvar_t *cvar)
Cvar_MakeAlias (const char *name, cvar_t *cvar)
{
cvar_alias_t *alias;
cvar_t *var;

View file

@ -138,7 +138,7 @@ CL_InitCvars (void)
"mouse strafe speed");
hud_fps = Cvar_Get ("hud_fps", "0", CVAR_ARCHIVE, NULL,
"display realtime frames per second");
Cvar_Alias_Get ("show_fps", hud_fps);
Cvar_MakeAlias ("show_fps", hud_fps);
hud_time = Cvar_Get ("hud_time", "0", CVAR_ARCHIVE, NULL,
"display the current time");
}

View file

@ -1347,7 +1347,7 @@ CL_Init_Cvars (void)
"sending rcon commands");
hud_fps = Cvar_Get ("hud_fps", "0", CVAR_ARCHIVE, NULL,
"display realtime frames per second");
Cvar_Alias_Get ("show_fps", hud_fps);
Cvar_MakeAlias ("show_fps", hud_fps);
hud_ping = Cvar_Get ("hud_ping", "0", CVAR_ARCHIVE, NULL,
"display current ping to server");
hud_pl = Cvar_Get ("hud_pl", "0", CVAR_ARCHIVE, NULL,