equal
deleted
inserted
replaced
337 GroupID group_id; ///< Index of group Pool array |
337 GroupID group_id; ///< Index of group Pool array |
338 |
338 |
339 /* Used for timetabling. */ |
339 /* Used for timetabling. */ |
340 uint32 current_order_time; ///< How many ticks have passed since this order started. |
340 uint32 current_order_time; ///< How many ticks have passed since this order started. |
341 int32 lateness_counter; ///< How many ticks late (or early if negative) this vehicle is. |
341 int32 lateness_counter; ///< How many ticks late (or early if negative) this vehicle is. |
|
342 |
|
343 SpriteID colormap; // NOSAVE: cached color mapping |
342 |
344 |
343 union { |
345 union { |
344 VehicleRail rail; |
346 VehicleRail rail; |
345 VehicleAir air; |
347 VehicleAir air; |
346 VehicleRoad road; |
348 VehicleRoad road; |
586 uint8 CalcPercentVehicleFilled(Vehicle *v, StringID *color); |
588 uint8 CalcPercentVehicleFilled(Vehicle *v, StringID *color); |
587 |
589 |
588 void InitializeTrains(); |
590 void InitializeTrains(); |
589 byte VehicleRandomBits(); |
591 byte VehicleRandomBits(); |
590 void ResetVehiclePosHash(); |
592 void ResetVehiclePosHash(); |
|
593 void ResetVehicleColorMap(); |
591 |
594 |
592 bool CanRefitTo(EngineID engine_type, CargoID cid_to); |
595 bool CanRefitTo(EngineID engine_type, CargoID cid_to); |
593 CargoID FindFirstRefittableCargo(EngineID engine_type); |
596 CargoID FindFirstRefittableCargo(EngineID engine_type); |
594 CommandCost GetRefitCost(EngineID engine_type); |
597 CommandCost GetRefitCost(EngineID engine_type); |
595 |
598 |