25 #define PCX_ERROR_NONE 0
26 #define PCX_ERROR_OPENING 1
27 #define PCX_ERROR_NO_HEADER 2
28 #define PCX_ERROR_WRONG_VERSION 3
29 #define PCX_ERROR_READING 4
30 #define PCX_ERROR_NO_PALETTE 5
31 #define PCX_ERROR_WRITING 6
32 #define PCX_ERROR_MEMORY 7
GLfloat GLfloat GLfloat GLfloat h
int pcx_read_bitmap(const char *filename, ubyte *org_data, ubyte *pal, int byte_size, int aabitmap=0, int nondark=0, int cf_type=CF_TYPE_ANY)
GLubyte GLubyte GLubyte GLubyte w
int pcx_write_bitmap(const char *filename, int w, int h, ubyte **row_ptrs, ubyte *palette)
int pcx_read_header(const char *filename, CFILE *img_cfp=NULL, int *w=0, int *h=0, int *bpp=0, ubyte *pal=NULL)