1 |
#ifndef __TextureData_H__
|
2 |
#define __TextureData_H__
|
3 |
|
4 |
class TextureData
|
5 |
{
|
6 |
|
7 |
public:
|
8 |
|
9 |
TextureData(char *texturedataname);
|
10 |
~TextureData();
|
11 |
|
12 |
TextureData *texturedata_next[1];
|
13 |
|
14 |
void TextureData::setpointertexture(int *ipointertexture);
|
15 |
int *TextureData::getpointertexture();
|
16 |
|
17 |
void TextureData::settexturesize(int isize, int steg);
|
18 |
int TextureData::gettexturesize(int steg);
|
19 |
|
20 |
void TextureData::settexturewidth(int iwidth, int steg);
|
21 |
int TextureData::gettexturewidth(int steg);
|
22 |
|
23 |
void TextureData::settextureheight(int iheight, int steg);
|
24 |
int TextureData::gettextureheight(int steg);
|
25 |
|
26 |
int TextureData::getnumberoftextures();
|
27 |
|
28 |
char *name;
|
29 |
|
30 |
private:
|
31 |
void TextureData::readpicture(char *chunkybuffer, int langd, int width, int height, unsigned char* kbuffer );
|
32 |
void TextureData::readfile(char *filename, int filenumber );
|
33 |
|
34 |
int numberoftextures;
|
35 |
int *pointertexture;
|
36 |
|
37 |
int *texturesize;
|
38 |
int *texturewidth;
|
39 |
int *textureheight;
|
40 |
|
41 |
};
|
42 |
|
43 |
#endif
|