blob: eff09abb382a29df760d56488415a7d0edc42889 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
#define max_length 64
#define max_textures 3
#define max_shaders 14
struct texture_data
{
char name[max_length] ;
unsigned int width;
unsigned int height;
unsigned int bpp;
unsigned int alpha;
};
struct shader_data
{
char name[max_length];
unsigned int lit;
unsigned int twosid;
texture_data texture_list[max_textures];
};
struct art_data
{
unsigned int vertex_count;
unsigned int poly_count;
unsigned int animation_frames;
unsigned int shader_count;
unsigned int bone_count;
};
struct bv_data
{
char name[max_length];
unsigned int physpropid;
unsigned int classtype;
};
class art_object
{
public:
//data
shader_data shader_list[max_shaders];
art_data art_properties;
char name[max_length];
//methods
art_object ( );
~art_object( );
};
|