]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - wad.h
rearranged sky rendering code
[xonotic/darkplaces.git] / wad.h
diff --git a/wad.h b/wad.h
index 51e6dec37f0d6ee10bf3128410c89b4a71a8040e..9c16b566c7f208244f900f897e420e401d35e8cd 100644 (file)
--- a/wad.h
+++ b/wad.h
@@ -75,6 +75,7 @@ void  *W_GetLumpNum (int num);
 void SwapPic (qpic_t *pic);
 
 // LordHavoc: added alternate texture WAD2/WAD3 system for easier loading of HalfLife texture wads
-extern image_width, image_height;
+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