summaryrefslogtreecommitdiff
path: root/src/table/track_land.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-07-18 10:01:31 +0000
committerrubidium <rubidium@openttd.org>2009-07-18 10:01:31 +0000
commit861a2163f615fef311ea0ee6c7c4abeb1e2e65c0 (patch)
tree278567959796487fd7e6cb1c17aba1182778eba7 /src/table/track_land.h
parent8c17c6cb2bba037e0e7cbe5f97bc2e025bed9a6f (diff)
downloadopenttd-861a2163f615fef311ea0ee6c7c4abeb1e2e65c0.tar.xz
(svn r16869) -Codechange: make drawing waypoints a tiny bit more like drawing stations
Diffstat (limited to 'src/table/track_land.h')
-rw-r--r--src/table/track_land.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/table/track_land.h b/src/table/track_land.h
index 7c2a94e3c..10eed215e 100644
--- a/src/table/track_land.h
+++ b/src/table/track_land.h
@@ -1,6 +1,6 @@
/* $Id$ */
-/** @file track_land.h Sprites to use and how to display them for train depot/waypoint tiles. */
+/** @file track_land.h Sprites to use and how to display them for train depot tiles. */
#define TILE_SEQ_LINE(img, dx, dy, sx, sy) { dx, dy, 0, sx, sy, 23, {img, PAL_NONE} },
#define TILE_SEQ_END() { (int8)0x80, 0, 0, 0, 0, 0, {0, 0} }
@@ -42,23 +42,6 @@ static const DrawTileSprites _depot_invisible_gfx_table[] = {
{ {SPR_RAIL_TRACK_Y, PAL_NONE}, _depot_gfx_NW }
};
-static const DrawTileSeqStruct _waypoint_gfx_X[] = {
- TILE_SEQ_LINE((1 << PALETTE_MODIFIER_COLOUR) | SPR_WAYPOINT_X_1, 0, 0, 16, 5)
- TILE_SEQ_LINE((1 << PALETTE_MODIFIER_COLOUR) | SPR_WAYPOINT_X_2, 0, 11, 16, 5)
- TILE_SEQ_END()
-};
-
-static const DrawTileSeqStruct _waypoint_gfx_Y[] = {
- TILE_SEQ_LINE((1 << PALETTE_MODIFIER_COLOUR) | SPR_WAYPOINT_Y_1, 0, 0, 5, 16)
- TILE_SEQ_LINE((1 << PALETTE_MODIFIER_COLOUR) | SPR_WAYPOINT_Y_2, 11, 0, 5, 16)
- TILE_SEQ_END()
-};
-
-static const DrawTileSprites _waypoint_gfx_table[] = {
- { {SPR_RAIL_TRACK_X, PAL_NONE}, _waypoint_gfx_X },
- { {SPR_RAIL_TRACK_Y, PAL_NONE}, _waypoint_gfx_Y }
-};
-
#undef TILE_SEQ_LINE
#undef TILE_SEQ_END