X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=bspfile.h;h=fa4178b02b3e9dd95650ffab48834c3e2ccf7dcd;hp=0755c03029b8b0a1917ca0252fdcaeb344a49306;hb=7654bd9684b667c0e755205846fbd62948bd1098;hpb=f9d8bc7ea04ff91fcbd90fe50a299b37724b349b diff --git a/bspfile.h b/bspfile.h index 0755c030..fa4178b0 100644 --- a/bspfile.h +++ b/bspfile.h @@ -62,6 +62,7 @@ typedef struct hullinfo_s float hullsizes[MAX_MAP_HULLS][2][3]; } hullinfo_t; +// WARNING: this struct does NOT match q1bsp's disk format because MAX_MAP_HULLS has been changed by Sajt's MCBSP code, this struct is only being used in memory as a result typedef struct dmodel_s { float mins[3], maxs[3]; @@ -262,7 +263,7 @@ typedef struct dface_s short texinfo; // lighting info - qbyte styles[MAXLIGHTMAPS]; + unsigned char styles[MAXLIGHTMAPS]; int lightofs; // start of [numstyles*surfsize] samples } dface_t; @@ -288,6 +289,6 @@ typedef struct dleaf_s unsigned short firstmarksurface; unsigned short nummarksurfaces; - qbyte ambient_level[NUM_AMBIENTS]; + unsigned char ambient_level[NUM_AMBIENTS]; } dleaf_t;