author | truebrain |
Mon, 30 Jun 2008 13:49:41 +0000 | |
branch | noai |
changeset 11101 | 94e33f3174a6 |
parent 10455 | 22c441f5adf9 |
permissions | -rw-r--r-- |
2186 | 1 |
/* $Id$ */ |
2 |
||
10455
22c441f5adf9
(svn r12997) [NoAI] -Sync: with trunk r12895:12996.
rubidium
parents:
9732
diff
changeset
|
3 |
/** @file unmovable_land.h Sprites to use and how to display them for unmovable tiles. */ |
9732 | 4 |
|
5 |
static const DrawTileSeqStruct _draw_tile_transmitterlighthouse_data[] = { |
|
6 |
{ 7, 7, 0, 2, 2, 70, {SPR_UNMOVABLE_TRANSMITTER, PAL_NONE}}, |
|
7 |
{ 4, 4, 0, 7, 7, 61, {SPR_UNMOVABLE_LIGHTHOUSE, PAL_NONE}}, |
|
6574
e1d1a12faaf7
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
rubidium
parents:
5983
diff
changeset
|
8 |
}; |
3654
4a3f8056a61c
(svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
belugas
parents:
2187
diff
changeset
|
9 |
|
9732 | 10 |
#define TILE_SEQ_LINE(sz, img) { 0, 0, 0, 16, 16, sz, {img, PAL_NONE} }, |
11 |
#define TILE_SEQ_END() { (byte)0x80, 0, 0, 0, 0, 0, {0, 0} } |
|
0 | 12 |
|
5983 | 13 |
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
|
14 |
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
|
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 |
|
bf1303e754ff
(svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents:
0
diff
changeset
|
17 |
static const DrawTileSeqStruct _unmovable_display_datas_8[] = { |
9732 | 18 |
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
|
19 |
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
|
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 |
|
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 |
static const DrawTileSeqStruct _unmovable_display_datas_9[] = { |
9732 | 23 |
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
|
24 |
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
|
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 |
|
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 |
static const DrawTileSeqStruct _unmovable_display_datas_10[] = { |
9732 | 28 |
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
|
29 |
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
|
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 |
|
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 |
static const DrawTileSeqStruct _unmovable_display_datas_12[] = { |
9732 | 33 |
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
|
34 |
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
|
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 |
|
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 |
static const DrawTileSeqStruct _unmovable_display_datas_13[] = { |
9732 | 38 |
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
|
39 |
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
|
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 |
|
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 |
static const DrawTileSeqStruct _unmovable_display_datas_14[] = { |
9732 | 43 |
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
|
44 |
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
|
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 |
|
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 |
static const DrawTileSeqStruct _unmovable_display_datas_16[] = { |
9732 | 48 |
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
|
49 |
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
|
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 |
|
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 |
static const DrawTileSeqStruct _unmovable_display_datas_17[] = { |
9732 | 53 |
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
|
54 |
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
|
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 |
|
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 |
static const DrawTileSeqStruct _unmovable_display_datas_18[] = { |
9732 | 58 |
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
|
59 |
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
|
60 |
}; |
bf1303e754ff
(svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky)
darkvater
parents:
0
diff
changeset
|
61 |
|
9732 | 62 |
#undef TILE_SEQ_LINE |
63 |
#undef TILE_SEQ_END |
|
64 |
||
65 |
#define TILE_SPRITE_LINE(img, dtss) { {img | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE}, dtss }, |
|
66 |
||
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 |
static const DrawTileSprites _unmovable_display_datas[] = { |
9732 | 68 |
TILE_SPRITE_LINE(0xA2B, _unmovable_display_nothing) |
69 |
TILE_SPRITE_LINE(0xA2C, _unmovable_display_nothing) |
|
70 |
TILE_SPRITE_LINE(0xA2D, _unmovable_display_nothing) |
|
71 |
TILE_SPRITE_LINE(0xA2E, _unmovable_display_nothing) |
|
72 |
TILE_SPRITE_LINE(0xA2F, _unmovable_display_nothing) |
|
73 |
TILE_SPRITE_LINE(0xA30, _unmovable_display_nothing) |
|
74 |
TILE_SPRITE_LINE(0xA31, _unmovable_display_nothing) |
|
75 |
TILE_SPRITE_LINE(0xA32, _unmovable_display_nothing) |
|
76 |
TILE_SPRITE_LINE(0xA33, _unmovable_display_datas_8) |
|
77 |
TILE_SPRITE_LINE(0xA35, _unmovable_display_datas_9) |
|
78 |
TILE_SPRITE_LINE(0xA37, _unmovable_display_datas_10) |
|
79 |
TILE_SPRITE_LINE(0xA39, _unmovable_display_nothing) |
|
80 |
TILE_SPRITE_LINE(0xA3A, _unmovable_display_datas_12) |
|
81 |
TILE_SPRITE_LINE(0xA3C, _unmovable_display_datas_13) |
|
82 |
TILE_SPRITE_LINE(0xA3E, _unmovable_display_datas_14) |
|
83 |
TILE_SPRITE_LINE(0xA40, _unmovable_display_nothing) |
|
84 |
TILE_SPRITE_LINE(0xA41, _unmovable_display_datas_16) |
|
85 |
TILE_SPRITE_LINE(0xA43, _unmovable_display_datas_17) |
|
86 |
TILE_SPRITE_LINE(0xA45, _unmovable_display_datas_18) |
|
87 |
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
|
88 |
}; |
9732 | 89 |
|
90 |
#undef TILE_SPRITE_LINE |