Public Member Functions | |
| uint32 | GetRailTotal () const |
| Get total sum of all owned track bits. | |
Data Fields | |
| uint32 | road [ROADTYPE_END] |
| Count of company owned track bits for each road type. | |
| uint32 | signal |
| Count of company owned signals. | |
| uint32 | rail [RAILTYPE_END] |
| Count of company owned track bits for each rail type. | |
| uint32 | water |
| Count of company owned track bits for canals. | |
| uint32 | station |
| Count of company owned station tiles. | |
| uint32 | airport |
| Count of company owned airports. | |
Definition at line 31 of file company_base.h.
| uint32 CompanyInfrastructure::GetRailTotal | ( | ) | const [inline] |
Get total sum of all owned track bits.
Definition at line 40 of file company_base.h.
References rail, and RAILTYPE_BEGIN.
Referenced by CompaniesGenStatistics(), CompanyInfrastructureWindow::DrawWidget(), CompanyInfrastructureWindow::GetTotalMaintenanceCost(), and CompanyInfrastructureWindow::UpdateWidgetSize().
1.7.1