X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=wad.h;h=2aaa1b8d30d92a8525066cdb97cf4d6fc47e540c;hb=3ed608ba823591f983dc8068fbdfdc70b6daef20;hp=ac085898ab82a5b6646dde6774a31f217fad7c81;hpb=0766a43538f3b526cba347157d5259bb3e5785a9;p=xonotic%2Fdarkplaces.git diff --git a/wad.h b/wad.h index ac085898..2aaa1b8d 100644 --- a/wad.h +++ b/wad.h @@ -22,6 +22,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #ifndef WAD_H #define WAD_H +#include +struct sizebuf_s; + //=============== // TYPES //=============== @@ -66,12 +69,12 @@ typedef struct lumpinfo_s } lumpinfo_t; void W_UnloadAll(void); -unsigned char *W_GetLumpName(const char *name, fs_offset_t *returnfilesize); +unsigned char *W_GetLumpName(const char *name, int64_t *returnfilesize); // halflife texture wads void W_LoadTextureWadFile(char *filename, int complain); unsigned char *W_GetTextureBGRA(char *name); // returns tempmempool allocated image data, width and height are in image_width and image_height -unsigned char *W_ConvertWAD3TextureBGRA(sizebuf_t *sb); // returns tempmempool allocated image data, width and height are in image_width and image_height +unsigned char *W_ConvertWAD3TextureBGRA(struct sizebuf_s *sb); // returns tempmempool allocated image data, width and height are in image_width and image_height #endif