src/table/unmovable_land.h
author bjarni
Sun, 11 Mar 2007 16:31:18 +0000
branchcpp_gui
changeset 6298 c30fe89622df
parent 5983 8fb0a46d60b8
child 6878 7d1ff2f621c7
child 9064 de16e6400927
permissions -rw-r--r--
(svn r9119) [cpp_gui] -Sync with trunk (r9003:9100)
2186
461a2aff3486 (svn r2701) Insert Id tags into all source files
tron
parents: 536
diff changeset
     1
/* $Id$ */
461a2aff3486 (svn r2701) Insert Id tags into all source files
tron
parents: 536
diff changeset
     2
6298
c30fe89622df (svn r9119) [cpp_gui] -Sync with trunk (r9003:9100)
bjarni
parents: 5983
diff changeset
     3
struct DrawTileUnmovableStruct {
3654
4a3f8056a61c (svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
belugas
parents: 2187
diff changeset
     4
	uint16 image;
4a3f8056a61c (svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
belugas
parents: 2187
diff changeset
     5
	byte subcoord_x;
4a3f8056a61c (svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
belugas
parents: 2187
diff changeset
     6
	byte subcoord_y;
4a3f8056a61c (svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
belugas
parents: 2187
diff changeset
     7
	byte width;
4a3f8056a61c (svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
belugas
parents: 2187
diff changeset
     8
	byte height;
4a3f8056a61c (svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
belugas
parents: 2187
diff changeset
     9
	byte z_size;
4a3f8056a61c (svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
belugas
parents: 2187
diff changeset
    10
	byte unused;
6298
c30fe89622df (svn r9119) [cpp_gui] -Sync with trunk (r9003:9100)
bjarni
parents: 5983
diff changeset
    11
};
3654
4a3f8056a61c (svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
belugas
parents: 2187
diff changeset
    12
5920
16287dbdc64e (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5838
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
5d0e40cd67b9 (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},
5d0e40cd67b9 (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
5983
8fb0a46d60b8 (svn r8275) -Fix
tron
parents: 5920
diff changeset
    21
static const DrawTileSeqStruct _unmovable_display_nothing[] = {
384
bf1303e754ff (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()
bf1303e754ff (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    23
};
bf1303e754ff (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    24
bf1303e754ff (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[] = {
5920
16287dbdc64e (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5838
diff changeset
    26
	{   0,  0,  0, 16, 16, 20, 0xA34 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE },
384
bf1303e754ff (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()
bf1303e754ff (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    28
};
bf1303e754ff (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    29
bf1303e754ff (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[] = {
5920
16287dbdc64e (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5838
diff changeset
    31
	{   0,  0,  0, 16, 16, 20, 0xA36 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE },
384
bf1303e754ff (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()
bf1303e754ff (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    33
};
bf1303e754ff (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    34
bf1303e754ff (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[] = {
5920
16287dbdc64e (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5838
diff changeset
    36
	{   0,  0,  0, 16, 16, 20, 0xA38 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE },
384
bf1303e754ff (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()
bf1303e754ff (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    38
};
bf1303e754ff (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    39
bf1303e754ff (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[] = {
5920
16287dbdc64e (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5838
diff changeset
    41
	{   0,  0,  0, 16, 16, 50, 0xA3B | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE },
384
bf1303e754ff (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()
bf1303e754ff (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    43
};
bf1303e754ff (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    44
bf1303e754ff (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[] = {
5920
16287dbdc64e (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5838
diff changeset
    46
	{   0,  0,  0, 16, 16, 50, 0xA3D | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE },
384
bf1303e754ff (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()
bf1303e754ff (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    48
};
bf1303e754ff (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    49
bf1303e754ff (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[] = {
5920
16287dbdc64e (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5838
diff changeset
    51
	{   0,  0,  0, 16, 16, 50, 0xA3F | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE },
384
bf1303e754ff (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()
bf1303e754ff (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    53
};
bf1303e754ff (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    54
bf1303e754ff (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[] = {
5920
16287dbdc64e (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5838
diff changeset
    56
	{   0,  0,  0, 16, 16, 60, 0xA42 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE },
384
bf1303e754ff (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()
bf1303e754ff (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    58
};
bf1303e754ff (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    59
bf1303e754ff (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[] = {
5920
16287dbdc64e (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5838
diff changeset
    61
	{   0,  0,  0, 16, 16, 60, 0xA44 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE },
384
bf1303e754ff (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()
bf1303e754ff (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    63
};
bf1303e754ff (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    64
bf1303e754ff (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[] = {
5920
16287dbdc64e (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5838
diff changeset
    66
	{   0,  0,  0, 16, 16, 60, 0xA46 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE },
384
bf1303e754ff (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()
bf1303e754ff (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    68
};
bf1303e754ff (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    69
bf1303e754ff (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[] = {
5983
8fb0a46d60b8 (svn r8275) -Fix
tron
parents: 5920
diff changeset
    71
	{ 0xA2B | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_nothing },
8fb0a46d60b8 (svn r8275) -Fix
tron
parents: 5920
diff changeset
    72
	{ 0xA2C | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_nothing },
8fb0a46d60b8 (svn r8275) -Fix
tron
parents: 5920
diff changeset
    73
	{ 0xA2D | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_nothing },
8fb0a46d60b8 (svn r8275) -Fix
tron
parents: 5920
diff changeset
    74
	{ 0xA2E | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_nothing },
8fb0a46d60b8 (svn r8275) -Fix
tron
parents: 5920
diff changeset
    75
	{ 0xA2F | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_nothing },
8fb0a46d60b8 (svn r8275) -Fix
tron
parents: 5920
diff changeset
    76
	{ 0xA30 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_nothing },
8fb0a46d60b8 (svn r8275) -Fix
tron
parents: 5920
diff changeset
    77
	{ 0xA31 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_nothing },
8fb0a46d60b8 (svn r8275) -Fix
tron
parents: 5920
diff changeset
    78
	{ 0xA32 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_nothing },
5920
16287dbdc64e (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5838
diff changeset
    79
	{ 0xA33 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_8 },
16287dbdc64e (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5838
diff changeset
    80
	{ 0xA35 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_9 },
16287dbdc64e (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5838
diff changeset
    81
	{ 0xA37 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_10 },
5983
8fb0a46d60b8 (svn r8275) -Fix
tron
parents: 5920
diff changeset
    82
	{ 0xA39 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_nothing },
5920
16287dbdc64e (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5838
diff changeset
    83
	{ 0xA3A | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_12 },
16287dbdc64e (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5838
diff changeset
    84
	{ 0xA3C | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_13 },
16287dbdc64e (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5838
diff changeset
    85
	{ 0xA3E | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_14 },
5983
8fb0a46d60b8 (svn r8275) -Fix
tron
parents: 5920
diff changeset
    86
	{ 0xA40 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_nothing },
5920
16287dbdc64e (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5838
diff changeset
    87
	{ 0xA41 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_16 },
16287dbdc64e (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5838
diff changeset
    88
	{ 0xA43 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_17 },
16287dbdc64e (svn r8129) -Codechange: Change data tables to use split off palette map. And
peter1138
parents: 5838
diff changeset
    89
	{ 0xA45 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_18 },
5983
8fb0a46d60b8 (svn r8275) -Fix
tron
parents: 5920
diff changeset
    90
	{ 0xA47 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_nothing },
384
bf1303e754ff (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents: 0
diff changeset
    91
};