]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - console.h
changed main() argv parameter to non-const, and casting it to const on assignment...
[xonotic/darkplaces.git] / console.h
index d8b56ed3f639de26abe7dd824e9799a7b4950a0c..19dc08ce81f8e9c0cf659ab72d8ca26e93df14cb 100644 (file)
--- a/console.h
+++ b/console.h
@@ -30,7 +30,6 @@ extern qboolean con_initialized;
 extern qbyte *con_chars;
 
 void Con_CheckResize (void);
-void Con_InitLogging (void);
 void Con_Init (void);
 void Con_DrawConsole (int lines);
 void Con_Print(const char *txt);
@@ -39,8 +38,6 @@ void Con_DPrint(const char *msg);
 void Con_DPrintf(const char *fmt, ...);
 void Con_SafePrint(const char *msg);
 void Con_SafePrintf(const char *fmt, ...);
-void Con_LogPrint(const char *logfilename, const char *msg);
-void Con_LogPrintf(const char *logfilename, const char *fmt, ...);
 void Con_Clear_f (void);
 void Con_DrawNotify (void);
 void Con_ClearNotify (void);
@@ -56,5 +53,16 @@ void Con_CompleteCommandLine(void);
 // formatted in columns on the console
 void Con_DisplayList(const char **list);
 
+
+//
+// log
+//
+void Log_Init (void);
+void Log_Close (void);
+void Log_Start (void);
+// Log_Print and Log_Printf can be used as soon as the FS initialization is done
+void Log_Print(const char *logfilename, const char *msg);
+void Log_Printf(const char *logfilename, const char *fmt, ...);
+
 #endif