20 #ifndef TERRAIN_PALETTES_H_INCLUDED
21 #define TERRAIN_PALETTES_H_INCLUDED
const t_translation::t_terrain & selected_bg_item() const
terrain_palette(editor_display &gui, const config &cfg, mouse_action **active_mouse_action)
Palette where the terrain to be drawn can be selected.
virtual void setup(const config &cfg)
Setup the internal data structure.
const gamemap & map() const
const t_translation::t_terrain & selected_fg_item() const
virtual std::string get_help_string()
Encapsulates the map of the game.
Manage the empty-palette in the editor.
static const ::config * terrain
The terrain used to create the cache.
A terrain string which is converted to a terrain is a string with 1 or 2 layers the layers are separa...
void select_fg_item(const t_translation::t_terrain &terrain)
const t_translation::t_terrain & get_selected_bg_terrain()
void select_bg_item(const t_translation::t_terrain &terrain)
virtual void draw_item(const t_translation::t_terrain &terrain, surface &item_image, std::stringstream &tooltip_text)
const gamemap & get_map() const
A mouse action receives events from the controller, and responds to them by creating an appropriate e...
A config object defines a single node in a WML file, with access to child nodes.
GLsizei const GLcharARB ** string
virtual const std::string & get_id(const t_translation::t_terrain &terrain)
const t_translation::t_terrain & get_selected_fg_terrain()