summaryrefslogtreecommitdiff
path: root/vehicle.h
diff options
context:
space:
mode:
authorhackykid <hackykid@openttd.org>2005-06-06 00:19:24 +0000
committerhackykid <hackykid@openttd.org>2005-06-06 00:19:24 +0000
commit1018d3b78670be09d0d6ffbb2633b715c0203146 (patch)
tree953354be89e9773360834c65363da6c96c051d79 /vehicle.h
parent09aadafda1dfb08780fade5a52289a0742f84674 (diff)
downloadopenttd-1018d3b78670be09d0d6ffbb2633b715c0203146.tar.xz
(svn r2414) - Feature: [newgrf] Implement powered wagons, and the callback that goes with it.
Diffstat (limited to 'vehicle.h')
-rw-r--r--vehicle.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vehicle.h b/vehicle.h
index 96a4d22df..498cae52e 100644
--- a/vehicle.h
+++ b/vehicle.h
@@ -74,6 +74,9 @@ enum {
// used to calculate if train is going up or down
VRF_GOINGUP = 1,
VRF_GOINGDOWN = 2,
+
+ // used to store if a wagon is powered or not
+ VRF_POWEREDWAGON = 3,
};
typedef struct VehicleAir {