Fix crash when setting separation mode for vehicles with no orders list.
[openttd-joker.git] / src / ai / ai_gui.hpp
blobad6eed8fd1e864b4675f563f81e9fa033291f893
1 /* $Id$ */
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 */
10 /** @file ai_gui.hpp %Window for configuring the AIs */
12 #ifndef AI_GUI_HPP
13 #define AI_GUI_HPP
15 #include "../company_type.h"
17 Window* ShowAIDebugWindow(CompanyID show_company = INVALID_COMPANY);
18 void ShowAIConfigWindow();
19 void ShowAIDebugWindowIfAIError();
20 void InitializeAIGui();
22 #endif /* AI_GUI_HPP */