summaryrefslogtreecommitdiff
path: root/src/table
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/table
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/table')
-rw-r--r--src/table/railtypes.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/table/railtypes.h b/src/table/railtypes.h
index c4decab18..e8a1d51e5 100644
--- a/src/table/railtypes.h
+++ b/src/table/railtypes.h
@@ -104,6 +104,9 @@ static const RailtypeInfo _original_railtypes[] = {
/* introduction rail types */
RAILTYPES_RAIL,
+ /* sort order */
+ 0 << 4 | 7,
+
{ NULL },
},
@@ -196,6 +199,9 @@ static const RailtypeInfo _original_railtypes[] = {
/* introduction rail types */
RAILTYPES_ELECTRIC,
+ /* sort order */
+ 1 << 4 | 7,
+
{ NULL },
},
@@ -284,6 +290,9 @@ static const RailtypeInfo _original_railtypes[] = {
/* introduction rail types */
RAILTYPES_MONO,
+ /* sort order */
+ 2 << 4 | 7,
+
{ NULL },
},
@@ -372,6 +381,9 @@ static const RailtypeInfo _original_railtypes[] = {
/* introduction rail types */
RAILTYPES_MAGLEV,
+ /* sort order */
+ 3 << 4 | 7,
+
{ NULL },
},
};