summaryrefslogtreecommitdiff
path: root/src/table/unmovable_land.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2007-01-19 06:08:04 +0000
committertron <tron@openttd.org>2007-01-19 06:08:04 +0000
commit7af3094bc3cad9ba1182e7a68efa86c4239d4363 (patch)
tree30a451504885acf837f972e545a92f98fb2c1aec /src/table/unmovable_land.h
parent110c0162df3a40865d1ec77fd93ae199d3c699cd (diff)
downloadopenttd-7af3094bc3cad9ba1182e7a68efa86c4239d4363.tar.xz
(svn r8275) -Fix
Factor common data tables and use a bit more sensible names
Diffstat (limited to 'src/table/unmovable_land.h')
-rw-r--r--src/table/unmovable_land.h64
1 files changed, 12 insertions, 52 deletions
diff --git a/src/table/unmovable_land.h b/src/table/unmovable_land.h
index 97b910938..9b9f004a7 100644
--- a/src/table/unmovable_land.h
+++ b/src/table/unmovable_land.h
@@ -18,35 +18,7 @@ static const DrawTileUnmovableStruct _draw_tile_unmovable_data[] = {
};
-static const DrawTileSeqStruct _unmovable_display_datas_0[] = {
- TILE_SEQ_END()
-};
-
-static const DrawTileSeqStruct _unmovable_display_datas_1[] = {
- TILE_SEQ_END()
-};
-
-static const DrawTileSeqStruct _unmovable_display_datas_2[] = {
- TILE_SEQ_END()
-};
-
-static const DrawTileSeqStruct _unmovable_display_datas_3[] = {
- TILE_SEQ_END()
-};
-
-static const DrawTileSeqStruct _unmovable_display_datas_4[] = {
- TILE_SEQ_END()
-};
-
-static const DrawTileSeqStruct _unmovable_display_datas_5[] = {
- TILE_SEQ_END()
-};
-
-static const DrawTileSeqStruct _unmovable_display_datas_6[] = {
- TILE_SEQ_END()
-};
-
-static const DrawTileSeqStruct _unmovable_display_datas_7[] = {
+static const DrawTileSeqStruct _unmovable_display_nothing[] = {
TILE_SEQ_END()
};
@@ -65,10 +37,6 @@ static const DrawTileSeqStruct _unmovable_display_datas_10[] = {
TILE_SEQ_END()
};
-static const DrawTileSeqStruct _unmovable_display_datas_11[] = {
- TILE_SEQ_END()
-};
-
static const DrawTileSeqStruct _unmovable_display_datas_12[] = {
{ 0, 0, 0, 16, 16, 50, 0xA3B | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE },
TILE_SEQ_END()
@@ -84,10 +52,6 @@ static const DrawTileSeqStruct _unmovable_display_datas_14[] = {
TILE_SEQ_END()
};
-static const DrawTileSeqStruct _unmovable_display_datas_15[] = {
- TILE_SEQ_END()
-};
-
static const DrawTileSeqStruct _unmovable_display_datas_16[] = {
{ 0, 0, 0, 16, 16, 60, 0xA42 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE },
TILE_SEQ_END()
@@ -103,29 +67,25 @@ static const DrawTileSeqStruct _unmovable_display_datas_18[] = {
TILE_SEQ_END()
};
-static const DrawTileSeqStruct _unmovable_display_datas_19[] = {
- TILE_SEQ_END()
-};
-
static const DrawTileSprites _unmovable_display_datas[] = {
- { 0xA2B | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_0 },
- { 0xA2C | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_1 },
- { 0xA2D | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_2 },
- { 0xA2E | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_3 },
- { 0xA2F | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_4 },
- { 0xA30 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_5 },
- { 0xA31 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_6 },
- { 0xA32 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_7 },
+ { 0xA2B | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_nothing },
+ { 0xA2C | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_nothing },
+ { 0xA2D | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_nothing },
+ { 0xA2E | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_nothing },
+ { 0xA2F | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_nothing },
+ { 0xA30 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_nothing },
+ { 0xA31 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_nothing },
+ { 0xA32 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_nothing },
{ 0xA33 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_8 },
{ 0xA35 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_9 },
{ 0xA37 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_10 },
- { 0xA39 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_11 },
+ { 0xA39 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_nothing },
{ 0xA3A | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_12 },
{ 0xA3C | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_13 },
{ 0xA3E | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_14 },
- { 0xA40 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_15 },
+ { 0xA40 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_nothing },
{ 0xA41 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_16 },
{ 0xA43 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_17 },
{ 0xA45 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_18 },
- { 0xA47 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_datas_19 },
+ { 0xA47 | (1 << PALETTE_MODIFIER_COLOR), PAL_NONE, _unmovable_display_nothing },
};