The Battle for Wesnoth 1.21.0-dev
 
Loading...
Searching...
No Matches
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.
 
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 {}

Definition at line 270 of file builder.hpp.

◆ images

rule_imagelist terrain_builder::terrain_constraint::images {}

Definition at line 275 of file builder.hpp.

◆ loc

map_location terrain_builder::terrain_constraint::loc {}

Definition at line 266 of file builder.hpp.

◆ 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.

◆ no_flag

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

Definition at line 269 of file builder.hpp.

◆ set_flag

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

Definition at line 268 of file builder.hpp.

◆ terrain_types_match

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

Definition at line 267 of file builder.hpp.


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