equal
deleted
inserted
replaced
106 }; |
106 }; |
107 |
107 |
108 struct VehicleRail { |
108 struct VehicleRail { |
109 uint16 last_speed; // NOSAVE: only used in UI |
109 uint16 last_speed; // NOSAVE: only used in UI |
110 uint16 crash_anim_pos; |
110 uint16 crash_anim_pos; |
111 uint16 days_since_order_progr; |
|
112 |
111 |
113 /* cached values, recalculated on load and each time a vehicle is added to/removed from the consist. */ |
112 /* cached values, recalculated on load and each time a vehicle is added to/removed from the consist. */ |
114 uint16 cached_max_speed; // max speed of the consist. (minimum of the max speed of all vehicles in the consist) |
113 uint16 cached_max_speed; // max speed of the consist. (minimum of the max speed of all vehicles in the consist) |
115 uint32 cached_power; // total power of the consist. |
114 uint32 cached_power; // total power of the consist. |
116 uint8 cached_veh_length; // length of this vehicle in units of 1/8 of normal length, cached because this can be set by a callback |
115 uint8 cached_veh_length; // length of this vehicle in units of 1/8 of normal length, cached because this can be set by a callback |