summaryrefslogtreecommitdiff
path: root/src/settings_type.h
diff options
context:
space:
mode:
authorPavel Stupnikov <dp@dpointer.org>2020-12-15 01:35:07 +0300
committerGitHub <noreply@github.com>2020-12-14 23:35:07 +0100
commitc9fd85528a804060473364c54248149e96da0508 (patch)
tree0e37667e888e77d11ee51daa5a0c69e4d03e671e /src/settings_type.h
parent68f9925cd4c8b29dbdac301e86bd9fc6f5a7fb27 (diff)
downloadopenttd-c9fd85528a804060473364c54248149e96da0508.tar.xz
Add: new economy "frozen" that stops production changes and industry closures (#8282)
Diffstat (limited to 'src/settings_type.h')
-rw-r--r--src/settings_type.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/settings_type.h b/src/settings_type.h
index fdb2b0f86..2dbca59d8 100644
--- a/src/settings_type.h
+++ b/src/settings_type.h
@@ -11,6 +11,7 @@
#define SETTINGS_TYPE_H
#include "date_type.h"
+#include "economy_type.h"
#include "town_type.h"
#include "transport_type.h"
#include "network/core/config.h"
@@ -470,7 +471,7 @@ struct VehicleSettings {
struct EconomySettings {
bool inflation; ///< disable inflation
bool bribe; ///< enable bribing the local authority
- bool smooth_economy; ///< smooth economy
+ EconomyType type; ///< economy type (original/smooth/frozen)
bool allow_shares; ///< allow the buying/selling of shares
uint8 min_years_for_shares; ///< minimum age of a company for it to trade shares
uint8 feeder_payment_share; ///< percentage of leg payment to virtually pay in feeder systems