Go to the documentation of this file.
3 #define LUMP_ENTITIES 0
5 #define LUMP_TEXTURES 2
6 #define LUMP_VERTEXES 3
7 #define LUMP_VISIBILITY 4
11 #define LUMP_LIGHTING 8
12 #define LUMP_CLIPNODES 9
14 #define LUMP_MARKSURFACES 11
16 #define LUMP_SURFEDGES 13
17 #define LUMP_MODELS 14
18 #define HEADER_LUMPS 15
20 #define CONTENTS_EMPTY -1
21 #define CONTENTS_SOLID -2
22 #define CONTENTS_WATER -3
23 #define CONTENTS_SLIME -4
24 #define CONTENTS_LAVA -5
25 #define CONTENTS_SKY -6
27 #define AMBIENT_WATER 0
29 #define AMBIENT_SLIME 2
30 #define AMBIENT_LAVA 3
31 #define NUM_AMBIENTS 4 // automatic ambient sounds
33 #define MAX_MAP_HULLS 4
45 #define is_marked(x) (vis_face[(x) >> 3] & (1 << ((x) & 7)))
46 #define mark_face(x) (vis_face[(x) >> 3] |= (1 << ((x) & 7)))
47 #define unmark_face(x) (vis_face[(x) >> 3] &= ~(1 << ((x) & 7)))
49 typedef unsigned char byte;
94 float mins[3], maxs[3];
160 #define TEX_SPECIAL 1 // sky or slime, no lightmap or 256 subdivision
170 typedef unsigned char byte;
172 #define MAXLIGHTMAPS 4
212 unsigned char pad0, pad1,
pad2;