OpenTTD Source  1.11.2
ai_gui.hpp
Go to the documentation of this file.
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  */
7 
10 #ifndef AI_GUI_HPP
11 #define AI_GUI_HPP
12 
13 #include "../company_type.h"
14 
16 void ShowAIConfigWindow();
18 void InitializeAIGui();
19 
20 #endif /* AI_GUI_HPP */
ShowAIDebugWindowIfAIError
void ShowAIDebugWindowIfAIError()
Open the AI debug window if one of the AI scripts has crashed.
Definition: ai_gui.cpp:1558
Owner
Owner
Enum for all companies/owners.
Definition: company_type.h:18
InitializeAIGui
void InitializeAIGui()
Reset the AI windows to their initial state.
Definition: ai_gui.cpp:1552
ShowAIDebugWindow
Window * ShowAIDebugWindow(CompanyID show_company=INVALID_COMPANY)
Open the AI debug window and select the given company.
Definition: ai_gui.cpp:1535
INVALID_COMPANY
@ INVALID_COMPANY
An invalid company.
Definition: company_type.h:30
Window
Data structure for an opened window.
Definition: window_gui.h:277
ShowAIConfigWindow
void ShowAIConfigWindow()
Open the AI config window.
Definition: ai_gui.cpp:971