#include "formula_callable.hpp"
#include "generic_event.hpp"
#include "pathfind.hpp"
#include "gamestatus.hpp"
Go to the source code of this file.
Classes | |
class | ai_interface |
struct | ai_interface::info |
info is structure which holds references to all the important objects that an AI might need access to, in order to make and implement its decisions. More... | |
Functions | |
std::vector< std::string > | get_available_ais () |
Returns all currently available AIs. | |
ai_interface * | create_ai (const std::string &algorithm_name, ai_interface::info &info) |
Create a new AI object with the specified algorithm name. |
Definition in file ai_interface.hpp.
ai_interface* create_ai | ( | const std::string & | algorithm_name, | |
ai_interface::info & | info | |||
) |
Create a new AI object with the specified algorithm name.
Definition at line 198 of file ai.cpp.
References ai, lg::err, and LOG_STREAM.
Referenced by formula_ai::execute_variant(), formula_ai::make_move(), and playsingle_controller::play_ai_turn().
std::vector<std::string> get_available_ais | ( | ) |
Returns all currently available AIs.
Definition at line 184 of file ai.cpp.
References python_ai::get_available_scripts().
Referenced by mp::connect::lists_init().
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |