DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
 
model_q1bsp.h
Go to the documentation of this file.
1#ifndef MODEL_Q1BSP_H
2#define MODEL_Q1BSP_H
3
4#include "qtypes.h"
5#include "model_brush.h"
6
7typedef struct model_brushq1_s
8{
10
13
16
18 struct mtexinfo_s *texinfo;
19
22
25
27
29 unsigned char *data_compressedpvs;
30
32 unsigned char *lightdata;
33 unsigned char *nmaplightdata; // deluxemap file
34
35 // lightmap update chains for light styles
38
39 // this contains bytes that are 1 if a surface needs its lightmap rebuilt
40 unsigned char *lightmapupdateflags;
41 qbool firstrender; // causes all surface lightmaps to be loaded in first frame
42}
44
45#endif
#define MAX_MAP_HULLS
Definition bspfile.h:24
bool qbool
Definition qtypes.h:9
mvertex_t * vertexes
Definition model_q1bsp.h:12
unsigned char * data_compressedpvs
Definition model_q1bsp.h:29
model_brush_lightstyleinfo_t * data_lightstyleinfo
Definition model_q1bsp.h:37
unsigned char * lightmapupdateflags
Definition model_q1bsp.h:40
unsigned char * nmaplightdata
Definition model_q1bsp.h:33
unsigned char * lightdata
Definition model_q1bsp.h:32
struct mtexinfo_s * texinfo
Definition model_q1bsp.h:18
medge_t * edges
Definition model_q1bsp.h:15
mclipnode_t * clipnodes
Definition model_q1bsp.h:24
mmodel_t * submodels
Definition model_q1bsp.h:9