src/table/unmovable_land.h
author belugas
Thu, 28 Jun 2007 02:14:40 +0000
changeset 7102 fe01c264132b
parent 6248 e4a2ed7e5613
child 8568 027aec135dc8
permissions -rw-r--r--
(svn r10369) -Codechange: Add the IndustryType parameter to the GetIndustryCallback function.
Sometimes, the industry might not be able to provide its type, since it does not exists at all
2186
db48cf29b983 (svn r2701) Insert Id tags into all source files
tron
parents: 536
diff changeset
     1
/* $Id$ */
db48cf29b983 (svn r2701) Insert Id tags into all source files
tron
parents: 536
diff changeset
     2
6248
e4a2ed7e5613 (svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
rubidium
parents: 5732
diff changeset
     3
struct DrawTileUnmovableStruct {
3654
c09872510a61 (svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
belugas
parents: 2187
diff changeset
     4
	uint16 image;
c09872510a61 (svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
belugas
parents: 2187
diff changeset
     5
	byte subcoord_x;
c09872510a61 (svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
belugas
parents: 2187
diff changeset
     6
	byte subcoord_y;
c09872510a61 (svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
belugas
parents: 2187
diff changeset
     7
	byte width;
c09872510a61 (svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
belugas
parents: 2187
diff changeset
     8
	byte height;
c09872510a61 (svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
belugas
parents: 2187
diff changeset
     9
	byte z_size;
c09872510a61 (svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
belugas
parents: 2187
diff changeset
    10
	byte unused;
6248
e4a2ed7e5613 (svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
rubidium
parents: 5732
diff changeset
    11
};
3654
c09872510a61 (svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
belugas
parents: 2187
diff changeset
    12
5669
631901f52707 (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5587
diff changeset
    13
#define TILE_SEQ_END() { (byte)0x80, 0, 0, 0, 0, 0, 0, 0 }
0
29654efe3188 (svn r1) Import of revision 975 of old (crashed) SVN
truelight
parents:
diff changeset
    14
29654efe3188 (svn r1) Import of revision 975 of old (crashed) SVN
truelight
parents:
diff changeset
    15
static const DrawTileUnmovableStruct _draw_tile_unmovable_data[] = {
4344
7e123fec5b0b (svn r6045) -Cleanup: align all table-like structures using spaces, i.e. whitespace fixes only except for a few comments to make them uniform for the whole enum/struct.
rubidium
parents: 3654
diff changeset
    16
	{0xA29, 7, 7, 2, 2, 70, 0},
7e123fec5b0b (svn r6045) -Cleanup: align all table-like structures using spaces, i.e. whitespace fixes only except for a few comments to make them uniform for the whole enum/struct.
rubidium
parents: 3654
diff changeset
    17
	{0xA2A, 4, 4, 7, 7, 61, 0},
0
29654efe3188 (svn r1) Import of revision 975 of old (crashed) SVN
truelight
parents:
diff changeset
    18
};
29654efe3188 (svn r1) Import of revision 975 of old (crashed) SVN
truelight
parents:
diff changeset
    19
29654efe3188 (svn r1) Import of revision 975 of old (crashed) SVN
truelight
parents:
diff changeset
    20
5732
20d674f37c75 (svn r8275) -Fix
tron
parents: 5669
diff changeset
    21
static const DrawTileSeqStruct _unmovable_display_nothing[] = {
384
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    22
	TILE_SEQ_END()
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    23
};
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    24
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    25
static const DrawTileSeqStruct _unmovable_display_datas_8[] = {
5669
631901f52707 (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5587
diff changeset
    26
	{   0,  0,  0, 16, 16, 20, 0xA34 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE },
384
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    27
	TILE_SEQ_END()
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    28
};
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    29
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    30
static const DrawTileSeqStruct _unmovable_display_datas_9[] = {
5669
631901f52707 (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5587
diff changeset
    31
	{   0,  0,  0, 16, 16, 20, 0xA36 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE },
384
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    32
	TILE_SEQ_END()
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    33
};
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    34
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    35
static const DrawTileSeqStruct _unmovable_display_datas_10[] = {
5669
631901f52707 (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5587
diff changeset
    36
	{   0,  0,  0, 16, 16, 20, 0xA38 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE },
384
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    37
	TILE_SEQ_END()
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    38
};
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    39
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    40
static const DrawTileSeqStruct _unmovable_display_datas_12[] = {
5669
631901f52707 (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5587
diff changeset
    41
	{   0,  0,  0, 16, 16, 50, 0xA3B | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE },
384
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    42
	TILE_SEQ_END()
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    43
};
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    44
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    45
static const DrawTileSeqStruct _unmovable_display_datas_13[] = {
5669
631901f52707 (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5587
diff changeset
    46
	{   0,  0,  0, 16, 16, 50, 0xA3D | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE },
384
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    47
	TILE_SEQ_END()
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    48
};
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    49
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    50
static const DrawTileSeqStruct _unmovable_display_datas_14[] = {
5669
631901f52707 (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5587
diff changeset
    51
	{   0,  0,  0, 16, 16, 50, 0xA3F | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE },
384
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    52
	TILE_SEQ_END()
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    53
};
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    54
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    55
static const DrawTileSeqStruct _unmovable_display_datas_16[] = {
5669
631901f52707 (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5587
diff changeset
    56
	{   0,  0,  0, 16, 16, 60, 0xA42 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE },
384
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    57
	TILE_SEQ_END()
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    58
};
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    59
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    60
static const DrawTileSeqStruct _unmovable_display_datas_17[] = {
5669
631901f52707 (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5587
diff changeset
    61
	{   0,  0,  0, 16, 16, 60, 0xA44 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE },
384
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    62
	TILE_SEQ_END()
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    63
};
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    64
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    65
static const DrawTileSeqStruct _unmovable_display_datas_18[] = {
5669
631901f52707 (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5587
diff changeset
    66
	{   0,  0,  0, 16, 16, 60, 0xA46 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE },
384
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    67
	TILE_SEQ_END()
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    68
};
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    69
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    70
static const DrawTileSprites _unmovable_display_datas[] = {
5732
20d674f37c75 (svn r8275) -Fix
tron
parents: 5669
diff changeset
    71
	{ 0xA2B | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_nothing },
20d674f37c75 (svn r8275) -Fix
tron
parents: 5669
diff changeset
    72
	{ 0xA2C | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_nothing },
20d674f37c75 (svn r8275) -Fix
tron
parents: 5669
diff changeset
    73
	{ 0xA2D | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_nothing },
20d674f37c75 (svn r8275) -Fix
tron
parents: 5669
diff changeset
    74
	{ 0xA2E | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_nothing },
20d674f37c75 (svn r8275) -Fix
tron
parents: 5669
diff changeset
    75
	{ 0xA2F | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_nothing },
20d674f37c75 (svn r8275) -Fix
tron
parents: 5669
diff changeset
    76
	{ 0xA30 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_nothing },
20d674f37c75 (svn r8275) -Fix
tron
parents: 5669
diff changeset
    77
	{ 0xA31 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_nothing },
20d674f37c75 (svn r8275) -Fix
tron
parents: 5669
diff changeset
    78
	{ 0xA32 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_nothing },
5669
631901f52707 (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5587
diff changeset
    79
	{ 0xA33 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_8 },
631901f52707 (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5587
diff changeset
    80
	{ 0xA35 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_9 },
631901f52707 (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5587
diff changeset
    81
	{ 0xA37 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_10 },
5732
20d674f37c75 (svn r8275) -Fix
tron
parents: 5669
diff changeset
    82
	{ 0xA39 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_nothing },
5669
631901f52707 (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5587
diff changeset
    83
	{ 0xA3A | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_12 },
631901f52707 (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5587
diff changeset
    84
	{ 0xA3C | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_13 },
631901f52707 (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5587
diff changeset
    85
	{ 0xA3E | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_14 },
5732
20d674f37c75 (svn r8275) -Fix
tron
parents: 5669
diff changeset
    86
	{ 0xA40 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_nothing },
5669
631901f52707 (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5587
diff changeset
    87
	{ 0xA41 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_16 },
631901f52707 (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5587
diff changeset
    88
	{ 0xA43 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_17 },
631901f52707 (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5587
diff changeset
    89
	{ 0xA45 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_18 },
5732
20d674f37c75 (svn r8275) -Fix
tron
parents: 5669
diff changeset
    90
	{ 0xA47 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_nothing },
384
809833b4068d (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    91
};