view utils/frmconv/pal.h @ 46:90005975cdbb

* Final LGPL switch step by adjusting the file headers * Remaining issues (just slightly related to the unittest switch): * No working unittest solution for msvc2005 yet * Unittests not working with mingw + scons either though this seems hard to impossible to fix without an expert in this field * sample_unit_test.cpp would need to get modified for unittest++; it still contains the old boost unittest code
author mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
date Sun, 13 Jul 2008 11:05:12 +0000
parents 4a0efb7baf70
children
line wrap: on
line source

/***************************************************************************
 *   Copyright (C) 2005-2008 by the FIFE team                              *
 *   http://www.fifengine.de                                               *
 *   This file is part of FIFE.                                            *
 *                                                                         *
 *   FIFE is free software; you can redistribute it and/or                 *
 *   modify it under the terms of the GNU Lesser General Public            *
 *   License as published by the Free Software Foundation; either          *
 *   version 2.1 of the License, or (at your option) any later version.    *
 *                                                                         *
 *   This library 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.  See the GNU     *
 *   Lesser General Public License for more details.                       *
 *                                                                         *
 *   You should have received a copy of the GNU Lesser General Public      *
 *   License along with this library; if not, write to the                 *
 *   Free Software Foundation, Inc.,                                       *
 *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA          *
 ***************************************************************************/

#ifndef _PAL_H
#define _PAL_H

// This is the dfault color table for frm picuters
// I unashamedly ripped it from frm2bmp

