diff options
author | peter1138 <peter1138@openttd.org> | 2008-08-24 23:10:23 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-08-24 23:10:23 +0000 |
commit | b45ced35eea5caed622fd93f460d90378326daf7 (patch) | |
tree | 2a46895f22afbc2c7e3bc61f7898ff2404d547f9 /src/table | |
parent | 2f80a277eb88271f2f0534b85bb3fbe97b036e12 (diff) | |
download | openttd-b45ced35eea5caed622fd93f460d90378326daf7.tar.xz |
(svn r14160) -Codechange: Move _railtype_cost_multipliers into the rail type information struct.
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 3a5467cb0..037014541 100644 --- a/src/table/railtypes.h +++ b/src/table/railtypes.h @@ -70,6 +70,9 @@ static const RailtypeInfo _original_railtypes[] = { /* flags */ RTFB_NONE, + + /* cost multiplier */ + 8, }, /** Electrified railway */ @@ -136,6 +139,9 @@ static const RailtypeInfo _original_railtypes[] = { /* flags */ RTFB_CATENARY, + + /* cost multiplier */ + 12, }, /** Monorail */ @@ -198,6 +204,9 @@ static const RailtypeInfo _original_railtypes[] = { /* flags */ RTFB_NONE, + + /* cost multiplier */ + 16, }, /** Maglev */ @@ -260,6 +269,9 @@ static const RailtypeInfo _original_railtypes[] = { /* flags */ RTFB_NONE, + + /* cost multiplier */ + 24, }, }; |