]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host.c
host.c, sys_linux.c: Clear up linefeeds in Sys_Printf() -- we don't need to
[xonotic/darkplaces.git] / host.c
diff --git a/host.c b/host.c
index 72457eee96462ebb69ef4ffde01369e904853f60..08ebecf7d76106bd65a8a67419de410653ca555f 100644 (file)
--- a/host.c
+++ b/host.c
@@ -77,6 +77,8 @@ cvar_t        pausable = {"pausable","1"};
 
 cvar_t temp1 = {"temp1","0"};
 
+cvar_t timestamps = {"timestamps", "0", true};
+cvar_t timeformat = {"timeformat", "[%b %e %X] ", true};
 
 /*
 ================
@@ -227,6 +229,9 @@ void Host_InitLocal (void)
 
        Cvar_RegisterVariable (&temp1);
 
+       Cvar_RegisterVariable (&timestamps);
+       Cvar_RegisterVariable (&timeformat);
+
        Host_FindMaxClients ();
        
        host_time = 1.0;                // so a think at time 0 won't get called