X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=wad.h;h=2aaa1b8d30d92a8525066cdb97cf4d6fc47e540c;hb=8e7b42d509d36c9bdda23487612ff1ca8c139b1d;hp=18d7d41019928859bbb8e1d7797e0ba9f2a5e61d;hpb=e9ef9da90a206204b283dacd15c35bd3fd1fe5c9;p=xonotic%2Fdarkplaces.git diff --git a/wad.h b/wad.h index 18d7d410..2aaa1b8d 100644 --- a/wad.h +++ b/wad.h @@ -22,8 +22,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #ifndef WAD_H #define WAD_H -#include "common.h" -#include "fs.h" +#include +struct sizebuf_s; //=============== // TYPES @@ -69,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