overridetagnameset_t;
struct md3vertex_s;
-struct trivertex_s;
+struct trivertx_s;
+typedef struct texvecvertex_s
+{
+ signed char svec[3];
+ signed char tvec[3];
+}
+texvecvertex_t;
// used for mesh lists in q1bsp/q3bsp map models
// (the surfaces reference portions of these meshes)
int num_morphframes;
struct md3vertex_s *data_morphmd3vertex;
struct trivertx_s *data_morphmdlvertex;
+ struct texvecvertex_s *data_morphtexvecvertex;
float *data_morphmd2framesize6f;
float num_morphmdlframescale[3];
float num_morphmdlframetranslate[3];
struct trace_s;
+typedef struct model_brush_lightstyleinfo_s
+{
+ int style;
+ int value;
+ int numsurfaces;
+ int *surfacelist;
+}
+model_brush_lightstyleinfo_t;
+
typedef struct model_brush_s
{
// true if this model is a HalfLife .bsp file
unsigned char *nmaplightdata; // deluxemap file
// lightmap update chains for light styles
- int light_styles;
- unsigned char *light_style;
- int *light_stylevalue;
- msurface_t ***light_styleupdatechains;
- msurface_t **light_styleupdatechainsbuffer;
+ int num_lightstyles;
+ model_brush_lightstyleinfo_t *data_lightstyleinfo;
}
model_brushq1_t;