Cheat: Add cheats to set inflation income and cost factors

See: #124
This commit is contained in:
Jonathan G Rennison
2020-04-18 10:52:08 +01:00
parent 3e7618f519
commit 1506479f56
5 changed files with 91 additions and 10 deletions

View File

@@ -38,6 +38,8 @@ struct Cheats {
};
struct ExtraCheats {
Cheat inflation_cost; ///< inflation cost factor
Cheat inflation_income; ///< inflation income factor
};
/** Available cheats. */
@@ -50,6 +52,8 @@ enum CheatNumbers {
CHT_SETUP_PROD, ///< Allow manually editing of industry production.
CHT_EDIT_MAX_HL, ///< Edit maximum allowed heightlevel
CHT_CHANGE_DATE, ///< Do time traveling.
CHT_INFLATION_COST, ///< Change inflation cost factor
CHT_INFLATION_INCOME,///< Change inflation income factor
CHT_NUM_CHEATS, ///< Number of cheats.
};