#include <Md3Player.h>
Public Member Functions | |
Md3PlayerSkin (const string &path, const string &name) throw (Md3Exception) | |
~Md3PlayerSkin () | |
void | setLowerTextures (Md3Model *model) |
void | setUpperTextures (Md3Model *model) |
void | setHeadTextures (Md3Model *model) |
const string & | path () const |
const string & | name () const |
Private Types | |
typedef map< string, const Texture2D * > | TexMap |
Private Member Functions | |
void | loadSkinFile (const string &filename, TexMap &tmap) throw (Md3Exception) |
void | setModelTextures (Md3Model *model, const TexMap &tmap) const |
Private Attributes | |
TexMap | _lowerTextures |
TexMap | _upperTextures |
TexMap | _headTextures |
string | _path |
string | _name |
Definition at line 126 of file Md3Player.h.
typedef map<string, const Texture2D *> Md3PlayerSkin::TexMap [private] |
Definition at line 154 of file Md3Player.h.
Md3PlayerSkin::Md3PlayerSkin | ( | const string & | path, | |
const string & | name | |||
) | throw (Md3Exception) |
Definition at line 58 of file Md3Player.cpp.
Md3PlayerSkin::~Md3PlayerSkin | ( | ) |
Definition at line 80 of file Md3Player.cpp.
void Md3PlayerSkin::setLowerTextures | ( | Md3Model * | model | ) | [inline] |
Definition at line 136 of file Md3Player.h.
void Md3PlayerSkin::setUpperTextures | ( | Md3Model * | model | ) | [inline] |
Definition at line 140 of file Md3Player.h.
void Md3PlayerSkin::setHeadTextures | ( | Md3Model * | model | ) | [inline] |
Definition at line 144 of file Md3Player.h.
const string& Md3PlayerSkin::path | ( | ) | const [inline] |
Definition at line 149 of file Md3Player.h.
const string& Md3PlayerSkin::name | ( | ) | const [inline] |
Definition at line 150 of file Md3Player.h.
void Md3PlayerSkin::loadSkinFile | ( | const string & | filename, | |
TexMap & | tmap | |||
) | throw (Md3Exception) [private] |
Definition at line 94 of file Md3Player.cpp.
Definition at line 149 of file Md3Player.cpp.
TexMap Md3PlayerSkin::_lowerTextures [private] |
Definition at line 165 of file Md3Player.h.
TexMap Md3PlayerSkin::_upperTextures [private] |
Definition at line 166 of file Md3Player.h.
TexMap Md3PlayerSkin::_headTextures [private] |
Definition at line 167 of file Md3Player.h.
string Md3PlayerSkin::_path [private] |
Definition at line 169 of file Md3Player.h.
string Md3PlayerSkin::_name [private] |
Definition at line 170 of file Md3Player.h.