(svn r17036) -Codechange: Split price bases from economy.cpp to table/pricebase.h.

This commit is contained in:
frosch
2009-08-02 12:34:26 +00:00
parent f554d21349
commit 8b50754b19
6 changed files with 107 additions and 70 deletions

View File

@@ -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;