16 #ifndef STATISTICS_DIALOG_HPP_INCLUDED
17 #define STATISTICS_DIALOG_HPP_INCLUDED
32 const unsigned int team,
const statistics::stats & current_stats()
Picks out the stats structure that was selected for displaying.
std::vector< int > unit_count_
gui::dialog_button * toggle_btn_
const statistics::stats campaign_
void display_stats(bool campaign)
Fills in the text to be displayed in the dialog.
std::vector< std::pair< const std::string *, const stats * > > levels
Stats (and name) for each scenario. The pointers are never nullptr.
statistics_dialog(game_display &disp, const std::string &title, const unsigned int team, const std::string &team_id, const std::string &player)
const statistics::levels scenarios_
This class stores all the data for a single 'side' (in game nomenclature).
gui::dialog_button * scene_btn_
void action(gui::dialog_process_info &dp_info)
void do_scene_selection()
Implements the scenario selection popup.
static bool use_campaign_
gui::dialog_button * detail_btn_
GLsizei const GLcharARB ** string