|
libnds
|
A simple 256 color pcx file loader. More...
Functions | |
| struct PCXHeader | __attribute__ ((packed)) PCXHeader |
| holds a red green blue triplet | |
| int | loadPCX (const unsigned char *pcx, sImage *image) |
| Loads an image structure with data from PCX formatted data. | |
Variables | |
| char | version |
| version of the banner. | |
A simple 256 color pcx file loader.
| int loadPCX | ( | const unsigned char * | pcx, |
| sImage * | image | ||
| ) |
Loads an image structure with data from PCX formatted data.
| pcx | a pointer to the pcx file loaded into memory |
| image | the image structure to fill in (the loader will allocate room for the palette and pixel data) |
1.7.3