#include <builder.hpp>
Public Member Functions | |
rule_image (int layer, int x, int y, bool global_image=false, int center_x=-1, int center_y=-1) | |
Public Attributes | |
int | layer |
The layer of the image for horizontal layering. | |
int | basex |
The position of the image base (that is, the point where the image reaches the floor) for vertical layering. | |
int | basey |
rule_image_variantlist | variants |
A list of Time-Of-Day-related variants for this image. | |
bool | global_image |
Set to true if the image was defined as a child of the [terrain_graphics] tag, set to false if it was defined as a child of a [tile] tag. | |
int | center_x |
The position where the center of the image base should be. | |
int | center_y |
An image is more than graphics: it is graphics (with several possible tod-alternatives,) and a position for these graphics. The rule_image structure represents one such image.
Definition at line 171 of file builder.hpp.
terrain_builder::rule_image::rule_image | ( | int | layer, | |
int | x, | |||
int | y, | |||
bool | global_image = false , |
|||
int | center_x = -1 , |
|||
int | center_y = -1 | |||
) |
Definition at line 51 of file builder.cpp.
The position of the image base (that is, the point where the image reaches the floor) for vertical layering.
Definition at line 179 of file builder.hpp.
Definition at line 179 of file builder.hpp.
A list of Time-Of-Day-related variants for this image.
Definition at line 183 of file builder.hpp.
Referenced by terrain_builder::replace_token().
Set to true if the image was defined as a child of the [terrain_graphics] tag, set to false if it was defined as a child of a [tile] tag.
Definition at line 188 of file builder.hpp.
The position where the center of the image base should be.
Definition at line 192 of file builder.hpp.
Definition at line 192 of file builder.hpp.
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |