comment patches from Misty

This commit is contained in:
Bill Currie 2000-12-07 00:08:42 +00:00
parent 02f14aa326
commit dbbc2cd777
3 changed files with 3 additions and 4 deletions

View File

@ -1256,7 +1256,7 @@ void CL_Init_Cvars (void)
"display realtime frames per second");
// Misty: I like to be able to see the time when I play
show_time = Cvar_Get("show_time", "0", CVAR_NONE,
"display time in 24 hr:min format");
"display the current time");
host_speeds = Cvar_Get("host_speeds", "0", CVAR_NONE,
"display host processing times");
developer = Cvar_Get("developer", "0", CVAR_NONE,

View File

@ -510,7 +510,7 @@ void SCR_DrawTime (void)
localtime(&systime));
}
/* now actually print it to the screen directly below where show_fps is */
/* now actually print it to the screen directly above where show_fps is */
snprintf (st, sizeof(st), "%s", local_time);
x = cl_hudswap->int_val ? vid.width - ((strlen (st) * 8) + 8) : 8;
y = vid.height - sb_lines - 16;

View File

@ -506,7 +506,6 @@ void SCR_DrawFPS (void)
fps_count = 0;
lastframetime = t;
}
/* Misty: I really do need to read about snprintf a bit. This thing keeps chewing on my foot! */
snprintf (st, sizeof(st), "%-3d FPS", lastfps);
/* Misty: New trick! (for me) the ? makes this work like a if then else - IE: if
cl_hudswap->int_val is not null, do first case, else (else is a : here) do second case.
@ -543,7 +542,7 @@ void SCR_DrawTime (void)
localtime (&systime));
}
/* now actually print it to the screen directly below where show_fps is */
/* now actually print it to the screen directly above where show_fps is */
snprintf (st, sizeof(st), "%s", local_time);
x = cl_hudswap->int_val ? vid.width - ((strlen (st) * 8) + 8) : 8;
y = vid.height - sb_lines - 16;