]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - common.h
fix for EF_FLAME and lots of other bugs with 16bit/8bit fields (modelindex, frame...
[xonotic/darkplaces.git] / common.h
index 85aba74d7ff9ce1367031193d2350dc557e24766..98753e272918acb28169b3a44a8a115808c61724 100644 (file)
--- a/common.h
+++ b/common.h
@@ -30,7 +30,7 @@ typedef struct sizebuf_s
 {
        qboolean        allowoverflow;  // if false, do a Sys_Error
        qboolean        overflowed;             // set to true if the buffer size failed
-       byte            *data;
+       qbyte           *data;
        mempool_t       *mempool;
        int                     maxsize;
        int                     cursize;
@@ -179,7 +179,7 @@ int COM_FOpenFile (char *filename, QFile **file, qboolean quiet, qboolean zip);
 
 // set by COM_LoadFile functions
 extern int loadsize;
-byte *COM_LoadFile (char *path, qboolean quiet);
+qbyte *COM_LoadFile (char *path, qboolean quiet);
 
 int COM_FileExists(char *filename);