X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=radiant%2Fconsole.h;h=e7c703ed5aea377969fbdb2a0b4a0d61c68c3419;hb=f03b9b7f0932b55c8a6d587681152ba601b23c77;hp=8bbe71e1c512ab05777f8e64de01a444892c7b49;hpb=2057690056f78aeb91f5d70ce9f917bf6845aa6e;p=xonotic%2Fnetradiant.git diff --git a/radiant/console.h b/radiant/console.h index 8bbe71e1..e7c703ed 100644 --- a/radiant/console.h +++ b/radiant/console.h @@ -31,15 +31,16 @@ #define SYS_ERR 3 ///< error #define SYS_NOCON 4 ///< no console, only print to the file (useful whenever Sys_Printf and output IS the problem) -std::size_t Sys_Print( int level, const char* buf, std::size_t length ); class TextOutputStream; TextOutputStream& getSysPrintOutputStream(); TextOutputStream& getSysPrintErrorStream(); ui::Widget Console_constructWindow( ui::Window toplevel ); +std::size_t Sys_Print( int level, const char* buf, std::size_t length ); + // will open/close the log file based on the parameter -void Sys_LogFile( bool enable ); +void Sys_EnableLogFile( bool enable ); extern bool g_Console_enableLogging;