diff options
author | rubidium <rubidium@openttd.org> | 2008-05-24 10:35:15 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-24 10:35:15 +0000 |
commit | 6884f9cb419d141a09ed96ea6aab6f7bf245a6f5 (patch) | |
tree | 10eb78cf497a4c50a6ad92f8c547d50b538cf425 /src/console_func.h | |
parent | 6c20f77330468a954ca2abcd396ab4135ea176fd (diff) | |
download | openttd-6884f9cb419d141a09ed96ea6aab6f7bf245a6f5.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.h | 11 |
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 */ |