]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/common/imagelib.h
ported over the 1.5 branch version of q3map2 which is newer
[xonotic/netradiant.git] / tools / quake3 / common / imagelib.h
index 9a99d6afb8eb8e558860123a794cb68fdab0cfc7..1379427de8c6fe92a1331767669f3ef55b11980a 100644 (file)
@@ -36,9 +36,10 @@ void Save256Image (const char *name, byte *pixels, byte *palette,
                                   int width, int height);
 
 
-void LoadTGA( const char *filename, byte **pixels, int *width, int *height );
-void LoadTGABuffer( byte *buffer, byte **pic, int *width, int *height );
-void WriteTGA( const char *filename, byte *data, int width, int height );
+void LoadTGA (const char *filename, byte **pixels, int *width, int *height);
+void LoadTGABuffer ( const byte *buffer, const byte* enddata, byte **pic, int *width, int *height);
+void WriteTGA (const char *filename, byte *data, int width, int height);
 int LoadJPGBuff( void *src_buffer, int src_size, unsigned char **pic, int *width, int *height );
 
-void Load32BitImage( const char *name, unsigned **pixels, int *width, int *height );
+void Load32BitImage (const char *name, unsigned **pixels, int *width, int *height);
+