cocos2d for iPhone 1.0.0
2D engine for iOS and OS X
Classes | Functions
/Users/rquesada/progs/cocos2d-iphone/cocos2d/Support/TGAlib.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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

Definition in file TGAlib.h.


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

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Defines

cocos2d for iPhone API Reference - Generated using Doxygen 1.7.4