X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=console.h;h=abe35cf9c676f1f0c85bbdebf919601b65884610;hb=c4e3c2fc66e9c4a6d581dff5e13543e78233eda5;hp=d6aec97ce54bfc3ad930d2f2fcd3764155108935;hpb=a95a5849f03a278febc784cf588b733fb24f5e86;p=xonotic%2Fdarkplaces.git diff --git a/console.h b/console.h index d6aec97c..abe35cf9 100644 --- a/console.h +++ b/console.h @@ -27,17 +27,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. extern int con_totallines; extern int con_backscroll; extern qboolean con_initialized; -extern qbyte *con_chars; -extern int con_notifylines; // scan lines to clear for notify lines void Con_CheckResize (void); -void Con_InitLogging (void); void Con_Init (void); void Con_DrawConsole (int lines); -void Con_Print (const char *txt); -void Con_Printf (const char *fmt, ...); -void Con_DPrintf (const char *fmt, ...); -void Con_SafePrintf (const char *fmt, ...); +void Con_Print(const char *txt); +void Con_Printf(const char *fmt, ...); +void Con_DPrint(const char *msg); +void Con_DPrintf(const char *fmt, ...); void Con_Clear_f (void); void Con_DrawNotify (void); void Con_ClearNotify (void); @@ -53,5 +50,15 @@ 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); + +void Log_Printf(const char *logfilename, const char *fmt, ...); + #endif