summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-04-03 19:55:40 +0000
committersmatz <smatz@openttd.org>2008-04-03 19:55:40 +0000
commitfcf4a7067d529d2f43d26be48cdc7daf395eddb1 (patch)
tree6e5ae7f6b1b5f40dbc7a0e75f50db327a96a8b37 /src/table
parentb8e3bbe0396072f0574b3b335386762146fbff93 (diff)
downloadopenttd-fcf4a7067d529d2f43d26be48cdc7daf395eddb1.tar.xz
(svn r12547) -Feature: invisibility options to make objects invisible instead of transparent
Diffstat (limited to 'src/table')
-rw-r--r--src/table/track_land.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/table/track_land.h b/src/table/track_land.h
index 920595cb1..3f4a00fb9 100644
--- a/src/table/track_land.h
+++ b/src/table/track_land.h
@@ -33,6 +33,12 @@ static const DrawTileSprites _depot_gfx_table[] = {
{ {SPR_FLAT_GRASS_TILE, PAL_NONE}, _depot_gfx_NW }
};
+static const DrawTileSprites _depot_invisible_gfx_table[] = {
+ { {SPR_RAIL_TRACK_X, PAL_NONE}, _depot_gfx_NE },
+ { {SPR_RAIL_TRACK_Y, PAL_NONE}, _depot_gfx_SE },
+ { {SPR_RAIL_TRACK_X, PAL_NONE}, _depot_gfx_SW },
+ { {SPR_RAIL_TRACK_Y, PAL_NONE}, _depot_gfx_NW }
+};
static const DrawTileSeqStruct _waypoint_gfx_X[] = {
TILE_SEQ_LINE((1 << PALETTE_MODIFIER_COLOR) | SPR_WAYPOINT_X_1, 0, 0, 16, 5)