team::team_info Struct Reference

#include <team.hpp>

Collaboration diagram for team::team_info:

Collaboration graph
[legend]

List of all members.

Public Types

enum  CONTROLLER { HUMAN, AI, NETWORK, EMPTY }

Public Member Functions

 team_info (const config &cfg)
void write (config &cfg) const

Public Attributes

std::string name
std::string gold
std::string start_gold
std::string income
int income_per_village
std::set< std::string > can_recruit
std::vector< std::string > global_recruitment_pattern
std::vector< std::string > recruitment_pattern
std::vector< int > enemies
std::string team_name
std::string user_team_name
std::string save_id
std::string current_player
std::string countdown_time
int action_bonus_count
std::string flag
std::string flag_icon
std::string description
t_string objectives
bool objectives_changed
 < Team's objectives for the current level.
CONTROLLER controller
bool persistent
std::string ai_algorithm
std::vector< configai_params
config ai_memory_
int villages_per_scout
double leader_value
double village_value
std::vector< targettargets
bool share_maps
bool share_view
bool disallow_observers
bool allow_player
bool no_leader
std::string music
std::string colour


Detailed Description

Definition at line 66 of file team.hpp.


Member Enumeration Documentation

Enumerator:
HUMAN 
AI 
NETWORK 
EMPTY 

Definition at line 99 of file team.hpp.


Constructor & Destructor Documentation

team::team_info::team_info ( const config cfg  ) 


Member Function Documentation

void team::team_info::write ( config cfg  )  const


Member Data Documentation

std::string team::team_info::name

Definition at line 70 of file team.hpp.

Referenced by team::name(), and write().

std::string team::team_info::gold

Definition at line 71 of file team.hpp.

Referenced by team::team(), team_info(), and write().

Definition at line 72 of file team.hpp.

Referenced by team::start_gold(), team::team(), team_info(), and write().

Definition at line 73 of file team.hpp.

Referenced by team::base_income(), team::income(), team::set_income(), and write().

Definition at line 74 of file team.hpp.

Referenced by team::income(), team::set_village_gold(), team_info(), team::village_gold(), and write().

std::set<std::string> team::team_info::can_recruit

Definition at line 75 of file team.hpp.

Referenced by team::log_recruitable(), team::recruits(), team_info(), and write().

Definition at line 76 of file team.hpp.

Referenced by team_info(), and write().

std::vector<std::string> team::team_info::recruitment_pattern

Definition at line 77 of file team.hpp.

Referenced by team::recruitment_pattern(), and team_info().

std::vector<int> team::team_info::enemies

Definition at line 78 of file team.hpp.

Referenced by team::calculate_is_enemy(), team_info(), and write().

Definition at line 80 of file team.hpp.

Referenced by team::change_team(), team::user_team_name(), and write().

Definition at line 81 of file team.hpp.

Referenced by team::save_id(), team_info(), and write().

Definition at line 83 of file team.hpp.

Referenced by team::current_player(), team::set_current_player(), team_info(), and write().

Definition at line 84 of file team.hpp.

Referenced by write().

Definition at line 85 of file team.hpp.

Referenced by write().

std::string team::team_info::flag

Definition at line 87 of file team.hpp.

Referenced by team::flag(), and write().

Definition at line 88 of file team.hpp.

Referenced by team::flag_icon(), and write().

Definition at line 90 of file team.hpp.

Referenced by team_info(), and write().

Definition at line 92 of file team.hpp.

Referenced by team::objectives(), team::set_objectives(), and write().

< Team's objectives for the current level.

Set to true when the objectives for this time changes. Reset to false when the objectives for this team have been displayed to the user.

Definition at line 97 of file team.hpp.

Referenced by team::objectives_changed(), team::reset_objectives_changed(), team::set_objectives(), and write().

Definition at line 101 of file team.hpp.

Referenced by team::is_persistent(), team_info(), and write().

Definition at line 102 of file team.hpp.

Referenced by team::ai_algorithm(), team_info(), and write().

Definition at line 104 of file team.hpp.

Referenced by team::set_ai_parameters(), team_info(), and write().

Definition at line 105 of file team.hpp.

Referenced by team::ai_memory(), team::set_ai_memory(), team_info(), and write().

Definition at line 107 of file team.hpp.

Referenced by team_info(), team::villages_per_scout(), and write().

Definition at line 108 of file team.hpp.

Referenced by team::leader_value(), team::set_leader_value(), team_info(), and write().

Definition at line 108 of file team.hpp.

Referenced by team::set_village_value(), team_info(), team::village_value(), and write().

Definition at line 110 of file team.hpp.

Referenced by team::targets(), team_info(), and write().

Definition at line 112 of file team.hpp.

Referenced by team::share_maps(), team_info(), and write().

Definition at line 112 of file team.hpp.

Referenced by team::share_view(), team_info(), and write().

Definition at line 113 of file team.hpp.

Referenced by team::get_disallow_observers(), team_info(), and write().

Definition at line 114 of file team.hpp.

Referenced by write().

Definition at line 115 of file team.hpp.

Referenced by team::no_leader(), and write().

Definition at line 117 of file team.hpp.

Referenced by write().

Definition at line 119 of file team.hpp.

Referenced by team::map_colour_to(), and write().


The documentation for this struct was generated from the following files:

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs