22 #include <boost/dynamic_bitset.hpp>
86 virtual const std::string&
window_id()
const override;
125 inline const static std::string
addons_ =
"////addons////";
A config object defines a single node in a WML file, with access to child nodes.
void toggle_sorting_selection(CAMPAIGN_ORDER order)
RNG_MODE rng_mode_
whether the player checked the "Deterministic" checkbox.
CAMPAIGN_ORDER current_sorting_
void difficulty_selected()
Called when the difficulty selection changes.
int choice_
The chosen campaign.
std::vector< std::string > mod_ids_
std::vector< std::string > difficulties_
static const int OPEN_ADDON_MANAGER
const std::string & get_difficulty() const
RNG_MODE
RNG mode selection values.
static const std::string missing_campaign_
boost::dynamic_bitset mod_states_
std::string current_difficulty_
virtual void pre_show() override
Actions to be taken before showing the window.
void sort_campaigns(CAMPAIGN_ORDER order, bool ascending)
static const std::string addons_
bool currently_sorted_asc_
campaign_selection(ng::create_engine &eng)
virtual const std::string & window_id() const override
The ID of the window to build.
ng::create_engine & engine_
void add_campaign_to_tree(const config &campaign)
void filter_text_changed(const std::string &text)
void campaign_selected()
Called when another campaign is selected.
RNG_MODE get_rng_mode() const
std::vector< std::string > last_search_words_
std::vector< std::string > page_ids_
Abstract base class for all modal dialogs.