64 _iconsole_var * _iconsole_vars; // list of registred vars |
64 _iconsole_var * _iconsole_vars; // list of registred vars |
65 |
65 |
66 // ** console colors ** // |
66 // ** console colors ** // |
67 VARDEF byte _iconsole_color_default; |
67 VARDEF byte _iconsole_color_default; |
68 VARDEF byte _iconsole_color_error; |
68 VARDEF byte _iconsole_color_error; |
|
69 VARDEF byte _iconsole_color_warning; |
69 VARDEF byte _iconsole_color_debug; |
70 VARDEF byte _iconsole_color_debug; |
70 VARDEF byte _iconsole_color_commands; |
71 VARDEF byte _iconsole_color_commands; |
71 |
72 |
72 // ** ttd.c functions ** // |
73 // ** ttd.c functions ** // |
73 |
74 |
91 // ** console output ** // |
92 // ** console output ** // |
92 void IConsolePrint(byte color_code, const byte* string); |
93 void IConsolePrint(byte color_code, const byte* string); |
93 void CDECL IConsolePrintF(byte color_code, const char *s, ...); |
94 void CDECL IConsolePrintF(byte color_code, const char *s, ...); |
94 void IConsoleDebug(byte* string); |
95 void IConsoleDebug(byte* string); |
95 void IConsoleError(const byte* string); |
96 void IConsoleError(const byte* string); |
|
97 void IConsoleWarning(const byte* string); |
96 |
98 |
97 // *** Commands *** // |
99 // *** Commands *** // |
98 |
100 |
99 void IConsoleCmdRegister(const byte * name, void * addr); |
101 void IConsoleCmdRegister(const byte * name, void * addr); |
100 void* IConsoleCmdGetAddr(byte * name); |
102 _iconsole_cmd * IConsoleCmdGet(const byte * name); |
101 |
103 |
102 // *** Variables *** // |
104 // *** Variables *** // |
103 |
105 |
104 void IConsoleVarRegister(const byte * name, void * addr, byte type); |
106 void IConsoleVarRegister(const byte * name, void * addr, byte type); |
105 void IConsoleVarMemRegister(const byte * name, byte type); |
107 void IConsoleVarMemRegister(const byte * name, byte type); |