|
@@ -11,13 +11,14 @@
|
|
|
|
|
|
#include "../core/endian_type.hpp"
|
|
|
|
|
|
#define M(r, g, b) { 0xFF000000U | (r) << 16 | (g) << 8 | (b) }
|
|
|
|
|
|
/** Colour palette (DOS) */
|
|
|
static const Colour _palette[256] = {
|
|
|
static const Palette _palette = {
|
|
|
{
|
|
|
/* transparent */
|
|
|
{ 0},
|
|
|
/* grey scale */
|
|
|
M( 16, 16, 16), M( 32, 32, 32), M( 48, 48, 48),
|
|
|
M( 65, 64, 65), M( 82, 80, 82), M( 98, 101, 98), M(115, 117, 115),
|
|
|
/* regular colours */
|
|
@@ -86,12 +87,15 @@ static const Colour _palette[256] = {
|
|
|
M( 0, 0, 0), M( 0, 0, 0), M( 0, 0, 0), M( 0, 0, 0),
|
|
|
M( 0, 0, 0), M( 0, 0, 0), M( 0, 0, 0), M( 0, 0, 0),
|
|
|
M( 0, 0, 0), M( 0, 0, 0), M( 0, 0, 0), M( 0, 0, 0),
|
|
|
M( 0, 0, 0), M( 0, 0, 0), M( 0, 0, 0),
|
|
|
/* pure white */
|
|
|
M(252, 252, 252)
|
|
|
},
|
|
|
0, // First dirty
|
|
|
256 // Dirty count
|
|
|
};
|
|
|
|
|
|
/** Description of the length of the palette cycle animations */
|
|
|
static const uint EPV_CYCLES_DARK_WATER = 5; ///< length of the dark blue water animation
|
|
|
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
|