]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - wad.h
rewrite of map texture loading (mainly to do with HL textures and wads)
[xonotic/darkplaces.git] / wad.h
diff --git a/wad.h b/wad.h
index 001e293f99f81acc059a7c6afb8a3da3227fb1f2..9c16b566c7f208244f900f897e420e401d35e8cd 100644 (file)
--- a/wad.h
+++ b/wad.h
@@ -77,4 +77,5 @@ void SwapPic (qpic_t *pic);
 // LordHavoc: added alternate texture WAD2/WAD3 system for easier loading of HalfLife texture wads
 extern int image_width, image_height;
 void   W_LoadTextureWadFile (char *filename, int complain);
-byte   *W_GetTexture (char *name, int matchwidth, int matchheight); // returns malloc'd image data, width and height are in image_width and image_height (yeah yeah so I'm lazy...)
+byte   *W_GetTexture (char *name); // returns malloc'd image data, width and height are in image_width and image_height
+byte   *W_ConvertWAD3Texture(miptex_t *tex); // returns malloc'd image data, width and height are in image_width and image_height