|
OpenTTD Source 15.0-beta1
|
Statistics about the economy. More...
#include <company_base.h>
Data Fields | |
| Money | income |
| The amount of income. | |
| Money | expenses |
| The amount of expenses. | |
| CargoArray | delivered_cargo {} |
| The amount of delivered cargo. | |
| int32_t | performance_history |
| Company score (scale 0-1000) | |
| Money | company_value |
| The value of the company. | |
Statistics about the economy.
Definition at line 24 of file company_base.h.
| Money CompanyEconomyEntry::company_value |
The value of the company.
Definition at line 29 of file company_base.h.
Referenced by UpdateCompanyRatingAndValue().
| CargoArray CompanyEconomyEntry::delivered_cargo {} |
The amount of delivered cargo.
Definition at line 27 of file company_base.h.
Referenced by DeliverGoods(), and UpdateCompanyRatingAndValue().
| Money CompanyEconomyEntry::expenses |
The amount of expenses.
Definition at line 26 of file company_base.h.
Referenced by CalculateHostileTakeoverValue(), SubtractMoneyFromAnyCompany(), and UpdateCompanyRatingAndValue().
| Money CompanyEconomyEntry::income |
The amount of income.
Definition at line 25 of file company_base.h.
Referenced by CalculateHostileTakeoverValue(), SubtractMoneyFromAnyCompany(), and UpdateCompanyRatingAndValue().
| int32_t CompanyEconomyEntry::performance_history |
Company score (scale 0-1000)
Definition at line 28 of file company_base.h.
Referenced by PerformanceLeagueWindow::DrawWidget(), HandleBankruptcyTakeover(), HighScoreSorter(), EndGameWindow::OnPaint(), SaveHighScoreValue(), SaveHighScoreValueNetwork(), and UpdateCompanyRatingAndValue().