]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - bspfile.h
implemented individual file downloads on darkplaces servers
[xonotic/darkplaces.git] / bspfile.h
index 0755c03029b8b0a1917ca0252fdcaeb344a49306..fa4178b02b3e9dd95650ffab48834c3e2ccf7dcd 100644 (file)
--- 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;