From e17acec1c9bec3a26d97ca2873bb77bdcb48665e Mon Sep 17 00:00:00 2001 From: icculus Date: Thu, 2 Jan 2003 21:06:00 +0000 Subject: Initial revision git-svn-id: svn://svn.icculus.org/blackshades/trunk@2 5198baeb-e213-0410-be47-fc2ff85ca46f --- Source/TGALoader.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Source/TGALoader.h (limited to 'Source/TGALoader.h') diff --git a/Source/TGALoader.h b/Source/TGALoader.h new file mode 100644 index 0000000..a7b9d9a --- /dev/null +++ b/Source/TGALoader.h @@ -0,0 +1,29 @@ +#pragma once + +#ifndef _TGA_LOADER_H_ +#define _TGA_LOADER_H_ + + +/**> HEADER FILES <**/ +#include +#include +#include +#include "gl.h" + + +/**> DATA STRUCTURES <**/ +typedef struct TGAImageRec +{ + GLubyte *data; // Image Data (Up To 32 Bits) + GLuint bpp; // Image Color Depth In Bits Per Pixel. + GLuint sizeX; + GLuint sizeY; +} TGAImageRec; + + + +/**> FUNCTION PROTOTYPES <**/ +TGAImageRec* LoadTGA( char *filename ); + + +#endif -- cgit v1.2.3