forked from mirror/OpenTTD
(svn r3040) Don't deduce the cursor sprites when building rails from magic numbers, but fetch them from the central rail info array.
This commit is contained in:
@@ -936,15 +936,22 @@ typedef enum CursorSprites {
|
||||
|
||||
SPR_CURSOR_RAIL_DEPOT = 1296,
|
||||
SPR_CURSOR_RAIL_STATION = 1300,
|
||||
|
||||
SPR_CURSOR_TUNNEL_RAIL = 2434,
|
||||
SPR_CURSOR_TUNNEL_MONO = 2435,
|
||||
SPR_CURSOR_TUNNEL_MAGLEV = 2436,
|
||||
|
||||
SPR_CURSOR_AUTORAIL = SPR_OPENTTD_BASE + 4,
|
||||
SPR_CURSOR_AUTOMONO = SPR_OPENTTD_BASE + 5,
|
||||
SPR_CURSOR_AUTOMAGLEV = SPR_OPENTTD_BASE + 6,
|
||||
|
||||
SPR_CURSOR_WAYPOINT = SPR_OPENTTD_BASE + 7,
|
||||
SPR_CURSOR_MONO_DEPOT = SPR_OPENTTD_BASE + 14,
|
||||
SPR_CURSOR_MAGLEV_DEPOT = SPR_OPENTTD_BASE + 15,
|
||||
|
||||
SPR_CURSOR_CONVERT_RAIL = SPR_OPENTTD_BASE + 26,
|
||||
SPR_CURSOR_CONVERT_MONO = SPR_OPENTTD_BASE + 28,
|
||||
SPR_CURSOR_CONVERT_MAGLEV = SPR_OPENTTD_BASE + 30,
|
||||
|
||||
/* road cursors */
|
||||
SPR_CURSOR_ROAD_NESW = 1311,
|
||||
|
Reference in New Issue
Block a user