src/vehicle.h
changeset 7582 9f23c01ae23d
parent 7562 f6f62814907b
child 7592 48055c5dd43d
--- a/src/vehicle.h	Wed Jun 27 10:02:55 2007 +0000
+++ b/src/vehicle.h	Wed Jun 27 14:15:48 2007 +0000
@@ -77,6 +77,7 @@
 	VEH_END,
 	VEH_INVALID = 0xFF,
 };
+DECLARE_POSTFIX_INCREMENT(VehicleType);
 template <> struct EnumPropsT<VehicleType> : MakeEnumPropsT<VehicleType, byte, VEH_TRAIN, VEH_END, VEH_INVALID> {};
 typedef TinyEnumT<VehicleType> VehicleTypeByte;
 
@@ -569,6 +570,7 @@
 void InvalidateAutoreplaceWindow(EngineID e);
 
 CommandCost MaybeReplaceVehicle(Vehicle *v, bool check, bool display_costs);
+bool CanBuildVehicleInfrastructure(VehicleType type);
 
 /* Flags to add to p2 for goto depot commands */
 /* Note: bits 8-10 are used for VLW flags */