Group Struct Reference

Inheritance diagram for Group:
Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tcache, Tzero >::PoolItem<&_group_pool >

Public Member Functions

 Group (CompanyID owner=INVALID_COMPANY)

Data Fields

char * name
 Group Name.
uint16 num_vehicle
 Number of vehicles wich belong to the group.
OwnerByte owner
 Group Owner.
VehicleTypeByte vehicle_type
 Vehicle type of the group.
bool replace_protection
 If set to true, the global autoreplace have no effect on the group.
uint16 * num_engines
 Caches the number of engines of each type the company owns (no need to save this).

Detailed Description

Definition at line 24 of file group.h.


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

Generated on Wed Mar 31 22:44:06 2010 for OpenTTD by  doxygen 1.6.1