frm_color pal[] = {
{0x0B,0x00,0x0B},
{0x91,0x40,0x41},
{0x00,0xA2,0x00},
{0xA2,0xA1,0x00},
{0xD1,0xD0,0xD1},
{0xC9,0xC7,0xC9},
{0xBC,0xBB,0xBC},
{0xB0,0xAE,0xB0},
{0xA3,0xA1,0xA3},
{0x99,0x97,0x99},
{0x8B,0x89,0x8B},
{0x7C,0x7A,0x7C},
{0x70,0x6E,0x70},
{0x5F,0x5D,0x5F},
{0x4D,0x4A,0x4D},
{0x42,0x40,0x42},
{0xFE,0xF2,0xF3},
{0xF3,0xE5,0xE5},
{0xE8,0xD6,0xD6},
{0xE0,0xC8,0xC8},
{0xD4,0xBC,0xBC},
{0xC9,0xAF,0xAF},
{0xBF,0xA2,0xA1},
{0xB3,0x94,0x94},
{0xA6,0x86,0x85},
{0x9C,0x7B,0x7A},
{0x8E,0x6B,0x6A},
{0x80,0x5E,0x5E},
{0x74,0x50,0x50},
{0x64,0x46,0x45},
{0x51,0x36,0x36},
{0x42,0x29,0x2B},
{0xF2,0xF2,0xFE},
{0xE5,0xE4,0xF3},
{0xD7,0xD6,0xE8},
{0xC8,0xC8,0xE0},
{0xBC,0xBC,0xD4},
{0xAF,0xAF,0xC9},
{0xA2,0xA1,0xBF},
{0x94,0x94,0xB3},
{0x86,0x85,0xA6},
{0x7B,0x7A,0x9C},
{0x6B,0x6A,0x8E},
{0x5E,0x5E,0x80},
{0x50,0x50,0x74},
{0x48,0x46,0x64},
{0x36,0x34,0x51},
{0x29,0x29,0x42},
{0xFD,0xC8,0xF6},
{0xD6,0x86,0xC3},
{0x8D,0x46,0x86},
{0x73,0x31,0x6F},
{0x5E,0x22,0x5A},
{0x4B,0x29,0x45},
{0x46,0x16,0x45},
{0x3D,0x20,0x36},
{0xF8,0xF8,0xEE},
{0xEF,0xEE,0xD7},
{0xD9,0xCF,0x90},
{0xD2,0xC3,0x73},
{0xCC,0xB7,0x51},
{0xBF,0xA8,0x55},
{0xAF,0x9C,0x46},
{0x9F,0x8D,0x36},
{0x91,0x80,0x29},
{0x7F,0x6E,0x1A},
{0x70,0x5E,0x11},
{0x5A,0x4B,0x00},
{0x41,0x37,0x00},
{0xDC,0xF5,0xD4},
{0xCB,0xE5,0xA9},
{0xB5,0xCE,0x94},
{0x9B,0xB6,0x83},
{0x81,0x9B,0x6E},
{0x67,0x7F,0x5B},
{0x4A,0x5E,0x40},
{0x94,0x86,0x77},
{0x7B,0x6F,0x58},
{0x5F,0x55,0x41},
{0x8E,0x9B,0x77},
{0x95,0x9B,0x42},
{0x94,0x8D,0x4B},
{0x85,0x86,0x48},
{0x73,0x6B,0x46},
{0x5F,0x55,0x41},
{0xB9,0xC5,0xB8},
{0x9B,0xB1,0x9A},
{0x7E,0x9F,0x80},
{0x67,0x8C,0x66},
{0x5E,0x7E,0x7F},
{0x55,0x73,0x6E},
{0x4B,0x6B,0x62},
{0x41,0x62,0x50},
{0x3C,0x56,0x48},
{0x30,0x4B,0x36},
{0x29,0x41,0x28},
{0x34,0x55,0x37},
{0x28,0x46,0x22},
{0x18,0x3C,0x11},
{0x11,0x30,0x00},
{0x0E,0x22,0x00},
{0xAC,0xB8,0xB8},
{0x9B,0xB2,0xB5},
{0x8B,0xA9,0xB3},
{0x77,0x9F,0xAF},
{0x67,0x90,0xAC},
{0x55,0x7F,0xAC},
{0x51,0x73,0x9F},
{0x4A,0x6B,0x90},
{0x42,0x5E,0x83},
{0x3A,0x55,0x73},
{0x37,0x4B,0x67},
{0xB9,0xBF,0xBF},
{0x5E,0x6F,0x8D},
{0x78,0x7F,0x80},
{0x7E,0x8D,0xA5},
{0x5D,0x67,0x77},
{0xD1,0xD0,0xD1},
{0xC4,0xBF,0xB5},
{0xBC,0xB0,0xA0},
{0xB2,0x9F,0x85},
{0xA9,0x8C,0x72},
{0x9F,0x80,0x5A},
{0x94,0x6F,0x48},
{0x8A,0x61,0x30},
{0x7F,0x54,0x1A},
{0xFD,0xDB,0xDB},
{0xFE,0xC8,0xC9},
{0xFE,0xB5,0xB6},
{0xFD,0x9E,0x9F},
{0xFD,0x89,0x8A},
{0xFE,0x6F,0x6F},
{0xF4,0x6B,0x6B},
{0xE2,0x64,0x66},
{0xD0,0x5C,0x5C},
{0xC0,0x54,0x55},
{0xAD,0x4D,0x4B},
{0x9C,0x44,0x44},
{0x89,0x3C,0x3D},
{0x71,0x31,0x33},
{0x5C,0x28,0x28},
{0xFC,0xE9,0xDB},
{0xFB,0xD5,0xB9},
{0xFA,0xCB,0xA9},
{0xF9,0xC0,0x96},
{0xFA,0xB5,0x81},
{0xF8,0xAC,0x6D},
{0xF7,0xA1,0x58},
{0xF6,0x97,0x3E},
{0xE7,0x91,0x0B},
{0xD4,0x87,0x00},
{0xBF,0x77,0x00},
{0xA5,0x6B,0x00},
{0x8E,0x5A,0x07},
{0x73,0x46,0x07},
{0x54,0x36,0x00},
{0xF8,0xDF,0xC7},
{0xE5,0xC8,0x9C},
{0xD9,0xBC,0x8A},
{0xD0,0xAF,0x7B},
{0xC4,0xA2,0x6B},
{0xB9,0x98,0x5B},
{0xAB,0x8A,0x4B},
{0x9F,0x7F,0x3A},
{0x94,0x73,0x2E},
{0x86,0x67,0x1A},
{0x77,0x5A,0x11},
{0x68,0x4B,0x00},
{0x5A,0x41,0x00},
{0xF9,0xE9,0xD9},
{0xEF,0xD9,0xB6},
{0xE1,0xC5,0x9F},
{0xD6,0xAF,0x8B},
{0xC8,0x98,0x72},
{0xBB,0x82,0x5E},
{0xAF,0x73,0x50},
{0xA5,0x62,0x40},
{0x9A,0x50,0x36},
{0x91,0x42,0x2E},
{0x7F,0x3A,0x28},
{0x69,0x31,0x20},
{0x5A,0x29,0x20},
{0xFD,0xF0,0xE7},
{0xFA,0xE2,0xD0},
{0xF8,0xD4,0xBC},
{0xF5,0xC8,0xA5},
{0xF5,0xBC,0x91},
{0xF5,0xB2,0x82},
{0xE5,0xA2,0x7B},
{0xD4,0x94,0x6F},
{0xC2,0x86,0x66},
{0xAE,0x77,0x5E},
{0x9B,0x67,0x55},
{0x85,0x55,0x45},
{0x6F,0x46,0x3A},
{0x5E,0x36,0x30},
{0x8A,0xED,0x8A},
{0x2E,0xB5,0x30},
{0x00,0xBF,0x00},
{0x77,0x77,0x70},
{0x00,0x91,0x00},
{0xAC,0xAC,0xA6},
{0x3D,0x3A,0x3D},
{0x8C,0x77,0x5D},
{0x54,0x4B,0x40},
{0xAD,0x94,0x87},
{0x6F,0x5E,0x4B},
{0x24,0x20,0x24},
{0x64,0x61,0x64},
{0x91,0x98,0x92},
{0x9A,0xA5,0x9C},
{0xA8,0xB2,0xA9},
{0xB2,0xBF,0xB1},
{0x7E,0x8D,0x85},
{0x85,0x94,0x8C},
{0x56,0xEA,0x57},
{0x58,0xDF,0x36},
{0x5A,0xCB,0x29},
{0x56,0xB3,0x30},
{0x4B,0x98,0x36},
{0xFE,0xFC,0xFE},
{0xF4,0xF2,0xE1},
{0xDF,0xCE,0xA8},
{0xB5,0x9F,0x77},
{0x8E,0x7F,0x64},
{0x78,0x67,0x48},
{0x58,0x4B,0x3A},
{0x36,0x29,0x22},
{0x0B,0x00,0x0B},
{0x4B,0xA2,0x36},
{0x00,0x91,0x00},
{0x1A,0x95,0x11},
{0x36,0x9B,0x24},
{0x8C,0x8C,0x91},
{0x87,0x8A,0x9F},
{0x7B,0x8D,0xAC},
{0x00,0xAF,0xBC},
{0x8D,0xCE,0xFD},
{0xE2,0x64,0x66},
{0xC9,0x58,0x5B},
{0xAB,0x51,0x26},
{0xF9,0x92,0x36},
{0xF3,0x75,0x31},
{0x8B,0x3C,0x3C},
{0xB2,0x4F,0x4F},
{0x8B,0x3C,0x3C},
{0x60,0x2B,0x2B},
{0x60,0x2B,0x2B},
{0x6F,0x5E,0x4B},
{0x68,0x5A,0x45},
{0x61,0x55,0x45},
{0x58,0x50,0x41},
{0x54,0x4B,0x40},
{0x77,0x62,0x4B},
{0xBD,0x54,0x53},
{0x0B,0x00,0x0B}};

#endif