summaryrefslogtreecommitdiff
path: root/train.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-11-27 23:11:56 +0000
committerpeter1138 <peter1138@openttd.org>2006-11-27 23:11:56 +0000
commit470c383738d84b9e2e1e202fec2633d10f6e1712 (patch)
treee4b1dd8ccb2c63d47646c0471b322b9ea585313a /train.h
parent45e7e61aa969764dc71ab1bbc574655e07a346a4 (diff)
downloadopenttd-470c383738d84b9e2e1e202fec2633d10f6e1712.tar.xz
(svn r7269) -Feature: Add freight trains patch option. This option is a multiplier for the weight of cargo on freight trains, to simulate longer heavier trains. The default value of 1 behaves as before.
Diffstat (limited to 'train.h')
-rw-r--r--train.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/train.h b/train.h
index 7e1b38239..318552656 100644
--- a/train.h
+++ b/train.h
@@ -222,4 +222,6 @@ uint CountArticulatedParts(EngineID engine_type);
int CheckTrainInDepot(const Vehicle *v, bool needs_to_be_stopped);
void CcCloneTrain(bool success, TileIndex tile, uint32 p1, uint32 p2);
+byte FreightWagonMult(const Vehicle *v);
+
#endif /* TRAIN_H */