40 virtual const std::string&
window_id()
const override;
Abstract base class for all modal dialogs.
virtual void pre_show() override
Actions to be taken before showing the window.
virtual const std::string & window_id() const override
The ID of the window to build.
virtual void post_show() override
Actions to be taken after the window has been shown.
std::map< const unit_type *, t_string > & recruit_map_
void filter_text_changed(const std::string &text)
const unit_type * get_selected_unit_type() const
unit_recruit(std::map< const unit_type *, t_string > &recruit_map, team &team)
std::vector< const unit_type * > recruit_list_
A vector of unit types in the order listed in the UI.
This class stores all the data for a single 'side' (in game nomenclature).
A single unit type that the player may recruit.