diff options
author | rubidium <rubidium@openttd.org> | 2011-01-20 12:22:38 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-01-20 12:22:38 +0000 |
commit | 2f6c840ebf94c9c0386abcb0217540a1c2a7ae85 (patch) | |
tree | be5ded654afdcffe47d25a8d2cb6dd87531eb196 /src/table | |
parent | 6a2ae9281159ad17a64f88d871561382ce366697 (diff) | |
download | openttd-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.h | 12 |
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 }, }, }; |