version 1.17 | | version 1.18 |
---|
| | |
/* | | /* |
* static char *rcsid_image_c = | | * static char *rcsid_image_c = |
* "$Id: image.c,v 1.17 2005/10/24 20:48:15 akirschbaum Exp $"; | | * "$Id: image.c,v 1.18 2005/12/05 23:34:03 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
* it is called by ReadBmapNames. | | * it is called by ReadBmapNames. |
*/ | | */ |
| | |
static void ReadFaceData() | | static void ReadFaceData(void) |
{ | | { |
char buf[MAX_BUF], *cp; | | char buf[MAX_BUF], *cp; |
New_Face *on_face=NULL; | | New_Face *on_face=NULL; |
| | |
* difference.) | | * difference.) |
*/ | | */ |
| | |
void ReadBmapNames () { | | void ReadBmapNames (void) { |
char buf[MAX_BUF], *p, *q; | | char buf[MAX_BUF], *p, *q; |
FILE *fp; | | FILE *fp; |
int value, nrofbmaps = 0, i; | | int value, nrofbmaps = 0, i; |
| | |
* the next element is the 16x2 faces picture | | * the next element is the 16x2 faces picture |
* used for smoothing | | * used for smoothing |
*/ | | */ |
int ReadSmooth () { | | int ReadSmooth (void) { |
char buf[MAX_BUF], *p, *q; | | char buf[MAX_BUF], *p, *q; |
FILE *fp; | | FILE *fp; |
int smoothcount = 0; | | int smoothcount = 0; |
| | |
/** | | /** |
* Deallocates memory allocated by ReadBmapNames() and ReadSmooth(). | | * Deallocates memory allocated by ReadBmapNames() and ReadSmooth(). |
*/ | | */ |
void free_all_images() | | void free_all_images(void) |
{ | | { |
int i; | | int i; |
| | |