OpenTTD Source  20240919-master-gdf0233f4c2
ai_gui.cpp File Reference
#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 NWidgetPart _nested_ai_config_widgets []
 Widgets for the configure AI window.
 
static WindowDesc _ai_config_desc (WDP_CENTER, nullptr, 0, 0, WC_GAME_OPTIONS, WC_NONE, 0, _nested_ai_config_widgets)
 Window definition for the configure AI window.
 

Detailed Description

Window for configuring the AIs

Definition in file ai_gui.cpp.