altEngine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
include
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);
12
void
generate_buffers
(
Graphics
&gfx,
md5_anim_t
*anim,
md5_buffer_t
*
buffer
);
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
:
19
MD5
md5
;
20
md5_buffer_t
*buffer[32];
21
md5_buffer_t
*
current_buffer
;
22
anim_list_t
anim_list
;
23
md5_anim_t
*
current_anim
;
24
int
*
tex_object
;
25
int
*
normal_object
;
26
bool
loaded
;
27
int
num_buffer
;
28
};
29
30
#endif
Generated on Tue Nov 21 2017 19:18:54 for altEngine by
1.8.2