aboutsummaryrefslogtreecommitdiff
path: root/Source/TGALoader.h
diff options
context:
space:
mode:
authoricculus <icculus@5198baeb-e213-0410-be47-fc2ff85ca46f>2003-01-02 21:06:00 +0000
committericculus <icculus@5198baeb-e213-0410-be47-fc2ff85ca46f>2003-01-02 21:06:00 +0000
commite17acec1c9bec3a26d97ca2873bb77bdcb48665e (patch)
tree26b14b6cedcb70df651c23dddbf0981970d0bd4d /Source/TGALoader.h
parent59ca62d601e30b5467f8ecd2cb7d517bc682fc12 (diff)
downloadblackshades-e17acec1c9bec3a26d97ca2873bb77bdcb48665e.tar.gz
Initial revision
git-svn-id: svn://svn.icculus.org/blackshades/trunk@2 5198baeb-e213-0410-be47-fc2ff85ca46f
Diffstat (limited to 'Source/TGALoader.h')
-rw-r--r--Source/TGALoader.h29
1 files changed, 29 insertions, 0 deletions
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 <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#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