equal
deleted
inserted
replaced
113 |
113 |
114 /* NOSAVE: for wagon override - id of the first engine in train |
114 /* NOSAVE: for wagon override - id of the first engine in train |
115 * 0xffff == not in train */ |
115 * 0xffff == not in train */ |
116 EngineID first_engine; |
116 EngineID first_engine; |
117 |
117 |
118 byte flags; |
118 uint16 flags; |
119 TrackBitsByte track; |
119 TrackBitsByte track; |
120 byte force_proceed; |
120 byte force_proceed; |
121 RailTypeByte railtype; |
121 RailTypeByte railtype; |
122 RailTypes compatible_railtypes; |
122 RailTypes compatible_railtypes; |
123 }; |
123 }; |
141 /* used to mark that electric train engine is allowed to run on normal rail */ |
141 /* used to mark that electric train engine is allowed to run on normal rail */ |
142 VRF_EL_ENGINE_ALLOWED_NORMAL_RAIL = 6, |
142 VRF_EL_ENGINE_ALLOWED_NORMAL_RAIL = 6, |
143 |
143 |
144 /* used for vehicle var 0xFE bit 8 (toggled each time the train is reversed, accurate for first vehicle only) */ |
144 /* used for vehicle var 0xFE bit 8 (toggled each time the train is reversed, accurate for first vehicle only) */ |
145 VRF_TOGGLE_REVERSE = 7, |
145 VRF_TOGGLE_REVERSE = 7, |
|
146 |
|
147 /* used to mark a train that can't get a path reservation */ |
|
148 VRF_TRAIN_STUCK = 8, |
146 }; |
149 }; |
147 |
150 |
148 struct VehicleAir { |
151 struct VehicleAir { |
149 uint16 crashed_counter; |
152 uint16 crashed_counter; |
150 uint16 cached_max_speed; |
153 uint16 cached_max_speed; |