Contains the definition of a portrait for a unit(type). More...
#include <portrait.hpp>

Public Types | |
| enum | tside { LEFT, RIGHT, BOTH } |
Public Member Functions | |
| tportrait (const config &cfg) | |
Public Attributes | |
| std::string | image |
| tside | side |
| unsigned | size |
| bool | mirror |
Contains the definition of a portrait for a unit(type).
It should be documented later and also allow WML to modify the portraits. This all starts to make sense when the new dialogs become mainline.
Definition at line 30 of file portrait.hpp.
| enum tportrait::tside |
Definition at line 34 of file portrait.hpp.
| tportrait::tportrait | ( | const config & | cfg | ) |
Definition at line 40 of file portrait.cpp.
References image, missing_mandatory_wml_key(), size, and VALIDATE.

| std::string tportrait::image |
Definition at line 36 of file portrait.hpp.
Referenced by tportrait().
| bool tportrait::mirror |
Definition at line 39 of file portrait.hpp.
Definition at line 37 of file portrait.hpp.
Referenced by unit::portrait().
| unsigned tportrait::size |
Definition at line 38 of file portrait.hpp.
Referenced by unit::portrait(), and tportrait().
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:14:54 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |