author | rubidium |
Sun, 01 Jun 2008 16:45:32 +0000 | |
branch | 0.6 |
changeset 10801 | 3ad9dfb5430d |
parent 9072 | 6d250714e35d |
child 10429 | 1b99254f9607 |
permissions | -rw-r--r-- |
2186 | 1 |
/* $Id$ */ |
2 |
||
3654
4a3f8056a61c
(svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
belugas
parents:
2187
diff
changeset
|
3 |
|
9072
6d250714e35d
(svn r12157) -Codechange: Remove a structure definition and replace it with another one closely matching
belugas
parents:
9067
diff
changeset
|
4 |
static const DrawTileSeqStruct _draw_tile_transmitterlighthouse_data[] = { |
6d250714e35d
(svn r12157) -Codechange: Remove a structure definition and replace it with another one closely matching
belugas
parents:
9067
diff
changeset
|
5 |
{ 7, 7, 0, 2, 2, 70, {SPR_UNMOVABLE_TRANSMITTER, PAL_NONE}}, |
6d250714e35d
(svn r12157) -Codechange: Remove a structure definition and replace it with another one closely matching
belugas
parents:
9067
diff
changeset
|
6 |
{ 4, 4, 0, 7, 7, 61, {SPR_UNMOVABLE_LIGHTHOUSE, PAL_NONE}}, |
0 | 7 |
}; |
8 |
||
9066
29d5a0dfc329
(svn r12148) -Codechange: Merge 'image' and 'pal' of DrawTileSeqStruct into one PalSpriteID
frosch
parents:
9065
diff
changeset
|
9 |
#define TILE_SEQ_LINE(sz, img) { 0, 0, 0, 16, 16, sz, {img, PAL_NONE} }, |
29d5a0dfc329
(svn r12148) -Codechange: Merge 'image' and 'pal' of DrawTileSeqStruct into one PalSpriteID
frosch
parents:
9065
diff
changeset
|
10 |
#define TILE_SEQ_END() { (byte)0x80, 0, 0, 0, 0, 0, {0, 0} } |
0 | 11 |
|
5983 | 12 |
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
|
13 |
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
|
14 |
}; |
bf1303e754ff
(svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents:
0
diff
changeset
|
15 |
|
bf1303e754ff
(svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents:
0
diff
changeset
|
16 |
static const DrawTileSeqStruct _unmovable_display_datas_8[] = { |
9064
de16e6400927
(svn r12146) -Codechange: Use macros to build DrawTileSeqStruct-tables in station_land and unmovable_land.
frosch
parents:
6574
diff
changeset
|
17 |
TILE_SEQ_LINE(20, 0xA34 | (1 << PALETTE_MODIFIER_COLOR)) |
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
|
18 |
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
|
19 |
}; |
bf1303e754ff
(svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents:
0
diff
changeset
|
20 |
|
bf1303e754ff
(svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents:
0
diff
changeset
|
21 |
static const DrawTileSeqStruct _unmovable_display_datas_9[] = { |
9064
de16e6400927
(svn r12146) -Codechange: Use macros to build DrawTileSeqStruct-tables in station_land and unmovable_land.
frosch
parents:
6574
diff
changeset
|
22 |
TILE_SEQ_LINE(20, 0xA36 | (1 << PALETTE_MODIFIER_COLOR)) |
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
|
23 |
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
|
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 |
|
bf1303e754ff
(svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents:
0
diff
changeset
|
26 |
static const DrawTileSeqStruct _unmovable_display_datas_10[] = { |
9064
de16e6400927
(svn r12146) -Codechange: Use macros to build DrawTileSeqStruct-tables in station_land and unmovable_land.
frosch
parents:
6574
diff
changeset
|
27 |
TILE_SEQ_LINE(20, 0xA38 | (1 << PALETTE_MODIFIER_COLOR)) |
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
|
28 |
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
|
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 |
|
bf1303e754ff
(svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents:
0
diff
changeset
|
31 |
static const DrawTileSeqStruct _unmovable_display_datas_12[] = { |
9064
de16e6400927
(svn r12146) -Codechange: Use macros to build DrawTileSeqStruct-tables in station_land and unmovable_land.
frosch
parents:
6574
diff
changeset
|
32 |
TILE_SEQ_LINE(50, 0xA3B | (1 << PALETTE_MODIFIER_COLOR)) |
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
|
33 |
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
|
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 |
|
bf1303e754ff
(svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents:
0
diff
changeset
|
36 |
static const DrawTileSeqStruct _unmovable_display_datas_13[] = { |
9064
de16e6400927
(svn r12146) -Codechange: Use macros to build DrawTileSeqStruct-tables in station_land and unmovable_land.
frosch
parents:
6574
diff
changeset
|
37 |
TILE_SEQ_LINE(50, 0xA3D | (1 << PALETTE_MODIFIER_COLOR)) |
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
|
38 |
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
|
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 |
|
bf1303e754ff
(svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents:
0
diff
changeset
|
41 |
static const DrawTileSeqStruct _unmovable_display_datas_14[] = { |
9064
de16e6400927
(svn r12146) -Codechange: Use macros to build DrawTileSeqStruct-tables in station_land and unmovable_land.
frosch
parents:
6574
diff
changeset
|
42 |
TILE_SEQ_LINE(50, 0xA3F | (1 << PALETTE_MODIFIER_COLOR)) |
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
|
43 |
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
|
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 |
|
bf1303e754ff
(svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents:
0
diff
changeset
|
46 |
static const DrawTileSeqStruct _unmovable_display_datas_16[] = { |
9064
de16e6400927
(svn r12146) -Codechange: Use macros to build DrawTileSeqStruct-tables in station_land and unmovable_land.
frosch
parents:
6574
diff
changeset
|
47 |
TILE_SEQ_LINE(60, 0xA42 | (1 << PALETTE_MODIFIER_COLOR)) |
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
|
48 |
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
|
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 |
|
bf1303e754ff
(svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents:
0
diff
changeset
|
51 |
static const DrawTileSeqStruct _unmovable_display_datas_17[] = { |
9064
de16e6400927
(svn r12146) -Codechange: Use macros to build DrawTileSeqStruct-tables in station_land and unmovable_land.
frosch
parents:
6574
diff
changeset
|
52 |
TILE_SEQ_LINE(60, 0xA44 | (1 << PALETTE_MODIFIER_COLOR)) |
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
|
53 |
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
|
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 |
|
bf1303e754ff
(svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents:
0
diff
changeset
|
56 |
static const DrawTileSeqStruct _unmovable_display_datas_18[] = { |
9064
de16e6400927
(svn r12146) -Codechange: Use macros to build DrawTileSeqStruct-tables in station_land and unmovable_land.
frosch
parents:
6574
diff
changeset
|
57 |
TILE_SEQ_LINE(60, 0xA46 | (1 << PALETTE_MODIFIER_COLOR)) |
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
|
58 |
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
|
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 |
|
9064
de16e6400927
(svn r12146) -Codechange: Use macros to build DrawTileSeqStruct-tables in station_land and unmovable_land.
frosch
parents:
6574
diff
changeset
|
61 |
#undef TILE_SEQ_LINE |
de16e6400927
(svn r12146) -Codechange: Use macros to build DrawTileSeqStruct-tables in station_land and unmovable_land.
frosch
parents:
6574
diff
changeset
|
62 |
#undef TILE_SEQ_END |
de16e6400927
(svn r12146) -Codechange: Use macros to build DrawTileSeqStruct-tables in station_land and unmovable_land.
frosch
parents:
6574
diff
changeset
|
63 |
|
9067
88f2bc991236
(svn r12149) -Codechange: Merge 'ground_sprite' and 'ground_pal' of DrawTileSprites into one PalSpriteID
frosch
parents:
9066
diff
changeset
|
64 |
#define TILE_SPRITE_LINE(img, dtss) { {img | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE}, dtss }, |
9065
5b94b17e4f1d
(svn r12147) -Codechange: Use macros to build DrawTileSprites-tables in station_land and unmovable_land.
frosch
parents:
9064
diff
changeset
|
65 |
|
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
|
66 |
static const DrawTileSprites _unmovable_display_datas[] = { |
9065
5b94b17e4f1d
(svn r12147) -Codechange: Use macros to build DrawTileSprites-tables in station_land and unmovable_land.
frosch
parents:
9064
diff
changeset
|
67 |
TILE_SPRITE_LINE(0xA2B, _unmovable_display_nothing) |
5b94b17e4f1d
(svn r12147) -Codechange: Use macros to build DrawTileSprites-tables in station_land and unmovable_land.
frosch
parents:
9064
diff
changeset
|
68 |
TILE_SPRITE_LINE(0xA2C, _unmovable_display_nothing) |
5b94b17e4f1d
(svn r12147) -Codechange: Use macros to build DrawTileSprites-tables in station_land and unmovable_land.
frosch
parents:
9064
diff
changeset
|
69 |
TILE_SPRITE_LINE(0xA2D, _unmovable_display_nothing) |
5b94b17e4f1d
(svn r12147) -Codechange: Use macros to build DrawTileSprites-tables in station_land and unmovable_land.
frosch
parents:
9064
diff
changeset
|
70 |
TILE_SPRITE_LINE(0xA2E, _unmovable_display_nothing) |
5b94b17e4f1d
(svn r12147) -Codechange: Use macros to build DrawTileSprites-tables in station_land and unmovable_land.
frosch
parents:
9064
diff
changeset
|
71 |
TILE_SPRITE_LINE(0xA2F, _unmovable_display_nothing) |
5b94b17e4f1d
(svn r12147) -Codechange: Use macros to build DrawTileSprites-tables in station_land and unmovable_land.
frosch
parents:
9064
diff
changeset
|
72 |
TILE_SPRITE_LINE(0xA30, _unmovable_display_nothing) |
5b94b17e4f1d
(svn r12147) -Codechange: Use macros to build DrawTileSprites-tables in station_land and unmovable_land.
frosch
parents:
9064
diff
changeset
|
73 |
TILE_SPRITE_LINE(0xA31, _unmovable_display_nothing) |
5b94b17e4f1d
(svn r12147) -Codechange: Use macros to build DrawTileSprites-tables in station_land and unmovable_land.
frosch
parents:
9064
diff
changeset
|
74 |
TILE_SPRITE_LINE(0xA32, _unmovable_display_nothing) |
5b94b17e4f1d
(svn r12147) -Codechange: Use macros to build DrawTileSprites-tables in station_land and unmovable_land.
frosch
parents:
9064
diff
changeset
|
75 |
TILE_SPRITE_LINE(0xA33, _unmovable_display_datas_8) |
5b94b17e4f1d
(svn r12147) -Codechange: Use macros to build DrawTileSprites-tables in station_land and unmovable_land.
frosch
parents:
9064
diff
changeset
|
76 |
TILE_SPRITE_LINE(0xA35, _unmovable_display_datas_9) |
5b94b17e4f1d
(svn r12147) -Codechange: Use macros to build DrawTileSprites-tables in station_land and unmovable_land.
frosch
parents:
9064
diff
changeset
|
77 |
TILE_SPRITE_LINE(0xA37, _unmovable_display_datas_10) |
5b94b17e4f1d
(svn r12147) -Codechange: Use macros to build DrawTileSprites-tables in station_land and unmovable_land.
frosch
parents:
9064
diff
changeset
|
78 |
TILE_SPRITE_LINE(0xA39, _unmovable_display_nothing) |
5b94b17e4f1d
(svn r12147) -Codechange: Use macros to build DrawTileSprites-tables in station_land and unmovable_land.
frosch
parents:
9064
diff
changeset
|
79 |
TILE_SPRITE_LINE(0xA3A, _unmovable_display_datas_12) |
5b94b17e4f1d
(svn r12147) -Codechange: Use macros to build DrawTileSprites-tables in station_land and unmovable_land.
frosch
parents:
9064
diff
changeset
|
80 |
TILE_SPRITE_LINE(0xA3C, _unmovable_display_datas_13) |
5b94b17e4f1d
(svn r12147) -Codechange: Use macros to build DrawTileSprites-tables in station_land and unmovable_land.
frosch
parents:
9064
diff
changeset
|
81 |
TILE_SPRITE_LINE(0xA3E, _unmovable_display_datas_14) |
5b94b17e4f1d
(svn r12147) -Codechange: Use macros to build DrawTileSprites-tables in station_land and unmovable_land.
frosch
parents:
9064
diff
changeset
|
82 |
TILE_SPRITE_LINE(0xA40, _unmovable_display_nothing) |
5b94b17e4f1d
(svn r12147) -Codechange: Use macros to build DrawTileSprites-tables in station_land and unmovable_land.
frosch
parents:
9064
diff
changeset
|
83 |
TILE_SPRITE_LINE(0xA41, _unmovable_display_datas_16) |
5b94b17e4f1d
(svn r12147) -Codechange: Use macros to build DrawTileSprites-tables in station_land and unmovable_land.
frosch
parents:
9064
diff
changeset
|
84 |
TILE_SPRITE_LINE(0xA43, _unmovable_display_datas_17) |
5b94b17e4f1d
(svn r12147) -Codechange: Use macros to build DrawTileSprites-tables in station_land and unmovable_land.
frosch
parents:
9064
diff
changeset
|
85 |
TILE_SPRITE_LINE(0xA45, _unmovable_display_datas_18) |
5b94b17e4f1d
(svn r12147) -Codechange: Use macros to build DrawTileSprites-tables in station_land and unmovable_land.
frosch
parents:
9064
diff
changeset
|
86 |
TILE_SPRITE_LINE(0xA47, _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
|
87 |
}; |
9065
5b94b17e4f1d
(svn r12147) -Codechange: Use macros to build DrawTileSprites-tables in station_land and unmovable_land.
frosch
parents:
9064
diff
changeset
|
88 |
|
5b94b17e4f1d
(svn r12147) -Codechange: Use macros to build DrawTileSprites-tables in station_land and unmovable_land.
frosch
parents:
9064
diff
changeset
|
89 |
#undef TILE_SPRITE_LINE |