|
OpenTTD Source 20260711-master-g3fb3006dff
|
#include "../stdafx.h"#include "../core/backup_type.hpp"#include "../core/bitmath_func.hpp"#include "../company_base.h"#include "../company_func.h"#include "../network/network.h"#include "../window_func.h"#include "../framerate_type.h"#include "ai_scanner.hpp"#include "ai_instance.hpp"#include "ai_config.hpp"#include "ai_info.hpp"#include "ai.hpp"#include "../safeguards.h"Go to the source code of this file.
Functions | |
| static constexpr PerformanceElement | GetAIPerformanceElement (CompanyID company) |
Get the PerformanceElement for the AI of the given company. | |
Implementation of AI.
Definition in file ai_core.cpp.
|
staticconstexpr |
Get the PerformanceElement for the AI of the given company.
| company | The company to get the PerformanceElement for. |
PerformanceElement. Definition at line 77 of file ai_core.cpp.
References AI0.
Referenced by AI::GameLoop(), and AI::Stop().