summaryrefslogtreecommitdiff
path: root/rail.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-10-14 08:11:18 +0000
committertron <tron@openttd.org>2005-10-14 08:11:18 +0000
commit8d4ed0840b751a5e13c0d68e8883423745e8bb85 (patch)
treea312e8fe42aa625cbae5e19615706fe3ad08529c /rail.h
parent02c96219cb71c8cdbf0c4d40db296a0164fb9b74 (diff)
downloadopenttd-8d4ed0840b751a5e13c0d68e8883423745e8bb85.tar.xz
(svn r3040) Don't deduce the cursor sprites when building rails from magic numbers, but fetch them from the central rail info array.
Diffstat (limited to 'rail.h')
-rw-r--r--rail.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/rail.h b/rail.h
index 215a291dd..ba5025dbe 100644
--- a/rail.h
+++ b/rail.h
@@ -172,6 +172,17 @@ typedef struct RailtypeInfo {
} 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;