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
commitf97d1274bc13b976aeec0d346f6dc06f3b4072c6 (patch)
treea312e8fe42aa625cbae5e19615706fe3ad08529c /rail.h
parent1667628659739506b0784b92e6fee23c12e73c4f (diff)
downloadopenttd-f97d1274bc13b976aeec0d346f6dc06f3b4072c6.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;