00001
00002
00003 unsigned char* ReadTGA(::std::ifstream* file, int* width, int* height, int* bpp, GB2DERROR* errorstate, D3DCOLOR** palette, unsigned int file_offset);
00004 unsigned char* ReadBMP(::std::ifstream* file, int* width, int* height, int* bpp, GB2DERROR* errorstate, D3DCOLOR** palette, unsigned int file_offset);
00005 unsigned char* ReadTIFF(::std::ifstream* file, int* width, int* height, int* bpp, GB2DERROR* errorstate, D3DCOLOR** palette, unsigned int file_offset);
00006
00007
00008 void DecompressLZW(unsigned char* in, unsigned char* out, unsigned int compressed_size, unsigned int uncompressed_size);