summaryrefslogtreecommitdiff
path: root/src/table/station_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/station_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/station_land.h')
-rw-r--r--src/table/station_land.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/table/station_land.h b/src/table/station_land.h
index 15790ac3c..0d5927c68 100644
--- a/src/table/station_land.h
+++ b/src/table/station_land.h
@@ -737,6 +737,18 @@ static const DrawTileSeqStruct _station_display_datas_0171[] = {
TILE_SEQ_END()
};
+static const DrawTileSeqStruct _station_display_datas_waypoint_X[] = {
+ TILE_SEQ_LINE( 0, 0, 0, 16, 5, 23, SPR_WAYPOINT_X_1 | (1 << PALETTE_MODIFIER_COLOUR))
+ TILE_SEQ_LINE( 0, 11, 0, 16, 5, 23, SPR_WAYPOINT_X_2 | (1 << PALETTE_MODIFIER_COLOUR))
+ TILE_SEQ_END()
+};
+
+static const DrawTileSeqStruct _station_display_datas_waypoint_Y[] = {
+ TILE_SEQ_LINE( 0, 0, 0, 5, 16, 23, SPR_WAYPOINT_Y_1 | (1 << PALETTE_MODIFIER_COLOUR))
+ TILE_SEQ_LINE(11, 0, 0, 5, 16, 23, SPR_WAYPOINT_Y_2 | (1 << PALETTE_MODIFIER_COLOUR))
+ TILE_SEQ_END()
+};
+
#undef TILE_SEQ_END
#undef TILE_SEQ_LINE
#undef TILE_SEQ_LINE_PAL
@@ -941,6 +953,11 @@ static const DrawTileSprites _station_display_datas_buoy[] = {
TILE_SPRITE_LINE(SPR_FLAT_WATER_TILE, _station_display_datas_82)
};
+static const DrawTileSprites _station_display_datas_waypoint[] = {
+ TILE_SPRITE_LINE(SPR_RAIL_TRACK_X, _station_display_datas_waypoint_X)
+ TILE_SPRITE_LINE(SPR_RAIL_TRACK_Y, _station_display_datas_waypoint_Y)
+};
+
#undef TILE_SPRITE_LINE
static const DrawTileSprites *_station_display_datas[] = {
@@ -951,4 +968,5 @@ static const DrawTileSprites *_station_display_datas[] = {
_station_display_datas_oilrig,
_station_display_datas_dock,
_station_display_datas_buoy,
+ _station_display_datas_waypoint,
};