Public Member Functions | |
building_rule () | |
Public Attributes | |
constraint_set | constraints |
The set of [tile] constraints of this rule. | |
gamemap::location | location_constraints |
The location on which this map may match. | |
int | probability |
The probability of this rule to match, when all conditions are met. | |
int | precedence |
The precedence of this rule. |
Definition at line 302 of file builder.hpp.
terrain_builder::building_rule::building_rule | ( | ) | [inline] |
Definition at line 304 of file builder.hpp.
The set of [tile] constraints of this rule.
Definition at line 314 of file builder.hpp.
Referenced by terrain_builder::apply_rule(), terrain_builder::build_terrains(), terrain_builder::parse_config(), terrain_builder::parse_mapstring(), terrain_builder::replace_token(), terrain_builder::rotate_rule(), terrain_builder::rule_matches(), terrain_builder::rule_valid(), and terrain_builder::start_animation().
The location on which this map may match.
Set to a valid gamemap::location if the "x" and "y" parameters of the [terrain_graphics] rule are set.
Definition at line 321 of file builder.hpp.
Referenced by terrain_builder::parse_config(), terrain_builder::rotate_rule(), and terrain_builder::rule_matches().
The probability of this rule to match, when all conditions are met.
Defined if the "probability" parameter of the [terrain_graphics] element is set.
Definition at line 328 of file builder.hpp.
Referenced by terrain_builder::parse_config(), terrain_builder::rotate_rule(), and terrain_builder::rule_matches().
The precedence of this rule.
Used to order rules differently that the order in which they appear. Defined if the "precedence" parameter of the [terrain_graphics] element is set.
Definition at line 336 of file builder.hpp.
Referenced by terrain_builder::add_rule(), terrain_builder::parse_config(), and terrain_builder::rotate_rule().
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |