include/pcx.h File Reference


Defines

#define PCX_ERROR_NONE   0
#define PCX_ERROR_OPENING   1
#define PCX_ERROR_NO_HEADER   2
#define PCX_ERROR_WRONG_VERSION   3
#define PCX_ERROR_READING   4
#define PCX_ERROR_NO_PALETTE   5
#define PCX_ERROR_WRITING   6
#define PCX_ERROR_MEMORY   7

Functions

int pcx_read_bitmap (char *filename, grs_bitmap *bmp, int bitmap_type, ubyte *palette)
int pcx_write_bitmap (char *filename, grs_bitmap *bmp, ubyte *palette)
char * pcx_errormsg (int error_number)
int pcx_read_fullscr (char *filename, ubyte *palette)

Define Documentation

#define PCX_ERROR_MEMORY   7
 

#define PCX_ERROR_NO_HEADER   2
 

#define PCX_ERROR_NO_PALETTE   5
 

#define PCX_ERROR_NONE   0
 

#define PCX_ERROR_OPENING   1
 

#define PCX_ERROR_READING   4
 

#define PCX_ERROR_WRITING   6
 

#define PCX_ERROR_WRONG_VERSION   3
 


Function Documentation

char* pcx_errormsg int  error_number  ) 
 

int pcx_read_bitmap char *  filename,
grs_bitmap bmp,
int  bitmap_type,
ubyte palette
 

int pcx_read_fullscr char *  filename,
ubyte palette
 

int pcx_write_bitmap char *  filename,
grs_bitmap bmp,
ubyte palette
 


Generated on Mon Aug 28 20:55:31 2006 for D1X-Rebirth by  doxygen 1.4.6