summaryrefslogtreecommitdiff
path: root/src/table/unmovable_land.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2008-02-16 02:37:31 +0000
committerbelugas <belugas@openttd.org>2008-02-16 02:37:31 +0000
commit6ff5a8a29fda832275f8960ed1620003d022e4ee (patch)
tree60eeea05f68ba48799ca4e98963d07b99db5f227 /src/table/unmovable_land.h
parent7d45415b3d8dff7f1a063274bf535c6b0fa32828 (diff)
downloadopenttd-6ff5a8a29fda832275f8960ed1620003d022e4ee.tar.xz
(svn r12157) -Codechange: Remove a structure definition and replace it with another one closely matching
-Codechange: Replace two magic numbers with according sprite names
Diffstat (limited to 'src/table/unmovable_land.h')
-rw-r--r--src/table/unmovable_land.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/src/table/unmovable_land.h b/src/table/unmovable_land.h
index 887e432bf..e7a97cb89 100644
--- a/src/table/unmovable_land.h
+++ b/src/table/unmovable_land.h
@@ -1,18 +1,9 @@
/* $Id$ */
-struct DrawTileUnmovableStruct {
- uint16 image;
- byte subcoord_x;
- byte subcoord_y;
- byte width;
- byte height;
- byte z_size;
- byte unused;
-};
-static const DrawTileUnmovableStruct _draw_tile_unmovable_data[] = {
- {0xA29, 7, 7, 2, 2, 70, 0},
- {0xA2A, 4, 4, 7, 7, 61, 0},
+static const DrawTileSeqStruct _draw_tile_transmitterlighthouse_data[] = {
+ { 7, 7, 0, 2, 2, 70, {SPR_UNMOVABLE_TRANSMITTER, PAL_NONE}},
+ { 4, 4, 0, 7, 7, 61, {SPR_UNMOVABLE_LIGHTHOUSE, PAL_NONE}},
};
#define TILE_SEQ_LINE(sz, img) { 0, 0, 0, 16, 16, sz, {img, PAL_NONE} },