summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-04-08 07:19:29 +0000
committerpeter1138 <peter1138@openttd.org>2008-04-08 07:19:29 +0000
commit310170364ff7e22ce631e2c5afeef9be12a8aca4 (patch)
tree50bcc2dd4368fa179ba3a9e9f3b2108b9892999f /src/table
parentb0ca38e20a154572e4dca3dd95c7deddea02c3e1 (diff)
downloadopenttd-310170364ff7e22ce631e2c5afeef9be12a8aca4.tar.xz
(svn r12624) -Codechange: Make drawing of catenary an attribute of rail types, instead of deciding by the rail type directly.
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 42738b80b..e569fe408 100644
--- a/src/table/railtypes.h
+++ b/src/table/railtypes.h
@@ -60,6 +60,9 @@ RailtypeInfo _railtypes[] = {
/* curve speed advantage (multiplier) */
0,
+
+ /* flags */
+ RTFB_NONE,
},
/** Electrified railway */
@@ -116,6 +119,9 @@ RailtypeInfo _railtypes[] = {
/* curve speed advantage (multiplier) */
0,
+
+ /* flags */
+ RTFB_CATENARY,
},
/** Monorail */
@@ -168,6 +174,9 @@ RailtypeInfo _railtypes[] = {
/* curve speed advantage (multiplier) */
1,
+
+ /* flags */
+ RTFB_NONE,
},
/** Maglev */
@@ -220,6 +229,9 @@ RailtypeInfo _railtypes[] = {
/* curve speed advantage (multiplier) */
2,
+
+ /* flags */
+ RTFB_NONE,
},
};