Change: Let AI developers edit non-editable AI/Game Script Parameters (#8895)
[openttd-github.git] / src / settings_table.h
blobd662b6a576e34b8fb362de8b4c5e602df2b05dbe
1 /*
2 * This file is part of OpenTTD.
3 * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
4 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
5 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
6 */
8 /**
9 * @file settings_table.h Definition of the configuration tables of the settings.
12 #ifndef SETTINGS_TABLE_H
13 #define SETTINGS_TABLE_H
15 #include <array>
16 #include "settings_internal.h"
18 extern SettingTable _company_settings;
19 extern SettingTable _currency_settings;
20 extern SettingTable _difficulty_settings;
21 extern SettingTable _economy_settings;
22 extern SettingTable _game_settings;
23 extern SettingTable _gui_settings;
24 extern SettingTable _linkgraph_settings;
25 extern SettingTable _locale_settings;
26 extern SettingTable _misc_settings;
27 extern SettingTable _multimedia_settings;
28 extern SettingTable _network_private_settings;
29 extern SettingTable _network_secrets_settings;
30 extern SettingTable _network_settings;
31 extern SettingTable _news_display_settings;
32 extern SettingTable _old_gameopt_settings;
33 extern SettingTable _pathfinding_settings;
34 extern SettingTable _script_settings;
35 extern SettingTable _window_settings;
36 extern SettingTable _world_settings;
37 #if defined(_WIN32) && !defined(DEDICATED)
38 extern SettingTable _win32_settings;
39 #endif /* _WIN32 */
41 static const uint GAME_DIFFICULTY_NUM = 18;
42 extern const std::array<std::string, GAME_DIFFICULTY_NUM> _old_diff_settings;
43 extern uint16 _old_diff_custom[GAME_DIFFICULTY_NUM];
45 #endif /* SETTINGS_TABLE_H */