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 /table/sprites.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 'table/sprites.h')
-rw-r--r-- | table/sprites.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/table/sprites.h b/table/sprites.h index 1537a6b83..442282b33 100644 --- a/table/sprites.h +++ b/table/sprites.h @@ -407,8 +407,15 @@ enum Sprites { SPR_SHIPLIFT_Y_DOWN_TOP_FRONT = SPR_CANALS_BASE + 32, /* Sprites for tunnels and bridges */ - SPR_TUNNEL_ENTRY_REAR_RAIL = 2365, - SPR_TUNNEL_ENTRY_REAR_ROAD = 2389, + SPR_TUNNEL_ENTRY_REAR_RAIL = 2365, + SPR_TUNNEL_ENTRY_REAR_MONO = 2373, + SPR_TUNNEL_ENTRY_REAR_MAGLEV = 2381, + SPR_TUNNEL_ENTRY_REAR_ROAD = 2389, + + /* Level crossings */ + SPR_CROSSING_OFF_X_RAIL = 1370, + SPR_CROSSING_OFF_X_MONO = 1382, + SPR_CROSSING_OFF_X_MAGLEV = 1394, /* bridge type sprites */ |