The Battle for Wesnoth  1.15.1+dev
Public Member Functions | Public Attributes | List of all members
gamemap::overlay_rule Struct Reference

#include <map.hpp>

Public Member Functions

 overlay_rule ()
 

Public Attributes

t_translation::ter_list old_
 
t_translation::ter_list new_
 
terrain_type_data::merge_mode mode_
 
boost::optional< t_translation::terrain_codeterrain_
 
bool use_old_
 
bool replace_if_failed_
 

Detailed Description

Definition at line 88 of file map.hpp.

Constructor & Destructor Documentation

◆ overlay_rule()

gamemap::overlay_rule::overlay_rule ( )
inline

Definition at line 97 of file map.hpp.

References is_odd(), gamemap::overlay(), gamemap::overlay_impl(), and gamemap::set_terrain().

Member Data Documentation

◆ mode_

terrain_type_data::merge_mode gamemap::overlay_rule::mode_

Definition at line 92 of file map.hpp.

Referenced by gamemap::overlay_impl().

◆ new_

t_translation::ter_list gamemap::overlay_rule::new_

Definition at line 91 of file map.hpp.

◆ old_

t_translation::ter_list gamemap::overlay_rule::old_

Definition at line 90 of file map.hpp.

◆ replace_if_failed_

bool gamemap::overlay_rule::replace_if_failed_

Definition at line 95 of file map.hpp.

Referenced by gamemap::overlay_impl().

◆ terrain_

boost::optional<t_translation::terrain_code> gamemap::overlay_rule::terrain_

Definition at line 93 of file map.hpp.

Referenced by gamemap::overlay_impl().

◆ use_old_

bool gamemap::overlay_rule::use_old_

Definition at line 94 of file map.hpp.

Referenced by gamemap::overlay_impl().


The documentation for this struct was generated from the following file: