mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-22 04:01:17 +00:00
timestamps.txt: A description of the format codes that work on both Unix
and Windows.
This commit is contained in:
parent
c251476789
commit
ca442eb9e8
2 changed files with 86 additions and 9 deletions
|
@ -487,14 +487,14 @@ Targets : gl clients
|
||||||
Category : gl renderer
|
Category : gl renderer
|
||||||
Type : Boolean
|
Type : Boolean
|
||||||
Default : 1
|
Default : 1
|
||||||
Description : whether or not to use RGBA lightmaps
|
Description : whether or not to use RGB lightmaps
|
||||||
|
|
||||||
Cvar : gl_conalpha
|
Cvar : gl_conalpha
|
||||||
Targets : gl clients
|
Targets : gl clients
|
||||||
Category : gl console ui
|
Category : gl console ui
|
||||||
Type : number
|
Type : number
|
||||||
Default : 0.6
|
Default : 0.6
|
||||||
Description : alpha value for console
|
Description : alpha value for console when fully lowered
|
||||||
|
|
||||||
Cvar : gl_conspin
|
Cvar : gl_conspin
|
||||||
Targets : gl clients
|
Targets : gl clients
|
||||||
|
@ -1316,11 +1316,11 @@ Default : 800
|
||||||
Description :
|
Description :
|
||||||
|
|
||||||
Cvar : sv_highchars
|
Cvar : sv_highchars
|
||||||
Targets :
|
Targets : Server
|
||||||
Category :
|
Category :
|
||||||
Type :
|
Type : Boolean
|
||||||
Default : 1
|
Default : 1
|
||||||
Description :
|
Description : Allow high-ASCII characters in serverinfo keys
|
||||||
|
|
||||||
Cvar : sv_mapcheck
|
Cvar : sv_mapcheck
|
||||||
Targets :
|
Targets :
|
||||||
|
@ -1396,8 +1396,8 @@ Cvar : sv_timekick_fuzz
|
||||||
Targets :
|
Targets :
|
||||||
Category :
|
Category :
|
||||||
Type : float
|
Type : float
|
||||||
Default : 10
|
Default : 15
|
||||||
Description : Timecheat sensitivity (10 = 1%)
|
Description : Timecheat sensitivity (15 = 1.5%)
|
||||||
|
|
||||||
Cvar : sv_timekick_interval
|
Cvar : sv_timekick_interval
|
||||||
Targets :
|
Targets :
|
||||||
|
@ -1440,7 +1440,7 @@ Category :
|
||||||
Type : integer
|
Type : integer
|
||||||
Default : 8 for Win9x, 0 for WinNT
|
Default : 8 for Win9x, 0 for WinNT
|
||||||
Description : Numbers of milliseconds to try to Sleep() every frame.
|
Description : Numbers of milliseconds to try to Sleep() every frame.
|
||||||
: Needed when running the server on localhost in Win9x.
|
: Needed when running the server on localhost in Win9x.
|
||||||
|
|
||||||
Cvar : team
|
Cvar : team
|
||||||
Targets :
|
Targets :
|
||||||
|
@ -1692,5 +1692,5 @@ Targets :
|
||||||
Category :
|
Category :
|
||||||
Type :
|
Type :
|
||||||
Default : 2
|
Default : 2
|
||||||
Description :
|
Description : Number of seconds server ignores client after disconnect
|
||||||
|
|
||||||
|
|
77
doc/timestamps.txt
Normal file
77
doc/timestamps.txt
Normal file
|
@ -0,0 +1,77 @@
|
||||||
|
To enable time-stamped messages in the server, set the Cvar sv_timestamps to a
|
||||||
|
value other than 0. When enabled, the string Cvar sv_timefmt is used to format
|
||||||
|
the date and time.
|
||||||
|
|
||||||
|
The following special codes are interpreted inside sv_timefmt strings.
|
||||||
|
|
||||||
|
%a The abbreviated weekday name according to the cur
|
||||||
|
rent locale.
|
||||||
|
|
||||||
|
%A The full weekday name according to the current
|
||||||
|
locale.
|
||||||
|
|
||||||
|
%b The abbreviated month name according to the current
|
||||||
|
locale.
|
||||||
|
|
||||||
|
%B The full month name according to the current
|
||||||
|
locale.
|
||||||
|
|
||||||
|
%c The preferred date and time representation for the
|
||||||
|
current locale.
|
||||||
|
|
||||||
|
%d The day of the month as a decimal number (range 01
|
||||||
|
to 31).
|
||||||
|
|
||||||
|
%h Equivalent to %b. (SU)
|
||||||
|
|
||||||
|
%H The hour as a decimal number using a 24-hour clock
|
||||||
|
(range 00 to 23).
|
||||||
|
|
||||||
|
%I The hour as a decimal number using a 12-hour clock
|
||||||
|
(range 01 to 12).
|
||||||
|
|
||||||
|
%j The day of the year as a decimal number (range 001
|
||||||
|
to 366).
|
||||||
|
|
||||||
|
%k The hour (24-hour clock) as a decimal number (range
|
||||||
|
0 to 23); single digits are preceded by a blank.
|
||||||
|
(See also %H.) (TZ)
|
||||||
|
|
||||||
|
%m The month as a decimal number (range 01 to 12).
|
||||||
|
|
||||||
|
%M The minute as a decimal number (range 00 to 59).
|
||||||
|
|
||||||
|
%p Either `AM' or `PM' according to the given time
|
||||||
|
value, or the corresponding strings for the current
|
||||||
|
locale. Noon is treated as `pm' and midnight as
|
||||||
|
`am'.
|
||||||
|
|
||||||
|
%S The second as a decimal number (range 00 to 61).
|
||||||
|
|
||||||
|
%U The week number of the current year as a decimal
|
||||||
|
number, range 00 to 53, starting with the first
|
||||||
|
Sunday as the first day of week 01. See also %V and
|
||||||
|
%W.
|
||||||
|
|
||||||
|
%w The day of the week as a decimal, range 0 to 6,
|
||||||
|
Sunday being 0. See also %u.
|
||||||
|
|
||||||
|
%W The week number of the current year as a decimal
|
||||||
|
number, range 00 to 53, starting with the first
|
||||||
|
Monday as the first day of week 01.
|
||||||
|
|
||||||
|
%x The preferred date representation for the current
|
||||||
|
locale without the time.
|
||||||
|
|
||||||
|
%X The preferred time representation for the current
|
||||||
|
locale without the date.
|
||||||
|
|
||||||
|
%y The year as a decimal number without a century
|
||||||
|
(range 00 to 99).
|
||||||
|
|
||||||
|
%Y The year as a decimal number including the century.
|
||||||
|
|
||||||
|
%Z The time zone name or abbreviation.
|
||||||
|
|
||||||
|
%% A literal `%' character.
|
||||||
|
|
Loading…
Reference in a new issue