|
OpenTTD Source 20251116-master-g21329071df
|
Window for configuring the AIs More...
#include "../stdafx.h"#include "../error.h"#include "../company_base.h"#include "../window_func.h"#include "../network/network.h"#include "../settings_func.h"#include "../network/network_content.h"#include "../core/geometry_func.hpp"#include "ai.hpp"#include "ai_gui.hpp"#include "ai_config.hpp"#include "ai_info.hpp"#include "../script/script_gui.h"#include "table/strings.h"#include "../safeguards.h"Go to the source code of this file.
Data Structures | |
| struct | AIConfigWindow |
| Window to configure which AIs will start. More... | |
Functions | |
| void | ShowAIConfigWindow () |
| Open the AI config window. | |
Variables | |
| static constexpr std::initializer_list< NWidgetPart > | _nested_ai_config_widgets |
| Widgets for the configure AI window. | |
| static WindowDesc | _ai_config_desc (WDP_CENTER, {}, 0, 0, WC_GAME_OPTIONS, WC_NONE, {}, _nested_ai_config_widgets) |
| Window definition for the configure AI window. | |
Window for configuring the AIs
Definition in file ai_gui.cpp.
| void ShowAIConfigWindow | ( | ) |
Open the AI config window.
Definition at line 334 of file ai_gui.cpp.
References CloseWindowByClass(), and WC_GAME_OPTIONS.
Referenced by MenuClickSettings(), and GenerateLandscapeWindow::OnClick().
|
staticconstexpr |
Widgets for the configure AI window.
Definition at line 31 of file ai_gui.cpp.