altEngine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
md5model.h
Go to the documentation of this file.
1 #include "include.h"
2 
3 #ifndef MD5MODEL_H
4 #define MD5MODEL_H
5 
6 class MD5Model
7 {
8 public:
9  MD5Model();
10  ~MD5Model();
11  void load(char *md5file, char **animation, int num_anim, Graphics &gfx, int anisotropic);
13  void destroy_buffers(Graphics &gfx);
14  void load_textures(Graphics &gfx, int anisotropic);
15  void render(Graphics &gfx, int frame_step);
16  void select_animation(int index);
17 
18 private:
20  md5_buffer_t *buffer[32];
24  int *tex_object;
26  bool loaded;
28 };
29 
30 #endif