src/console_func.h
changeset 9336 6baad5b3033d
child 9337 ab6e0234bacc
equal deleted inserted replaced
9335:4f1e59a9aed4 9336:6baad5b3033d
       
     1 /* $Id$ */
       
     2 
       
     3 /** @file console_func.h Console functions used outside of the console code. */
       
     4 
       
     5 #ifndef CONSOLE_FUNC_H
       
     6 #define CONSOLE_FUNC_H
       
     7 
       
     8 #include "console_type.h"
       
     9 
       
    10 /* console colors/modes */
       
    11 extern byte _icolour_def;
       
    12 extern byte _icolour_err;
       
    13 extern byte _icolour_warn;
       
    14 extern byte _icolour_dbg;
       
    15 extern byte _icolour_cmd;
       
    16 extern IConsoleModes _iconsole_mode;
       
    17 
       
    18 /* console functions */
       
    19 void IConsoleInit();
       
    20 void IConsoleFree();
       
    21 void IConsoleClose();
       
    22 
       
    23 /* console output */
       
    24 void IConsolePrint(uint16 color_code, const char *string);
       
    25 void CDECL IConsolePrintF(uint16 color_code, const char *s, ...);
       
    26 void IConsoleDebug(const char *dbg, const char *string);
       
    27 
       
    28 /* Parser */
       
    29 void IConsoleCmdExec(const char *cmdstr);
       
    30 
       
    31 #endif /* CONSOLE_FUNC_H */