diff options
author | michi_cc <michi_cc@openttd.org> | 2012-02-15 21:23:48 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2012-02-15 21:23:48 +0000 |
commit | 9101d2e2d2d6c80506f089d6dae418a8c4b9257c (patch) | |
tree | e892a8a91ba7debe7bbad1bac5655d785c7f56b5 /src/table | |
parent | 84b3e67bb56bf6a7dfc7192f58339998e8bde81a (diff) | |
download | openttd-9101d2e2d2d6c80506f089d6dae418a8c4b9257c.tar.xz |
(svn r23952) -Feature: [NewGRF] Customisable tunnel portals for rail types (sprites by Snail).
Diffstat (limited to 'src/table')
-rw-r--r-- | src/table/sprites.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/table/sprites.h b/src/table/sprites.h index 4953070b3..8320e2c52 100644 --- a/src/table/sprites.h +++ b/src/table/sprites.h @@ -270,8 +270,12 @@ static const uint16 ONEWAY_SPRITE_COUNT = 6; static const SpriteID SPR_FLAGS_BASE = SPR_ONEWAY_BASE + ONEWAY_SPRITE_COUNT; static const uint16 FLAGS_SPRITE_COUNT = 36; +/** Tunnel sprites with grass only for custom railtype tunnel. */ +static const SpriteID SPR_RAILTYPE_TUNNEL_BASE = SPR_FLAGS_BASE + FLAGS_SPRITE_COUNT; +static const uint16 RAILTYPE_TUNNEL_BASE_COUNT = 16; + /* Not really a sprite, but an empty bounding box. Used to construct bounding boxes that help sorting the sprites, but do not have a sprite associated. */ -static const SpriteID SPR_EMPTY_BOUNDING_BOX = SPR_FLAGS_BASE + FLAGS_SPRITE_COUNT; +static const SpriteID SPR_EMPTY_BOUNDING_BOX = SPR_RAILTYPE_TUNNEL_BASE + RAILTYPE_TUNNEL_BASE_COUNT; static const uint16 EMPTY_BOUNDING_BOX_SPRITE_COUNT = 1; /* From where can we start putting NewGRFs? */ |