1 /* 2 * This file is part of OpenTTD. 3 * 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. 4 * 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. 5 * 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/>. 6 */ 7 8 /** @file string_colours.h The colour translation of GRF's strings. */ 9 10 /** Colour mapping for #TextColour. */ 11 static const byte _string_colourmap[17] = { 12 150, // TC_BLUE 13 12, // TC_SILVER 14 189, // TC_GOLD 15 184, // TC_RED 16 174, // TC_PURPLE 17 30, // TC_LIGHT_BROWN 18 195, // TC_ORANGE 19 209, // TC_GREEN 20 68, // TC_YELLOW 21 95, // TC_DARK_GREEN 22 79, // TC_CREAM 23 116, // TC_BROWN 24 15, // TC_WHITE 25 152, // TC_LIGHT_BLUE 26 6, // TC_GREY 27 133, // TC_DARK_BLUE 28 1, // TC_BLACK 29 }; 30