Classes | Namespaces | Typedefs

ai/game_info.hpp File Reference

Game information for the AI. More...

#include <boost/shared_ptr.hpp>
#include "../map_location.hpp"
#include <map>
Include dependency graph for game_info.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ai::aspect_type< T >
struct  ai::known_aspect_type< T >
class  ai::game_info

Namespaces

namespace  pathfind
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.


Typedefs

typedef int ai::side_number
typedef std::multimap
< map_location, map_location
ai::move_map
 The standard way in which a map of possible moves is recorded.
typedef std::map< map_location,
pathfind::paths
ai::moves_map
 The standard way in which a map of possible movement routes to location is recorded.
typedef boost::shared_ptr
< interface > 
ai::ai_ptr
typedef std::vector
< attack_analysis > 
ai::attacks_vector
typedef boost::shared_ptr
< action_result > 
ai::action_result_ptr
typedef boost::shared_ptr
< attack_result > 
ai::attack_result_ptr
typedef boost::shared_ptr
< recall_result > 
ai::recall_result_ptr
typedef boost::shared_ptr
< recruit_result > 
ai::recruit_result_ptr
typedef boost::shared_ptr
< move_result > 
ai::move_result_ptr
typedef boost::shared_ptr
< move_and_attack_result > 
ai::move_and_attack_result_ptr
typedef boost::shared_ptr
< stopunit_result > 
ai::stopunit_result_ptr
typedef boost::shared_ptr< aspect > ai::aspect_ptr
typedef boost::shared_ptr< engine > ai::engine_ptr
typedef boost::shared_ptr< goal > ai::goal_ptr
typedef boost::shared_ptr
< known_aspect > 
ai::known_aspect_ptr
typedef boost::shared_ptr
< ministage > 
ai::ministage_ptr
typedef boost::shared_ptr< stage > ai::stage_ptr
typedef std::map< std::string,
aspect_ptr > 
ai::aspect_map
typedef std::map< std::string,
known_aspect_ptr > 
ai::known_aspect_map

Detailed Description

Game information for the AI.

Definition in file game_info.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

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