From 080af12d8baa577d599b7a5684524221b045f740 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 24 May 2008 10:35:15 +0000 Subject: (svn r13229) -Codechange: replace some global variables that are only initialised once and always with the same value with enums. --- src/console_func.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'src/console_func.h') 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 */ -- cgit v1.2.3-54-g00ecf