summaryrefslogtreecommitdiff
path: root/src/rail.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-01-20 12:22:38 +0000
committerrubidium <rubidium@openttd.org>2011-01-20 12:22:38 +0000
commit2f6c840ebf94c9c0386abcb0217540a1c2a7ae85 (patch)
treebe5ded654afdcffe47d25a8d2cb6dd87531eb196 /src/rail.h
parent6a2ae9281159ad17a64f88d871561382ce366697 (diff)
downloadopenttd-2f6c840ebf94c9c0386abcb0217540a1c2a7ae85.tar.xz
(svn r21866) -Feature [FS#4394]: [NewGRF] Rail type property to influence sorting of rail types in the drop down list
Diffstat (limited to 'src/rail.h')
-rw-r--r--src/rail.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rail.h b/src/rail.h
index 20260d241..f7d97daf4 100644
--- a/src/rail.h
+++ b/src/rail.h
@@ -238,6 +238,11 @@ struct RailtypeInfo {
RailTypes introduces_railtypes;
/**
+ * The sorting order of this railtype for the toolbar dropdown.
+ */
+ byte sorting_order;
+
+ /**
* Sprite groups for resolving sprites
*/
const SpriteGroup *group[RTSG_END];