From 8bb507f220c34694b8c243bc104fc5861b3b81db Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 16 Dec 2010 11:46:25 +0900 Subject: [PATCH] Alias "show_fps" to "hud_fps". "show_fps" is the quakeworld standard, so that's what most people expect to use. --- nq/source/cl_main.c | 1 + qw/source/cl_main.c | 1 + 2 files changed, 2 insertions(+) diff --git a/nq/source/cl_main.c b/nq/source/cl_main.c index c48f3efdd..a1a874bcc 100644 --- a/nq/source/cl_main.c +++ b/nq/source/cl_main.c @@ -138,6 +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); hud_time = Cvar_Get ("hud_time", "0", CVAR_ARCHIVE, NULL, "display the current time"); } diff --git a/qw/source/cl_main.c b/qw/source/cl_main.c index b8d9b62cf..663ab60a9 100644 --- a/qw/source/cl_main.c +++ b/qw/source/cl_main.c @@ -1349,6 +1349,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); 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,