#include <md5model.h>
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_t * | buffer [32] |
md5_buffer_t * | current_buffer |
anim_list_t | anim_list |
md5_anim_t * | current_anim |
int * | tex_object |
int * | normal_object |
bool | loaded |
int | num_buffer |
MD5Model::MD5Model | ( | ) |
MD5Model::~MD5Model | ( | ) |
void MD5Model::destroy_buffers | ( | Graphics & | gfx | ) |
void MD5Model::generate_buffers | ( | Graphics & | gfx, |
md5_anim_t * | anim, | ||
md5_buffer_t * | buffer | ||
) |
void MD5Model::load | ( | char * | md5file, |
char ** | animation, | ||
int | num_anim, | ||
Graphics & | gfx, | ||
int | anisotropic | ||
) |
void MD5Model::load_textures | ( | Graphics & | gfx, |
int | anisotropic | ||
) |
void MD5Model::render | ( | Graphics & | gfx, |
int | frame_step | ||
) |
void MD5Model::select_animation | ( | int | index | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |