summaryrefslogtreecommitdiff
path: root/src/economy_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/economy_type.h')
-rw-r--r--src/economy_type.h17
1 files changed, 17 insertions, 0 deletions
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;