Public Member Functions | Private Types | Private Member Functions | Private Attributes

Md3PlayerSkin Class Reference

#include <Md3Player.h>

Collaboration diagram for Md3PlayerSkin:
Collaboration graph

List of all members.

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 * > 

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

Detailed Description

Definition at line 126 of file Md3Player.h.

Member Typedef Documentation

typedef map<string, const Texture2D *> Md3PlayerSkin::TexMap [private]

Definition at line 154 of file Md3Player.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

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.

void Md3PlayerSkin::setModelTextures ( Md3Model model,
const TexMap tmap 
) const [private]

Definition at line 149 of file Md3Player.cpp.

Member Data Documentation

Definition at line 165 of file Md3Player.h.

Definition at line 166 of file Md3Player.h.

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.

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