StationFacilityfacilities;///< The facilities that this station has
TileIndexxy;///< Base tile of the station
TrackedViewportSignsign;///< NOSAVE: Dimensions of sign
bytedelete_ctr;///< Delete counter. If greater than 0 then it is decremented until it reaches 0; the waypoint is then is deleted.
mutablestd::stringcached_name;///< NOSAVE: Cache of the resolved name of the station, if not using a custom name
TinyStringname;///< Custom name
StringIDstring_id;///< Default name (town area) of station
mutablestd::stringcached_name;///< NOSAVE: Cache of the resolved name of the station, if not using a custom name
Datebuild_date;///< Date of construction
Town*town;///< The town this station is associated with
Ownerowner;///< The owner of this station
StationFacilityfacilities;///< The facilities that this station has
std::vector<StationSpecList>speclist;///< List of rail station specs of this station.
std::vector<RoadStopSpecList>roadstop_speclist;///< List of road stop specs of this station
Datebuild_date;///< Date of construction
uint16_trandom_bits;///< Random bits assigned to this station
bytewaiting_triggers;///< Waiting triggers (NewGRF) for this station
bytedelete_ctr;///< Delete counter. If greater than 0 then it is decremented until it reaches 0; the waypoint is then is deleted.
uint8_tcached_anim_triggers;///< NOSAVE: Combined animation trigger bitmask, used to determine if trigger processing should happen.
uint8_tcached_roadstop_anim_triggers;///< NOSAVE: Combined animation trigger bitmask for road stops, used to determine if trigger processing should happen.
TraceRestrictSlotTemporaryState*slot_temporary_state=nullptr;///< Slot temporary state, must be set when permitted_slot_operations includes TRPISP_ACQUIRE_TEMP_STATE
bytex_extent;///< x-extent of vehicle bounding box
@ -354,39 +360,41 @@ public:
int8_ty_bb_offs;///< y offset of vehicle bounding box
int8_tx_offs;///< x offset for vehicle sprite
int8_ty_offs;///< y offset for vehicle sprite
EngineIDengine_type;///< The type of engine used for this vehicle.
byteprogress;///< The percentage (if divided by 256) this vehicle already crossed the tile unit.
TextEffectIDfill_percent_te_id;///< a text-effect id to a loading indicator object
UnitIDunitnumber;///< unit number, for display purposes only
uint16_tload_unload_ticks;///< Ticks to wait before starting next cycle.
uint16_tcur_speed;///< current speed
bytesubspeed;///< fractional speed
byteacceleration;///< used by train & aircraft
uint32_tmotion_counter;///< counter to occasionally play a vehicle sound. (Also used as virtual train client ID).
byteprogress;///< The percentage (if divided by 256) this vehicle already crossed the tile unit.
uint16_trandom_bits;///< Bits used for randomized variational spritegroups.
bytewaiting_triggers;///< Triggers to be yet matched before rerandomizing the random bits.
bytecargo_subtype;///< Used for livery refits (NewGRF variations)
StationIDlast_station_visited;///< The last station we stopped at.
StationIDlast_loading_station;///< Last station the vehicle has stopped at and could possibly leave from with any cargo loaded. (See VF_LAST_LOAD_ST_SEP).
uint64_tlast_loading_tick;///< Last time (relative to _scaled_tick_counter) the vehicle has stopped at a station and could possibly leave with any cargo loaded. (See VF_LAST_LOAD_ST_SEP).
CargoIDcargo_type;///< type of cargo this vehicle is carrying
bytecargo_subtype;///< Used for livery refits (NewGRF variations)
VehicleCargoListcargo;///< The cargo this vehicle is carrying
uint16_tcargo_cap;///< total capacity
uint16_trefit_cap;///< Capacity left over from before last refit.
VehicleCargoListcargo;///< The cargo this vehicle is carrying
uint16_tcargo_age_counter;///< Ticks till cargo is aged next.
int8_ttrip_occupancy;///< NOSAVE: Occupancy of vehicle of the current trip (updated after leaving a station).
byteday_counter;///< Increased by one for each day
bytetick_counter;///< Increased by one for each tick