From a6cbf0d419569989d54f6df37232e9e771acafa8 Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 2 Aug 2009 12:34:26 +0000 Subject: (svn r17036) -Codechange: Split price bases from economy.cpp to table/pricebase.h. --- src/economy_type.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/economy_type.h') diff --git a/src/economy_type.h b/src/economy_type.h index c5ae9a0d9..48988bb46 100644 --- a/src/economy_type.h +++ b/src/economy_type.h @@ -122,6 +122,23 @@ enum ExpensesType { INVALID_EXPENSES = 0xFF, }; +/** + * Categories of a price bases. + */ +enum PriceCategory { + PC_NONE, ///< No category + PC_RUNNING, ///< Price is affected by "vehicle running cost" difficulty setting + PC_CONSTRUCTION, ///< Price is affected by "construction cost" difficulty setting +}; + +/** + * Describes properties of price bases. + */ +struct PriceBaseSpec { + Money start_price; ///< Default value at game start, before adding multipliers. + PriceCategory category; ///< Price is affected by certain difficulty settings. +}; + /** The "steps" in loan size, in British Pounds! */ static const int LOAN_INTERVAL = 10000; -- cgit v1.2.3-54-g00ecf