The Battle for Wesnoth  1.15.11+dev
Public Member Functions | Public Attributes | List of all members
gamemap_base::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_
 
std::optional< t_translation::terrain_codeterrain_
 
bool use_old_
 
bool replace_if_failed_
 

Detailed Description

Definition at line 110 of file map.hpp.

Constructor & Destructor Documentation

◆ overlay_rule()

gamemap_base::overlay_rule::overlay_rule ( )
inline

Definition at line 119 of file map.hpp.

References is_odd(), and gamemap_base::overlay().

Member Data Documentation

◆ mode_

terrain_type_data::merge_mode gamemap_base::overlay_rule::mode_

Definition at line 114 of file map.hpp.

Referenced by gamemap_base::overlay().

◆ new_

t_translation::ter_list gamemap_base::overlay_rule::new_

Definition at line 113 of file map.hpp.

◆ old_

t_translation::ter_list gamemap_base::overlay_rule::old_

Definition at line 112 of file map.hpp.

◆ replace_if_failed_

bool gamemap_base::overlay_rule::replace_if_failed_

Definition at line 117 of file map.hpp.

Referenced by gamemap_base::overlay().

◆ terrain_

std::optional<t_translation::terrain_code> gamemap_base::overlay_rule::terrain_

Definition at line 115 of file map.hpp.

Referenced by gamemap_base::overlay().

◆ use_old_

bool gamemap_base::overlay_rule::use_old_

Definition at line 116 of file map.hpp.

Referenced by gamemap_base::overlay().


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