|
@@ -246,14 +246,15 @@ public:
|
|
|
CargoID cargo_type; // type of cargo this vehicle is carrying
|
|
|
uint16 cargo_cap; // total capacity
|
|
|
byte cargo_subtype; ///< Used for livery refits (NewGRF variations)
|
|
|
CargoList cargo; ///< The cargo this vehicle is carrying
|
|
|
|
|
|
|
|
|
byte day_counter; // increased by one for each day
|
|
|
byte tick_counter; // increased by one for each tick
|
|
|
byte day_counter; ///< Increased by one for each day
|
|
|
byte tick_counter; ///< Increased by one for each tick
|
|
|
byte running_ticks; ///< Number of ticks this vehicle was not stopped this day
|
|
|
|
|
|
/* Begin Order-stuff */
|
|
|
Order current_order; ///< The current order (+ status, like: loading)
|
|
|
VehicleOrderID cur_order_index; ///< The index to the current order
|
|
|
|
|
|
Order *orders; ///< Pointer to the first order for this vehicle
|
|
@@ -288,14 +289,14 @@ public:
|
|
|
|
|
|
bool leave_depot_instantly; // NOSAVE: stores if the vehicle needs to leave the depot it just entered. Used by autoreplace
|
|
|
|
|
|
uint16 load_unload_time_rem;
|
|
|
byte vehicle_flags; // Used for gradual loading and other miscellaneous things (@see VehicleFlags enum)
|
|
|
|
|
|
Money profit_this_year;
|
|
|
Money profit_last_year;
|
|
|
Money profit_this_year; ///< Profit this year << 8, low 8 bits are fract
|
|
|
Money profit_last_year; ///< Profit last year << 8, low 8 bits are fract
|
|
|
Money value;
|
|
|
|
|
|
GroupID group_id; ///< Index of group Pool array
|
|
|
|
|
|
/* Used for timetabling. */
|
|
|
uint32 current_order_time; ///< How many ticks have passed since this order started.
|