diff options
author | signde <signde@openttd.org> | 2004-09-13 06:56:30 +0000 |
---|---|---|
committer | signde <signde@openttd.org> | 2004-09-13 06:56:30 +0000 |
commit | 263042cdf2a1eb2a5176b2259464d36de5460fe6 (patch) | |
tree | 2f3851739c41ccdbf22485444d4f4b00422dc28c /console.h | |
parent | 01dd0219d312060d64d714c566a5307f6b187057 (diff) | |
download | openttd-263042cdf2a1eb2a5176b2259464d36de5460fe6.tar.xz |
(svn r230) -Feature: IConsoleWarning for warning messages
-Feature: added info_cmd command
-Codechange: renamed "varinfo" to "info_var"
-Fix: some const fixes in console.h
-Fix: fixed return value of IConsoleCmdGet
Diffstat (limited to 'console.h')
-rw-r--r-- | console.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -66,6 +66,7 @@ _iconsole_var * _iconsole_vars; // list of registred vars // ** console colors ** // VARDEF byte _iconsole_color_default; VARDEF byte _iconsole_color_error; +VARDEF byte _iconsole_color_warning;
VARDEF byte _iconsole_color_debug; VARDEF byte _iconsole_color_commands; @@ -92,12 +93,13 @@ void IConsoleCmdBufferNavigate(signed char direction); void IConsolePrint(byte color_code, const byte* string); void CDECL IConsolePrintF(byte color_code, const char *s, ...); void IConsoleDebug(byte* string); -void IConsoleError(const byte* string); +void IConsoleError(const byte* string);
+void IConsoleWarning(const byte* string); // *** Commands *** // void IConsoleCmdRegister(const byte * name, void * addr); -void* IConsoleCmdGetAddr(byte * name); +_iconsole_cmd * IConsoleCmdGet(const byte * name); // *** Variables *** // |