14 #ifndef TERRAIN_H_INCLUDED
15 #define TERRAIN_H_INCLUDED
140 std::map<t_translation::t_terrain, terrain_type>& letter_to_terrain);
std::string minimap_image_overlay_
const t_string & help_topic_text() const
bool operator==(const terrain_type &other) const
const t_translation::t_list & def_type() const
const t_string & income_description_enemy() const
t_translation::t_terrain number_
void merge_alias_lists(t_translation::t_list &first, const t_translation::t_list &second)
const t_terrain NONE_TERRAIN
const std::string & minimap_image_overlay() const
t_translation::t_list mvt_type_
t_string income_description_
void create_terrain_maps(const config::const_child_itors &cfgs, t_translation::t_list &terrain_list, std::map< t_translation::t_terrain, terrain_type > &letter_to_terrain)
std::string editor_image_
The image used in the editor palette if not defined in WML it will be initialized with the value of m...
bool hide_in_editor() const
const t_string & name() const
const std::string & id() const
const t_translation::t_list & union_type() const
int light_bonus(int base) const
Returns the light (lawful) bonus for this terrain when the time of day gives a base bonus...
const std::string & editor_group() const
Definitions for the interface to Wesnoth Markup Language (WML).
const t_string & editor_name() const
t_string income_description_own_
std::pair< const_child_iterator, const_child_iterator > const_child_itors
std::string editor_group_
const t_string & income_description_own() const
int unit_height_adjust() const
const t_translation::t_list & mvt_type() const
t_string income_description_ally_
int gives_healing() const
const std::string & editor_image() const
t_translation::t_terrain number() const
t_translation::t_terrain default_base() const
t_translation::t_terrain editor_default_base_
Templates and utility-routines for strings and numbers.
double unit_submerge() const
A terrain string which is converted to a terrain is a string with 1 or 2 layers the layers are separa...
const t_string & income_description_ally() const
t_translation::t_terrain terrain_with_default_base() const
t_translation::t_list vision_type_
std::string minimap_image_
The image used in the minimap.
const t_terrain VOID_TERRAIN
t_string income_description_enemy_
int bounded_add(int base, int increment, int max_sum, int min_sum=0)
Returns base + increment, but will not increase base above max_sum, nor decrease it below min_sum...
void set_editor_group(const std::string &str)
t_translation::t_list def_type_
const t_translation::t_list & vision_type() const
t_translation::t_list union_type_
t_string help_topic_text_
std::string icon_image_
The image used as symbol icon.
A config object defines a single node in a WML file, with access to child nodes.
const t_string & description() const
const std::string & minimap_image() const
const t_string & income_description() const
GLsizei const GLcharARB ** string
const std::string & icon_image() const
std::vector< t_terrain > t_list