t_translation::t_terrain Struct Reference

A terrain string which is converted to a terrain is a string with 1 or 2 layers the layers are separated by a caret and each group consists of 2 to 4 characters if no second layer is defined it is stored as 0xFFFFFFFF, if the second layer is empty (needed for matching) the layer has the value 0. More...

#include <terrain_translation.hpp>

List of all members.

Public Member Functions

 t_terrain (const std::string &b)
 t_terrain (const std::string &b, const std::string &o)
 t_terrain (const std::string &b, const t_layer o)
 t_terrain (const t_layer &b, const t_layer &o)
 t_terrain ()

Public Attributes

t_layer base
t_layer overlay


Detailed Description

A terrain string which is converted to a terrain is a string with 1 or 2 layers the layers are separated by a caret and each group consists of 2 to 4 characters if no second layer is defined it is stored as 0xFFFFFFFF, if the second layer is empty (needed for matching) the layer has the value 0.

Definition at line 39 of file terrain_translation.hpp.


Constructor & Destructor Documentation

t_translation::t_terrain::t_terrain ( const std::string &  b  ) 

Definition at line 134 of file terrain_translation.cpp.

t_translation::t_terrain::t_terrain ( const std::string &  b,
const std::string &  o 
)

Definition at line 142 of file terrain_translation.cpp.

t_translation::t_terrain::t_terrain ( const std::string &  b,
const t_layer  o 
)

Definition at line 138 of file terrain_translation.cpp.

t_translation::t_terrain::t_terrain ( const t_layer b,
const t_layer o 
) [inline]

Definition at line 43 of file terrain_translation.hpp.

t_translation::t_terrain::t_terrain (  )  [inline]

Definition at line 44 of file terrain_translation.hpp.


Member Data Documentation


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

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs