|
OpenTTD Source 20260206-master-g4d4e37dbf1
|
Data of the economy. More...
#include <economy_type.h>
Data Fields | |
| Money | max_loan |
| NOSAVE: Maximum possible loan. | |
| int16_t | fluct |
| Economy fluctuation status. | |
| uint8_t | interest_rate |
| Interest. | |
| uint8_t | infl_amount |
| inflation amount | |
| uint8_t | infl_amount_pr |
| inflation rate for payment rates | |
| uint32_t | industry_daily_change_counter |
| Bits 31-16 are number of industry to be performed, 15-0 are fractional collected daily. | |
| uint32_t | industry_daily_increment |
| The value which will increment industry_daily_change_counter. Computed value. NOSAVE. | |
| uint64_t | inflation_prices |
| Cumulated inflation of prices since game start; 16 bit fractional part. | |
| uint64_t | inflation_payment |
| Cumulated inflation of cargo payment since game start; 16 bit fractional part. | |
| Money | old_max_loan_unround |
| Old: Unrounded max loan. | |
| uint16_t | old_max_loan_unround_fract |
| Old: Fraction of the unrounded max loan. | |
Data of the economy.
Definition at line 44 of file economy_type.h.
| int16_t Economy::fluct |
Economy fluctuation status.
Definition at line 46 of file economy_type.h.
| uint32_t Economy::industry_daily_change_counter |
Bits 31-16 are number of industry to be performed, 15-0 are fractional collected daily.
Definition at line 50 of file economy_type.h.
| uint32_t Economy::industry_daily_increment |
The value which will increment industry_daily_change_counter. Computed value. NOSAVE.
Definition at line 51 of file economy_type.h.
| uint8_t Economy::infl_amount |
inflation amount
Definition at line 48 of file economy_type.h.
| uint8_t Economy::infl_amount_pr |
inflation rate for payment rates
Definition at line 49 of file economy_type.h.
| uint64_t Economy::inflation_payment |
Cumulated inflation of cargo payment since game start; 16 bit fractional part.
Definition at line 53 of file economy_type.h.
| uint64_t Economy::inflation_prices |
Cumulated inflation of prices since game start; 16 bit fractional part.
Definition at line 52 of file economy_type.h.
| uint8_t Economy::interest_rate |
Interest.
Definition at line 47 of file economy_type.h.
| Money Economy::max_loan |
NOSAVE: Maximum possible loan.
Definition at line 45 of file economy_type.h.
| Money Economy::old_max_loan_unround |
Old: Unrounded max loan.
Definition at line 56 of file economy_type.h.
| uint16_t Economy::old_max_loan_unround_fract |
Old: Fraction of the unrounded max loan.
Definition at line 57 of file economy_type.h.