(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:
tron
2005-10-14 08:11:18 +00:00
parent 1667628659
commit f97d1274bc
4 changed files with 62 additions and 15 deletions

11
rail.h
View File

@@ -171,6 +171,17 @@ typedef struct RailtypeInfo {
SpriteID convert_rail; ///< button for converting rail
} gui_sprites;
struct {
CursorID rail_ns;
CursorID rail_swne;
CursorID rail_ew;
CursorID rail_nwse;
CursorID autorail;
CursorID depot;
CursorID tunnel;
CursorID convert;
} cursor;
struct {
StringID toolbar_caption;
} strings;