]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - console.c
merged q1bsp and q3bsp surface rendering
[xonotic/darkplaces.git] / console.c
index 043dbeb8e6d17ac7bd919408212302661fd9f264..f36ca203efcbf0022f690ba4bf4e682531863639 100644 (file)
--- a/console.c
+++ b/console.c
@@ -138,7 +138,7 @@ void Log_Open (void)
        if (logfile != NULL || log_file.string[0] == '\0')
                return;
 
-       logfile = FS_Open (log_file.string, "ab", false);
+       logfile = FS_Open (log_file.string, "ab", false, false);
        if (logfile != NULL)
        {
                strlcpy (crt_log_file, log_file.string, sizeof (crt_log_file));
@@ -252,7 +252,7 @@ void Log_Printf (const char *logfilename, const char *fmt, ...)
 {
        qfile_t *file;
 
-       file = FS_Open (logfilename, "ab", true);
+       file = FS_Open (logfilename, "ab", true, false);
        if (file != NULL)
        {
                va_list argptr;
@@ -701,7 +701,7 @@ static vec4_t _con_colors[] =
 };
 
 #define _con_colors_count      (sizeof(_con_colors) / sizeof(vec3_t))
-#define _con_color_tag         '@'
+#define _con_color_tag         '^'
 
 // color is read and changed in the end
 static void _Con_DrawString( float x, float y, const char *text, int maxlen, float scalex, float scaley, int flags )
@@ -752,7 +752,7 @@ static void _Con_DrawString( float x, float y, const char *text, int maxlen, flo
                        color = _con_colors[index];
                        // we dont want to display the color tag and the color index
                        first = last;
-               } 
+               }
        }
 }
 
@@ -907,7 +907,7 @@ void Con_DrawConsole (int lines)
 
        rows = (lines-16)>>3;           // rows of text to draw
        y = lines - 16 - (rows<<3);     // may start slightly negative
-    
+
        for (i = con_current - rows + 1;i <= con_current;i++, y += 8)
        {
                j = max(i - con_backscroll, 0);