summaryrefslogtreecommitdiff
path: root/vehicle.h
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2006-03-29 16:30:26 +0000
committercelestar <celestar@openttd.org>2006-03-29 16:30:26 +0000
commita7d8ad0004e00e1d917d636f4d69fd58f5edbfa3 (patch)
treec1903bfd394f761768fa9d907c58a76229e1b2f8 /vehicle.h
parent9c96bcb9975c4f9e197cebf0562f81de5be99b5b (diff)
downloadopenttd-a7d8ad0004e00e1d917d636f4d69fd58f5edbfa3.tar.xz
(svn r4150) -Feature: Merged elrails into trunk. Thanks to Tron for lots of code and proofreading, thanks to peter1138 for another lot of code and ideas.
Diffstat (limited to 'vehicle.h')
-rw-r--r--vehicle.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vehicle.h b/vehicle.h
index d63e6b5f5..87d279449 100644
--- a/vehicle.h
+++ b/vehicle.h
@@ -72,6 +72,7 @@ typedef struct VehicleRail {
byte track;
byte force_proceed;
byte railtype;
+ RailTypeMask compatible_railtypes;
byte flags;
@@ -307,6 +308,7 @@ UnitID GetFreeUnitNumber(byte type);
int LoadUnloadVehicle(Vehicle *v);
void TrainConsistChanged(Vehicle *v);
+void TrainPowerChanged(Vehicle *v);
int32 GetTrainRunningCost(const Vehicle *v);
int CheckTrainStoppedInDepot(const Vehicle *v);