summaryrefslogtreecommitdiff
path: root/console.h
diff options
context:
space:
mode:
authorsignde <signde@openttd.org>2004-09-13 06:56:30 +0000
committersignde <signde@openttd.org>2004-09-13 06:56:30 +0000
commit263042cdf2a1eb2a5176b2259464d36de5460fe6 (patch)
tree2f3851739c41ccdbf22485444d4f4b00422dc28c /console.h
parent01dd0219d312060d64d714c566a5307f6b187057 (diff)
downloadopenttd-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.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/console.h b/console.h
index fb3a7aa96..72f9ddc49 100644
--- a/console.h
+++ b/console.h
@@ -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 *** //