Namespaces | Defines | Variables

ai/testing/stage_fallback.cpp File Reference

Stage: fallback to other AI. More...

#include "stage_fallback.hpp"
#include "../configuration.hpp"
#include "../manager.hpp"
#include "../composite/ai.hpp"
#include "../../foreach.hpp"
#include "../../log.hpp"
Include dependency graph for stage_fallback.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_STAGE_FALLBACK   LOG_STREAM(debug, log_ai_testing_stage_fallback)
#define LOG_AI_TESTING_STAGE_FALLBACK   LOG_STREAM(info, log_ai_testing_stage_fallback)
#define ERR_AI_TESTING_STAGE_FALLBACK   LOG_STREAM(err, log_ai_testing_stage_fallback)

Variables

static lg::log_domain ai::testing_ai_default::log_ai_testing_stage_fallback ("ai/stage/fallback")

Detailed Description

Stage: fallback to other AI.

Definition in file stage_fallback.cpp.


Define Documentation

#define DBG_AI_TESTING_STAGE_FALLBACK   LOG_STREAM(debug, log_ai_testing_stage_fallback)

Definition at line 34 of file stage_fallback.cpp.

#define ERR_AI_TESTING_STAGE_FALLBACK   LOG_STREAM(err, log_ai_testing_stage_fallback)
#define LOG_AI_TESTING_STAGE_FALLBACK   LOG_STREAM(info, log_ai_testing_stage_fallback)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:03:45 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs