(svn r27707) -Fix: Make the result of NewGRF's CARGO_NAME string code reliably print...
[openttd.git] / src / table / string_colours.h
blobae64705a5796bbfea7d775f634c7f222a0e9fd9e
1 /* $Id$ */
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 <http://www.gnu.org/licenses/>.
8 */
10 /** @file string_colours.h The colour translation of GRF's strings. */
12 /** Colour mapping for #TextColour. */
13 static const byte _string_colourmap[17] = {
14 150, // TC_BLUE
15 12, // TC_SILVER
16 189, // TC_GOLD
17 184, // TC_RED
18 174, // TC_PURPLE
19 30, // TC_LIGHT_BROWN
20 195, // TC_ORANGE
21 209, // TC_GREEN
22 68, // TC_YELLOW
23 95, // TC_DARK_GREEN
24 79, // TC_CREAM
25 116, // TC_BROWN
26 15, // TC_WHITE
27 152, // TC_LIGHT_BLUE
28 6, // TC_GREY
29 133, // TC_DARK_BLUE
30 1, // TC_BLACK