Cheats: Enable setting magic bulldozer, tunnels and jet crashes in multiplayer
This commit is contained in:
@@ -37,6 +37,20 @@ struct Cheats {
|
||||
Cheat edit_max_hl; ///< edit the maximum heightlevel; this is a cheat because of the fact that it needs to reset NewGRF game state and doing so as a simple configuration breaks the expectation of many
|
||||
};
|
||||
|
||||
/** Available cheats. */
|
||||
enum CheatNumbers {
|
||||
CHT_MONEY, ///< Change amount of money.
|
||||
CHT_CHANGE_COMPANY, ///< Switch company.
|
||||
CHT_EXTRA_DYNAMITE, ///< Dynamite anything.
|
||||
CHT_CROSSINGTUNNELS, ///< Allow tunnels to cross each other.
|
||||
CHT_NO_JETCRASH, ///< Disable jet-airplane crashes.
|
||||
CHT_SETUP_PROD, ///< Allow manually editing of industry production.
|
||||
CHT_EDIT_MAX_HL, ///< Edit maximum allowed heightlevel
|
||||
CHT_CHANGE_DATE, ///< Do time traveling.
|
||||
|
||||
CHT_NUM_CHEATS, ///< Number of cheats.
|
||||
};
|
||||
|
||||
extern Cheats _cheats;
|
||||
|
||||
#endif /* CHEAT_TYPE_H */
|
||||
|
Reference in New Issue
Block a user