#include <team.hpp>
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< config > | ai_params |
config | ai_memory_ |
int | villages_per_scout |
double | leader_value |
double | village_value |
std::vector< target > | targets |
bool | share_maps |
bool | share_view |
bool | disallow_observers |
bool | allow_player |
bool | no_leader |
std::string | music |
std::string | colour |
Definition at line 66 of file team.hpp.
team::team_info::team_info | ( | const config & | cfg | ) |
Definition at line 74 of file team.cpp.
References AI, ai_algorithm, ai_memory_, team::ai_parameters(), ai_params, config::append(), can_recruit, config::child_range(), controller, current_player, team::default_team_gold, description, disallow_observers, EMPTY, boost::foreach_detail_::end(), enemies, config::get_children(), global_recruitment_pattern, gold, HUMAN, income_per_village, leader_value, LOG_NG, NETWORK, persistent, recruitment_pattern, team::recruits(), save_id, share_maps, share_view, utils::split(), start_gold, str_cast(), string2rgb(), utils::string_bool(), targets, team::team_color_range_, team_name, game_config::team_rgb_range, game_config::village_income, village_value, and villages_per_scout.
void team::team_info::write | ( | config & | cfg | ) | const |
Definition at line 271 of file team.cpp.
References action_bonus_count, config::add_child(), AI, ai_algorithm, ai_memory_, ai_params, allow_player, can_recruit, colour, controller, countdown_time, current_player, description, disallow_observers, EMPTY, config::empty(), enemies, flag, flag_icon, global_recruitment_pattern, gold, HUMAN, income, income_per_village, leader_value, music, name, NETWORK, no_leader, objectives, objectives_changed, persistent, save_id, share_maps, share_view, start_gold, str_cast(), targets, team_name, user_team_name, village_value, and villages_per_scout.
Referenced by team::write().
std::string team::team_info::name |
std::string team::team_info::gold |
std::string team::team_info::start_gold |
Definition at line 72 of file team.hpp.
Referenced by team::start_gold(), team::team(), team_info(), and write().
std::string team::team_info::income |
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().
std::vector<std::string> team::team_info::global_recruitment_pattern |
std::vector<std::string> team::team_info::recruitment_pattern |
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().
std::string team::team_info::team_name |
Definition at line 79 of file team.hpp.
Referenced by team::calculate_is_enemy(), team::change_team(), team::team(), team_info(), team::team_name(), and write().
std::string team::team_info::user_team_name |
Definition at line 80 of file team.hpp.
Referenced by team::change_team(), team::user_team_name(), and write().
std::string team::team_info::save_id |
std::string team::team_info::current_player |
Definition at line 83 of file team.hpp.
Referenced by team::current_player(), team::set_current_player(), team_info(), and write().
std::string team::team_info::countdown_time |
std::string team::team_info::flag |
std::string team::team_info::flag_icon |
std::string team::team_info::description |
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 100 of file team.hpp.
Referenced by team::change_controller(), team::controller(), team::is_ai(), team::is_empty(), team::is_human(), team::is_network(), team::make_ai(), team::make_human(), team::make_network(), team_info(), and write().
Definition at line 101 of file team.hpp.
Referenced by team::is_persistent(), team_info(), and write().
std::string team::team_info::ai_algorithm |
Definition at line 102 of file team.hpp.
Referenced by team::ai_algorithm(), team_info(), and write().
std::vector<config> team::team_info::ai_params |
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().
std::vector<target> team::team_info::targets |
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().
std::string team::team_info::music |
std::string team::team_info::colour |
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |