unit_palette(editor_display &gui, const game_config_view &cfg, editor_toolkit &toolkit)
std::set< std::string > selected_bg_items_
const std::set< std::string > & get_selected_bg_items()
virtual bool is_selected_bg_item(const std::string &id)
virtual std::string get_help_string()
A single unit type that the player may recruit.
Manage the empty-palette in the editor.
virtual const std::string & get_id(const unit_type &terrain)
Palette where the terrain to be drawn can be selected.
Functions to load and save images from/to disk.
virtual void select_bg_item(const std::string &item_id)
virtual void setup(const game_config_view &cfg)
Setup the internal data structure.
virtual void draw_item(const unit_type &terrain, surface &image, std::stringstream &tooltip_text)