palettes.h File Reference

The colour translation of the GRF palettes. More...

#include "../core/endian_type.hpp"

Go to the source code of this file.

Data Structures

struct  ExtraPaletteValues
 Description of tables for the palette animation. More...

Defines

#define M(r, g, b)   { 0xff << 24 | (r) << 16 | (g) << 8 | (b) }
#define GET_PALETTE(x)   _palettes[x]

Variables

static const Colour _palettes [][256]
static const uint EPV_CYCLES_DARK_WATER = 5
 Description of the length of the palette cycle animations.
static const uint EPV_CYCLES_LIGHTHOUSE = 4
 length of the lighthouse/stadium animation
static const uint EPV_CYCLES_OIL_REFINERY = 7
 length of the oil refinery's fire animation
static const uint EPV_CYCLES_FIZZY_DRINK = 5
 length of the fizzy drinks animation
static const uint EPV_CYCLES_GLITTER_WATER = 15
 length of the glittery water animation
static const ExtraPaletteValues _extra_palette_values
 Actual palette animation tables.
static const byte _string_colourmap [][17]
 Colour mapping for the TextColours.

Detailed Description

The colour translation of the GRF palettes.

Definition in file palettes.h.


Variable Documentation

const byte _string_colourmap[][17] [static]

Colour mapping for the TextColours.

Definition at line 210 of file palettes.h.

Referenced by SetColourRemap().

const uint EPV_CYCLES_DARK_WATER = 5 [static]

Description of the length of the palette cycle animations.

length of the dark blue water animation

Definition at line 157 of file palettes.h.


Generated on Sun Jan 23 01:49:26 2011 for OpenTTD by  doxygen 1.6.1