Codefix: Sprite offsets and counts are not SpriteIDs. (#13336)
[openttd-github.git] / src / script / script_gui.h
blob807557ac6925685b7f9bfa126e3875ad781fdb3a
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 /** @file script_gui.hpp %Window for configuring the scripts */
10 #ifndef SCRIPT_GUI_HPP
11 #define SCRIPT_GUI_HPP
13 #include "../company_type.h"
14 #include "../textfile_type.h"
16 void ShowScriptListWindow(CompanyID slot, bool show_all);
17 Window *ShowScriptDebugWindow(CompanyID show_company = INVALID_COMPANY, bool new_window = false);
18 void ShowScriptSettingsWindow(CompanyID slot);
19 void ShowScriptTextfileWindow(TextfileType file_type, CompanyID slot);
20 void ShowScriptDebugWindowIfScriptError();
21 void InitializeScriptGui();
23 #endif /* SCRIPT_GUI_HPP */