OpenTTD Source  1.11.0-beta1
GUIVehicleGroup Struct Reference

Public Member Functions

 GUIVehicleGroup (VehicleList::const_iterator vehicles_begin, VehicleList::const_iterator vehicles_end, Money display_profit_this_year, Money display_profit_last_year, Date age)
 
std::ptrdiff_t NumVehicles () const
 
const VehicleGetSingleVehicle () const
 

Data Fields

VehicleList::const_iterator vehicles_begin
 Pointer to beginning element of this vehicle group.
 
VehicleList::const_iterator vehicles_end
 Pointer to past-the-end element of this vehicle group.
 
Money display_profit_this_year
 Total profit for the vehicle group this year.
 
Money display_profit_last_year
 Total profit for the vehicle group laste year.
 
Date age
 Age in days of oldest vehicle in the group.
 

Detailed Description

Definition at line 25 of file vehicle_gui_base.h.


The documentation for this struct was generated from the following file: