summaryrefslogtreecommitdiff
path: root/src/settings_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings_type.h')
-rw-r--r--src/settings_type.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/settings_type.h b/src/settings_type.h
index 4c24887e5..c5ee6f125 100644
--- a/src/settings_type.h
+++ b/src/settings_type.h
@@ -19,11 +19,23 @@
#include "company_type.h"
#include "openttd.h"
+/** Available industry map generation densities. */
+enum IndustryDensity {
+ ID_FUND_ONLY, ///< The game does not build industries.
+ ID_MINIMAL, ///< Start with just the industries that must be present.
+ ID_VERY_LOW, ///< Very few industries at game start.
+ ID_LOW, ///< Few industries at game start.
+ ID_NORMAL, ///< Normal amount of industries at game start.
+ ID_HIGH, ///< Many industries at game start.
+
+ ID_END, ///< Number of industry density settings.
+};
+
/** Settings related to the difficulty of the game */
struct DifficultySettings {
byte max_no_competitors; ///< the number of competitors (AIs)
byte number_towns; ///< the amount of towns
- byte number_industries; ///< the amount of industries
+ byte number_industries; ///< The industry density. @see IndustryDensity
uint32 max_loan; ///< the maximum initial loan
byte initial_interest; ///< amount of interest (to pay over the loan)
byte vehicle_costs; ///< amount of money spent on vehicle running cost