int TGAReadColorMap(TGA* tga, tbyte**cmap, tuint32 flags);
int TGAReadColorMap
pointer to valid TGA structure
reference to a NULL pointer that will hold the color map data
flags that control the functions operations (currently only TGA_RGB or TGA_BGR TGAData)
It returns TGA_CMAP_SIZE() on success.
Use TGAReadImage() instead.