]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/common/imagelib.h
fix windows compile, it's possible the linux build broke and will need misc tweaks...
[xonotic/netradiant.git] / tools / quake3 / common / imagelib.h
index e3d64e9636f9374c81fcfd889ef342fb4b5b1585..9a99d6afb8eb8e558860123a794cb68fdab0cfc7 100644 (file)
@@ -36,9 +36,9 @@ 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 Load32BitImage (const char *name, unsigned **pixels, 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 );
+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 );