OpenTTD Source: src/ai/ai_info.cpp File Reference

OpenTTD Source 13.2.1

Functions
ai_info.cpp File Reference
`#include "../stdafx.h"`
`#include "../script/squirrel_class.hpp"`
`#include "ai_info.hpp"`
`#include "ai_scanner.hpp"`
`#include "../debug.h"`
`#include "../string_func.h"`
`#include "../rev.h"`
`#include <set>`
`#include "../safeguards.h"`

Go to the source code of this file.

## Functions
static bool | CheckAPIVersion (const char *api_version)
| Check if the API version provided by the AI is supported. More...
template<>
const char * | GetClassName< AIInfo, ST_AI > ()

## Detailed Description

Implementation of AIInfo and AILibrary

Definition in file ai_info.cpp.

## Function Documentation

## ◆ CheckAPIVersion()

static bool CheckAPIVersion | ( | const char * | api_version | ) |
| static

Check if the API version provided by the AI is supported.

Parameters

  api_version | The API version as provided by the AI.

Definition at line 26 of file ai_info.cpp.

Referenced by AIInfo::Constructor().