Go to the documentation of this file.
1 /* $Id: console_type.h 23595 2011-12-19 17:48:04Z rubidium $ */
3 /*
4  * This file is part of OpenTTD.
5  * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
6  * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
7  * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <>.
8  */
12 #ifndef CONSOLE_TYPE_H
13 #define CONSOLE_TYPE_H
15 #include "gfx_type.h"
22 };
24 /* Colours of the console messages. */
25 static const TextColour CC_DEFAULT = TC_SILVER;
26 static const TextColour CC_ERROR = TC_RED;
27 static const TextColour CC_WARNING = TC_LIGHT_BLUE;
28 static const TextColour CC_INFO = TC_YELLOW;
29 static const TextColour CC_DEBUG = TC_LIGHT_BROWN;
30 static const TextColour CC_COMMAND = TC_GOLD;
31 static const TextColour CC_WHITE = TC_WHITE;
33 #endif /* CONSOLE_TYPE_H */
Modes of the in-game console.
Definition: console_type.h:18
static const TextColour CC_DEFAULT
Default colour of the console.
Definition: console_type.h:25
In-game console is opened, whole screen.
Definition: console_type.h:21
In-game console is closed.
Definition: console_type.h:19
static const TextColour CC_DEBUG
Colour for debug output.
Definition: console_type.h:29
Colour of the strings, see _string_colourmap in table/string_colours.h or docs/ottd-colourtext-palett...
Definition: gfx_type.h:247
static const TextColour CC_COMMAND
Colour for the console&#39;s commands.
Definition: console_type.h:30
static const TextColour CC_ERROR
Colour for error lines.
Definition: console_type.h:26
In-game console is opened, upper 1/3 of the screen.
Definition: console_type.h:20
static const TextColour CC_WARNING
Colour for warning lines.
Definition: console_type.h:27
static const TextColour CC_WHITE
White console lines for various things such as the welcome.
Definition: console_type.h:31
Types related to the graphics and/or input devices.
static const TextColour CC_INFO
Colour for information lines.
Definition: console_type.h:28