OpenTTD
ai_gui.hpp
Go to the documentation of this file.
1 /* $Id: ai_gui.hpp 24554 2012-09-23 14:37:59Z zuu $ */
2 
3 /*
4  * This file is part of OpenTTD.
5  * 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.
6  * 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.
7  * 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/>.
8  */
9 
12 #ifndef AI_GUI_HPP
13 #define AI_GUI_HPP
14 
15 #include "../company_type.h"
16 
18 void ShowAIConfigWindow();
20 void InitializeAIGui();
21 
22 #endif /* AI_GUI_HPP */
void ShowAIDebugWindowIfAIError()
Open the AI debug window if one of the AI scripts has crashed.
Definition: ai_gui.cpp:1546
void ShowAIConfigWindow()
Open the AI config window.
Definition: ai_gui.cpp:958
Data structure for an opened window.
Definition: window_gui.h:271
Window * ShowAIDebugWindow(CompanyID show_company=INVALID_COMPANY)
Open the AI debug window and select the given company.
Definition: ai_gui.cpp:1523
Owner
Enum for all companies/owners.
Definition: company_type.h:20
An invalid company.
Definition: company_type.h:32
void InitializeAIGui()
Reset the AI windows to their initial state.
Definition: ai_gui.cpp:1540