A simple 256 color pcx file loader. [詳細]
構成 | |
struct | PCXHeader |
型定義 | |
typedef struct PCXHeader | PCXHeader |
typedef struct PCXHeader * | pPCXHeader |
関数 | |
int | loadPCX (unsigned char *pcx, sImage *image) |
Loads an image structure with data from PCX formatted data. |
A simple 256 color pcx file loader.
int loadPCX | ( | 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) |