altEngine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
MD5Model Class Reference

#include <md5model.h>

Collaboration diagram for MD5Model:
Collaboration graph
[legend]

Public Member Functions

 MD5Model ()
 
 ~MD5Model ()
 
void load (char *md5file, char **animation, int num_anim, Graphics &gfx, int anisotropic)
 
void generate_buffers (Graphics &gfx, md5_anim_t *anim, md5_buffer_t *buffer)
 
void destroy_buffers (Graphics &gfx)
 
void load_textures (Graphics &gfx, int anisotropic)
 
void render (Graphics &gfx, int frame_step)
 
void select_animation (int index)
 

Private Attributes

MD5 md5
 
md5_buffer_tbuffer [32]
 
md5_buffer_tcurrent_buffer
 
anim_list_t anim_list
 
md5_anim_tcurrent_anim
 
int * tex_object
 
int * normal_object
 
bool loaded
 
int num_buffer
 

Constructor & Destructor Documentation

MD5Model::MD5Model ( )
MD5Model::~MD5Model ( )

Member Function Documentation

void MD5Model::destroy_buffers ( Graphics gfx)

Here is the call graph for this function:

Here is the caller graph for this function:

void MD5Model::generate_buffers ( Graphics gfx,
md5_anim_t anim,
md5_buffer_t buffer 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void MD5Model::load ( char *  md5file,
char **  animation,
int  num_anim,
Graphics gfx,
int  anisotropic 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void MD5Model::load_textures ( Graphics gfx,
int  anisotropic 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void MD5Model::render ( Graphics gfx,
int  frame_step 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void MD5Model::select_animation ( int  index)

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

anim_list_t MD5Model::anim_list
private
md5_buffer_t* MD5Model::buffer[32]
private
md5_anim_t* MD5Model::current_anim
private
md5_buffer_t* MD5Model::current_buffer
private
bool MD5Model::loaded
private
MD5 MD5Model::md5
private
int* MD5Model::normal_object
private
int MD5Model::num_buffer
private
int* MD5Model::tex_object
private

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