]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - bspfile.h
reworked rtlighting code to handle transparent water lighting and transparent model...
[xonotic/darkplaces.git] / bspfile.h
index 0755c03029b8b0a1917ca0252fdcaeb344a49306..35137c31b7ecfdda36eb850cbcd604906135b298 100644 (file)
--- a/bspfile.h
+++ b/bspfile.h
@@ -262,7 +262,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 +288,6 @@ typedef struct dleaf_s
        unsigned short          firstmarksurface;
        unsigned short          nummarksurfaces;
 
-       qbyte           ambient_level[NUM_AMBIENTS];
+       unsigned char           ambient_level[NUM_AMBIENTS];
 } dleaf_t;