#include <stdlib.h>#include <stdio.h>#include <string.h>#include "gr.h"#include "u_mem.h"#include "pcx.h"#include "cfile.h"Classes | |
| struct | PCXHeader |
Functions | |
| int | pcx_encode_byte (ubyte byt, ubyte cnt, FILE *fid) |
| int | pcx_encode_line (ubyte *inBuff, int inLen, FILE *fp) |
| 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) |
Variables | |
| char | pcx_error_messages [] |
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
|
|
|
||||||||||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
|
Initial value: {
"No error.\0"
"Error opening file.\0"
"Couldn't read PCX header.\0"
"Unsupported PCX version.\0"
"Error reading data.\0"
"Couldn't find palette information.\0"
"Error writing data.\0"
}
|
1.4.6