#ifdef OS9 #pragma once #endif #ifndef _TGA_LOADER_H_ #define _TGA_LOADER_H_ /**> HEADER FILES <**/ #include #include #include #ifdef OS9 #include "gl.h" #else #include #endif #include "Support.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