The Battle for Wesnoth  1.19.5+dev
Public Attributes | List of all members
terrain_builder::terrain_constraint Struct Reference

The in-memory representation of a [tile] WML rule inside of a [terrain_graphics] WML rule. More...

#include <builder.hpp>

Public Attributes

map_location loc {}
 
t_translation::ter_match terrain_types_match {}
 
std::vector< std::string > set_flag {}
 
std::vector< std::string > no_flag {}
 
std::vector< std::string > has_flag {}
 
bool no_draw = false
 Whether to actually draw the images onto this hex or not. More...
 
rule_imagelist images {}
 

Detailed Description

The in-memory representation of a [tile] WML rule inside of a [terrain_graphics] WML rule.

Definition at line 264 of file builder.hpp.

Member Data Documentation

◆ has_flag

std::vector<std::string> terrain_builder::terrain_constraint::has_flag {}

◆ images

rule_imagelist terrain_builder::terrain_constraint::images {}

◆ loc

map_location terrain_builder::terrain_constraint::loc {}

◆ no_draw

bool terrain_builder::terrain_constraint::no_draw = false

Whether to actually draw the images onto this hex or not.

Definition at line 273 of file builder.hpp.

Referenced by terrain_builder::add_constraints(), and terrain_builder::apply_rule().

◆ no_flag

std::vector<std::string> terrain_builder::terrain_constraint::no_flag {}

◆ set_flag

std::vector<std::string> terrain_builder::terrain_constraint::set_flag {}

◆ terrain_types_match

t_translation::ter_match terrain_builder::terrain_constraint::terrain_types_match {}

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