src/group.h
changeset 8660 4e60d8c80ba3
parent 8258 9fa31acb07bc
child 8680 f69035cb5edf
equal deleted inserted replaced
8659:807ca8fc0c6e 8660:4e60d8c80ba3
    21 
    21 
    22 struct Group : PoolItem<Group, GroupID, &_Group_pool> {
    22 struct Group : PoolItem<Group, GroupID, &_Group_pool> {
    23 	char *name;                             ///< Group Name
    23 	char *name;                             ///< Group Name
    24 
    24 
    25 	uint16 num_vehicle;                     ///< Number of vehicles wich belong to the group
    25 	uint16 num_vehicle;                     ///< Number of vehicles wich belong to the group
    26 	PlayerID owner;                         ///< Group Owner
    26 	PlayerByte owner;                       ///< Group Owner
    27 	VehicleTypeByte vehicle_type;           ///< Vehicle type of the group
    27 	VehicleTypeByte vehicle_type;           ///< Vehicle type of the group
    28 
    28 
    29 	bool replace_protection;                ///< If set to true, the global autoreplace have no effect on the group
    29 	bool replace_protection;                ///< If set to true, the global autoreplace have no effect on the group
    30 	uint16 num_engines[TOTAL_NUM_ENGINES];  ///< Caches the number of engines of each type the player owns (no need to save this)
    30 	uint16 num_engines[TOTAL_NUM_ENGINES];  ///< Caches the number of engines of each type the player owns (no need to save this)
    31 
    31