diff -r f992b027374b -r 3bd32eec3d57 sources/interface.h --- a/sources/interface.h Sun May 17 22:07:48 2015 +0300 +++ b/sources/interface.h Wed May 27 21:15:52 2015 +0300 @@ -58,23 +58,10 @@ RCONSession* get_session() { return &Session; } void disconnected(); - template - void print (const String& fmtstr, const argtypes&... args) - { - print_to_console (format (fmtstr, args...)); - } - - template - void print_warning (const String& fmtstr, const argtypes&... args) - { - print_to_console (TEXTCOLOR_BrightYellow "-!- " + format (fmtstr, args...) + TEXTCOLOR_Reset); - } - - template - void print_error (const String& fmtstr, const argtypes&... args) - { - print_to_console (TEXTCOLOR_BrightRed "!!! " + format (fmtstr, args...) + TEXTCOLOR_Reset); - } + void vprint (const char* fmtstr, va_list args); + void __cdecl print (const char* fmtstr, ...); + void __cdecl print_warning (const char* fmtstr, ...); + void __cdecl print_error (const char* fmtstr, ...); private: StringList InputHistory;