OpenTTD Source 20241224-master-gf74b0cf984
PriceBaseSpec Struct Reference

Describes properties of price bases. More...

#include <economy_type.h>

Data Fields

Money start_price
 Default value at game start, before adding multipliers.
 
PriceCategory category
 Price is affected by certain difficulty settings.
 
uint grf_feature
 GRF Feature that decides whether price multipliers apply locally or globally, GSF_END if none.
 
Price fallback_price
 Fallback price multiplier for new prices but old grfs.
 

Detailed Description

Describes properties of price bases.

Definition at line 207 of file economy_type.h.

Field Documentation

◆ category

PriceCategory PriceBaseSpec::category

Price is affected by certain difficulty settings.

Definition at line 209 of file economy_type.h.

◆ fallback_price

Price PriceBaseSpec::fallback_price

Fallback price multiplier for new prices but old grfs.

Definition at line 211 of file economy_type.h.

Referenced by FinalisePriceBaseMultipliers().

◆ grf_feature

uint PriceBaseSpec::grf_feature

GRF Feature that decides whether price multipliers apply locally or globally, GSF_END if none.

Definition at line 210 of file economy_type.h.

Referenced by FinalisePriceBaseMultipliers().

◆ start_price

Money PriceBaseSpec::start_price

Default value at game start, before adding multipliers.

Definition at line 208 of file economy_type.h.

Referenced by RecomputePrices().


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