OpenTTD Source  20240919-master-gdf0233f4c2
Economy Struct Reference

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.
 

Detailed Description

Data of the economy.

Definition at line 43 of file economy_type.h.


The documentation for this struct was generated from the following file: