(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

This commit is contained in:
tron
2005-10-13 16:00:14 +00:00
parent d37639ac3e
commit 7520ef8f33
6 changed files with 32 additions and 20 deletions

View File

@@ -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 */