(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:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user