OpenTTD Source 20241224-master-gf74b0cf984
|
Information about the valid values of CompanyManagerFace bitgroups as well as the sprites to draw. More...
#include <company_manager_face.h>
Data Fields | |
uint8_t | offset |
Offset in bits into the CompanyManagerFace. | |
uint8_t | length |
Number of bits used in the CompanyManagerFace. | |
uint8_t | valid_values [GE_END] |
The number of valid values per gender/ethnicity. | |
SpriteID | first_sprite [GE_END] |
The first sprite per gender/ethnicity. | |
Information about the valid values of CompanyManagerFace bitgroups as well as the sprites to draw.
Definition at line 56 of file company_manager_face.h.
SpriteID CompanyManagerFaceBitsInfo::first_sprite[GE_END] |
The first sprite per gender/ethnicity.
Definition at line 60 of file company_manager_face.h.
Referenced by GetCompanyManagerFaceSprite().
uint8_t CompanyManagerFaceBitsInfo::length |
Number of bits used in the CompanyManagerFace.
Definition at line 58 of file company_manager_face.h.
Referenced by ScaleCompanyManagerFaceValue().
uint8_t CompanyManagerFaceBitsInfo::offset |
Offset in bits into the CompanyManagerFace.
Definition at line 57 of file company_manager_face.h.
uint8_t CompanyManagerFaceBitsInfo::valid_values[GE_END] |
The number of valid values per gender/ethnicity.
Definition at line 59 of file company_manager_face.h.
Referenced by AreCompanyManagerFaceBitsValid(), IncreaseCompanyManagerFaceBits(), and SelectCompanyManagerFaceWindow::OnPaint().