blob: b84bf4b3488287c749c07e69325f2dfd1798c274 (
plain)
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
|
#ifndef TEXTURE_H
#define TEXTURE_H
typedef struct {
int count;
char name[48];
int type;
int wrap_s;
int wrap_t;
int id;
float anisotropy;
} TextureInfo;
enum {
TEX_FLOOR = 0,
TEX_GUI,
TEX_LOGO,
TEX_WALL1,
TEX_WALL2,
TEX_WALL3,
TEX_WALL4,
TEX_IMPACT,
TEX_TRAIL,
TEX_DECAL,
TEX_DEBUG,
TEX_SKYBOX,
/* insert all texture tokens before TEX_COUNT */
TEX_COUNT
};
#endif
|