summaryrefslogtreecommitdiff
path: root/vehicle.h
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2006-04-03 14:25:32 +0000
committercelestar <celestar@openttd.org>2006-04-03 14:25:32 +0000
commit5931b34aff7f774ec2a591e5658d25706fe01066 (patch)
tree93820da9b941ae74b1d1ae37cd47bc46b37c3434 /vehicle.h
parent961b44e697111245a43d3aa98d606e15fe97ad5d (diff)
downloadopenttd-5931b34aff7f774ec2a591e5658d25706fe01066.tar.xz
(svn r4259) -[multistop] Fix/Feature/Codechange:
1) Improved the road vehicle allocation (aka slotting) for multistop. Stops can now accept unlimited, er... 256, vehicles. 2) Removed the "wait for stop" feature, because it did not work in practise. 3) Slotting now ignores unreachable stations. Uses NPF at the moment because the old pathfinder cannot do it (yet) 4) Now matter how many vehicles approach a station, they will always be distributed evenly over existing stops. 5) Hopefully the last fundamental change to multistop
Diffstat (limited to 'vehicle.h')
-rw-r--r--vehicle.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/vehicle.h b/vehicle.h
index 87d279449..b82319e63 100644
--- a/vehicle.h
+++ b/vehicle.h
@@ -24,7 +24,6 @@ enum VehStatus {
VS_TRAIN_SLOWING = 0x10,
VS_DISASTER = 0x20,
VS_AIRCRAFT_BROKEN = 0x40,
- VS_WAIT_FOR_SLOT = 0x40,
VS_CRASHED = 0x80,
};
@@ -111,7 +110,6 @@ typedef struct VehicleRoad {
uint16 crashed_ctr;
byte reverse_ctr;
struct RoadStop *slot;
- byte slotindex;
byte slot_age;
} VehicleRoad;