#include <gamestatus.hpp>
Public Member Functions | |
player_info () | |
void | debug () |
Public Attributes | |
std::string | name |
Stores the current_player name. | |
int | gold |
Amount of gold the player has saved. | |
bool | gold_add |
Amount of gold is added to the starting gold, if not it uses the highest of the two. | |
std::vector< unit > | available_units |
Units the player may recall. | |
std::set< std::string > | can_recruit |
Units the player has the ability to recruit. |
Definition at line 76 of file gamestatus.hpp.
player_info::player_info | ( | ) | [inline] |
Definition at line 78 of file gamestatus.hpp.
void player_info::debug | ( | ) |
std::string player_info::name |
Stores the current_player name.
Definition at line 86 of file gamestatus.hpp.
Referenced by play_game(), playsingle_controller::play_scenario(), read_player(), and write_player().
Amount of gold the player has saved.
Definition at line 87 of file gamestatus.hpp.
Referenced by debug(), get_player_info(), play_game(), playsingle_controller::play_scenario(), read_player(), and write_player().
Amount of gold is added to the starting gold, if not it uses the highest of the two.
Definition at line 88 of file gamestatus.hpp.
Referenced by get_player_info(), playsingle_controller::play_scenario(), read_player(), and write_player().
std::vector<unit> player_info::available_units |
Units the player may recall.
Definition at line 91 of file gamestatus.hpp.
Referenced by scoped_recall_unit::activate(), debug(), do_replay_handle(), get_player_info(), playsingle_controller::play_scenario(), read_player(), events::menu_handler::recall(), events::menu_handler::redo(), events::menu_handler::undo(), and write_player().
std::set<std::string> player_info::can_recruit |
Units the player has the ability to recruit.
Definition at line 92 of file gamestatus.hpp.
Referenced by get_player_info(), play_game(), read_player(), and write_player().
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |