Namespaces | Defines | Variables

ai/testing/ca.cpp File Reference

Default AI (Testing). More...

#include "ca.hpp"
#include "../actions.hpp"
#include "../manager.hpp"
#include "../composite/engine.hpp"
#include "../composite/rca.hpp"
#include "../composite/stage.hpp"
#include "../../gamestatus.hpp"
#include "../../foreach.hpp"
#include "../../log.hpp"
#include "../../map.hpp"
#include "../../resources.hpp"
#include "../../team.hpp"
#include "../../wml_exception.hpp"
#include "../../pathfind/pathfind.hpp"
#include <numeric>
Include dependency graph for ca.cpp:

Go to the source code of this file.

Namespaces

namespace  ai
 

A small explanation about what's going on here: Each action has access to two game_info objects First is 'info' - real information Second is 'subjective info' - AIs perception of what's going on So, when we check_before action, we use 'subjective info' and don't touch real 'info' at all.


namespace  ai::testing_ai_default

Defines

#define DBG_AI_TESTING_AI_DEFAULT   LOG_STREAM(debug, log_ai_testing_ai_default)
#define LOG_AI_TESTING_AI_DEFAULT   LOG_STREAM(info, log_ai_testing_ai_default)
#define WRN_AI_TESTING_AI_DEFAULT   LOG_STREAM(warn, log_ai_testing_ai_default)
#define ERR_AI_TESTING_AI_DEFAULT   LOG_STREAM(err, log_ai_testing_ai_default)

Variables

static lg::log_domain log_ai_testing_ai_default ("ai/ca/testing_ai_default")

Detailed Description

Default AI (Testing).

Definition in file ca.cpp.


Define Documentation

#define DBG_AI_TESTING_AI_DEFAULT   LOG_STREAM(debug, log_ai_testing_ai_default)
#define ERR_AI_TESTING_AI_DEFAULT   LOG_STREAM(err, log_ai_testing_ai_default)
#define LOG_AI_TESTING_AI_DEFAULT   LOG_STREAM(info, log_ai_testing_ai_default)
#define WRN_AI_TESTING_AI_DEFAULT   LOG_STREAM(warn, log_ai_testing_ai_default)

Variable Documentation

lg::log_domain log_ai_testing_ai_default("ai/ca/testing_ai_default") [static]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Wed May 23 2012 01:03:33 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs