int pcx_load_palette(const char *fn, int *w_out, int *h_out, void *pic_out, void *pal_out)
Load a PCX file into a buffer as paletted data.
int pcx_load_flat(const char *fn, int *w_out, int *h_out, void *pic_out)
Load a PCX file into a buffer as flat 15-bit BGR data.