(svn r12624) -Codechange: Make drawing of catenary an attribute of rail types, instead of deciding by the rail type directly.

This commit is contained in:
peter1138
2008-04-08 07:19:29 +00:00
parent 5967f5b379
commit d577b0504a
2 changed files with 28 additions and 1 deletions

View File

@@ -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,
},
};