]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/common/imagelib.h
Garux: renamed disable defines
[xonotic/netradiant.git] / tools / quake3 / common / imagelib.h
index 37277170968c3266bfa6d9a368f45d78c8969af8..2c028bfd9d58e3cbcfa5460006b855e20fba81ce 100644 (file)
@@ -39,6 +39,9 @@ void Save256Image( const char *name, byte *pixels, byte *palette,
 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 );
+void WriteTGAGray( 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 LoadKTXBufferFirstImage( const byte *buffer, size_t bufSize, byte **pic, int *picWidth, int *picHeight );