diff options
author | tron <tron@openttd.org> | 2005-10-13 16:00:14 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-10-13 16:00:14 +0000 |
commit | 7520ef8f3325bcaec2496e52e0d351767193da28 (patch) | |
tree | ee9f710faeaacffe616dd886460d095de751bb0d /rail.h | |
parent | d37639ac3eab8c7d8deb37ff9b7784f57aa580d4 (diff) | |
download | openttd-7520ef8f3325bcaec2496e52e0d351767193da28.tar.xz |
(svn r3037) Don't deduce the sprites for tunnels and level crossings from magic numbers, but fetch them from the central rail info array. This is a preparation step for electrified rails
Diffstat (limited to 'rail.h')
-rw-r--r-- | rail.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -154,6 +154,8 @@ typedef struct RailtypeInfo { SpriteID single_s; ///< single piece of rail in the southern corner SpriteID single_e; ///< single piece of rail in the eastern corner SpriteID single_w; ///< single piece of rail in the western corner + SpriteID crossing; ///< level crossing, rail in X direction + SpriteID tunnel; ///< tunnel sprites base } base_sprites; /** struct containing the sprites for the rail GUI. @note only sprites referred to |