/Users/riq/progs/cocos2d-iphone/branches/branch-0.7/cocos2d/Support/TGAlib.h File Reference


Classes

struct  tImageTGA

Functions

void tgaLoadHeader (FILE *file, tImageTGA *info)
 load the image header fields. We only keep those that matter!
void tgaLoadImageData (FILE *file, tImageTGA *info)
 loads the image pixels. You shouldn't call this function directly
tImageTGAtgaLoad (const char *filename)
 this is the function to call when we want to load an image
void tgaDestroy (tImageTGA *info)
 releases the memory used for the image

Detailed Description

TGA image support

Function Documentation

void tgaDestroy ( tImageTGA info  ) 

releases the memory used for the image

tImageTGA* tgaLoad ( const char *  filename  ) 

this is the function to call when we want to load an image

void tgaLoadHeader ( FILE *  file,
tImageTGA info 
)

load the image header fields. We only keep those that matter!

void tgaLoadImageData ( FILE *  file,
tImageTGA info 
)

loads the image pixels. You shouldn't call this function directly


Generated on Tue Jun 9 10:39:27 2009 for cocos2d for iPhone 0.7.3 by  doxygen 1.5.8