Add setting to show unlisted console commands

This commit is contained in:
Jonathan G Rennison
2020-08-13 18:57:42 +01:00
parent 61a0f98488
commit 8bf41a6f1d
3 changed files with 8 additions and 1 deletions

View File

@@ -221,6 +221,7 @@ struct GUISettings : public TimeSettings {
uint8 settings_restriction_mode; ///< selected restriction mode in adv. settings GUI. @see RestrictionMode
bool newgrf_show_old_versions; ///< whether to show old versions in the NewGRF list
uint8 newgrf_default_palette; ///< default palette to use for NewGRFs without action 14 palette information
bool console_show_unlisted; ///< whether to show unlisted console commands
/**
* Returns true when the user has sufficient privileges to edit newgrfs on a running game