(svn r13950) -Add [YAPP]: Trains can now also be in a 'stuck' state when waiting on a path reservation. (michi_cc)

This commit is contained in:
rubidium
2008-08-02 22:53:21 +00:00
parent 0dfaa88c1e
commit e9c33fb288
5 changed files with 38 additions and 7 deletions

View File

@@ -115,7 +115,7 @@ struct VehicleRail {
* 0xffff == not in train */
EngineID first_engine;
byte flags;
uint16 flags;
TrackBitsByte track;
byte force_proceed;
RailTypeByte railtype;
@@ -143,6 +143,9 @@ enum VehicleRailFlags {
/* used for vehicle var 0xFE bit 8 (toggled each time the train is reversed, accurate for first vehicle only) */
VRF_TOGGLE_REVERSE = 7,
/* used to mark a train that can't get a path reservation */
VRF_TRAIN_STUCK = 8,
};
struct VehicleAir {