cocos2d-x  3.0alpha1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TGAlib.h File Reference

Classes

struct  tImageTGA
 TGA format. More...
 

Namespaces

 cocos2d
 Add deprecated global functions and variables here.
 

Constant Groups

 cocos2d
 Add deprecated global functions and variables here.
 

Enumerations

enum  {
  TGA_OK, TGA_ERROR_FILE_OPEN, TGA_ERROR_READING_FILE, TGA_ERROR_INDEXED_COLOR,
  TGA_ERROR_MEMORY, TGA_ERROR_COMPRESSED_FILE
}
 

Functions

bool  (unsigned char *Buffer, unsigned long bufSize, tImageTGA *psInfo)
 load the image header fields. We only keep those that matter! More...
 
var  ( var Buffer, var bufSize, var psInfo)
 load the image header fields. We only keep those that matter! More...
 
local  ( local Buffer, local bufSize, local psInfo)
 load the image header fields. We only keep those that matter! More...
 
bool  (unsigned char *Buffer, unsigned long bufSize, tImageTGA *psInfo)
 loads the image pixels. You shouldn't call this function directly More...
 
tImageTGA (const char *filename)
 this is the function to call when we want to load an image More...
 
var  ( var filename)
 this is the function to call when we want to load an image More...
 
local  ( local filename)
 this is the function to call when we want to load an image More...
 
void  (tImageTGA *psInfo)
void  (tImageTGA *psInfo)
 releases the memory used for the image More...
 
var  ( var psInfo)
 releases the memory used for the image More...
 
local  ( local psInfo)
 releases the memory used for the image More...