Classes | |
| struct | stats |
| struct | scenario_context |
| struct | attack_context |
Functions | |
| void | recruit_unit (const unit &u) |
| void | recall_unit (const unit &u) |
| void | un_recall_unit (const unit &u) |
| void | un_recruit_unit (const unit &u) |
| void | advance_unit (const unit &u) |
| void | reset_turn_stats (std::string save_id) |
| stats | calculate_stats (int category, std::string save_id) |
| config | write_stats () |
| void | write_stats (config_writer &out) |
| void | read_stats (const config &cfg) |
| void | fresh_stats () |
| void | clear_current_scenario () |
| int | sum_str_int_map (const stats::str_int_map &m) |
| int | sum_cost_str_int_map (const stats::str_int_map &m) |
| void statistics::advance_unit | ( | const unit & | u | ) |
| stats statistics::calculate_stats | ( | int | category, | |
| std::string | save_id | |||
| ) |
| void statistics::clear_current_scenario | ( | ) |
| void statistics::fresh_stats | ( | ) |
Referenced by do_gameloop(), enter_connect_mode(), enter_wait_mode(), game_state::game_state(), replay_controller::reset_replay(), and mp::wait::start_game().

| void statistics::read_stats | ( | const config & | cfg | ) |
Referenced by game_state::game_state(), and mp::wait::start_game().

| void statistics::recall_unit | ( | const unit & | u | ) |
Referenced by events::menu_handler::do_recall(), do_replay_handle(), get_recalls_for_location(), wb::recall::recall(), and events::menu_handler::redo().

| void statistics::recruit_unit | ( | const unit & | u | ) |
Referenced by events::menu_handler::do_recruit(), ai::testing_ai_default::testing_recruitment_phase::do_recruit(), do_replay_handle(), and events::menu_handler::redo().

| void statistics::reset_turn_stats | ( | std::string | save_id | ) |
Referenced by replay_controller::play_side(), playsingle_controller::play_side(), and playmp_controller::play_side().

| int statistics::sum_cost_str_int_map | ( | const stats::str_int_map & | m | ) |
| int statistics::sum_str_int_map | ( | const stats::str_int_map & | m | ) |
| void statistics::un_recall_unit | ( | const unit & | u | ) |
| void statistics::un_recruit_unit | ( | const unit & | u | ) |
| config statistics::write_stats | ( | ) |
Referenced by savegame::loadgame::fill_mplevel_config(), and savegame::savegame::write_game().

| void statistics::write_stats | ( | config_writer & | out | ) |
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:25:35 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |