Group Struct Reference

Group data. More...

#include <group.h>

Inheritance diagram for Group:
Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, 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 in 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

Group data.

Definition at line 25 of file group.h.


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

Generated on Fri May 27 04:20:45 2011 for OpenTTD by  doxygen 1.6.1