summaryrefslogtreecommitdiff
path: root/src/console_func.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-05-24 10:35:15 +0000
committerrubidium <rubidium@openttd.org>2008-05-24 10:35:15 +0000
commit080af12d8baa577d599b7a5684524221b045f740 (patch)
tree10eb78cf497a4c50a6ad92f8c547d50b538cf425 /src/console_func.h
parentbf3b61cfa3658dd5d4ca55f635c936ca4c4b225e (diff)
downloadopenttd-080af12d8baa577d599b7a5684524221b045f740.tar.xz
(svn r13229) -Codechange: replace some global variables that are only initialised once and always with the same value with enums.
Diffstat (limited to 'src/console_func.h')
-rw-r--r--src/console_func.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/console_func.h b/src/console_func.h
index 4ec762bdf..32516021c 100644
--- a/src/console_func.h
+++ b/src/console_func.h
@@ -7,12 +7,7 @@
#include "console_type.h"
-/* console colors/modes */
-extern byte _icolour_def;
-extern byte _icolour_err;
-extern byte _icolour_warn;
-extern byte _icolour_dbg;
-extern byte _icolour_cmd;
+/* console modes */
extern IConsoleModes _iconsole_mode;
/* console functions */
@@ -21,8 +16,8 @@ void IConsoleFree();
void IConsoleClose();
/* console output */
-void IConsolePrint(uint16 color_code, const char *string);
-void CDECL IConsolePrintF(uint16 color_code, const char *s, ...);
+void IConsolePrint(ConsoleColour color_code, const char *string);
+void CDECL IConsolePrintF(ConsoleColour color_code, const char *s, ...);
void IConsoleDebug(const char *dbg, const char *string);
/* Parser */