Classes | Namespaces | Defines | Variables

ai/testing/ca_testing_move_to_targets.cpp File Reference

Strategic movement routine, taken from default AI. More...

#include "ca_testing_move_to_targets.hpp"
#include "../composite/ai.hpp"
#include "../actions.hpp"
#include "../../foreach.hpp"
#include "../../log.hpp"
#include "../../map.hpp"
#include "../../resources.hpp"
#include "../../team.hpp"
#include "../../terrain_filter.hpp"
#include "../../pathfind/pathfind.hpp"
#include <deque>
Include dependency graph for ca_testing_move_to_targets.cpp:

Go to the source code of this file.

Classes

struct  ai::testing_ai_default::move_cost_calculator
class  ai::testing_ai_default::remove_wrong_targets
struct  ai::testing_ai_default::rated_target
struct  ai::testing_ai_default::rated_target_comparer

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   LOG_STREAM(debug, log_ai_testing_ca_testing_move_to_targets)
#define LOG_AI   LOG_STREAM(info, log_ai_testing_ca_testing_move_to_targets)
#define WRN_AI   LOG_STREAM(warn, log_ai_testing_ca_testing_move_to_targets)
#define ERR_AI   LOG_STREAM(err, log_ai_testing_ca_testing_move_to_targets)

Variables

static lg::log_domain ai::testing_ai_default::log_ai_testing_ca_testing_move_to_targets ("ai/ca/testing_move_to_targets")

Detailed Description

Strategic movement routine, taken from default AI.

Definition in file ca_testing_move_to_targets.cpp.


Define Documentation

#define DBG_AI   LOG_STREAM(debug, log_ai_testing_ca_testing_move_to_targets)
#define ERR_AI   LOG_STREAM(err, log_ai_testing_ca_testing_move_to_targets)

Definition at line 43 of file ca_testing_move_to_targets.cpp.

#define LOG_AI   LOG_STREAM(info, log_ai_testing_ca_testing_move_to_targets)
#define WRN_AI   LOG_STREAM(warn, log_ai_testing_ca_testing_move_to_targets)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

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