version 1.9 | | version 1.10 |
---|
| | |
/* | | /* |
* static char *rcsid_image_c = | | * static char *rcsid_image_c = |
* "$Id: image.c,v 1.9 2003/07/08 12:45:04 tchize Exp $"; | | * "$Id: image.c,v 1.10 2004/02/28 10:40:56 ryo_saeba Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
int ReadSmooth () { | | int ReadSmooth () { |
char buf[MAX_BUF], *p, *q; | | char buf[MAX_BUF], *p, *q; |
FILE *fp; | | FILE *fp; |
int value, smoothcount = 0, i; | | int smoothcount = 0; |
| | |
bmaps_checksum=0; | | bmaps_checksum=0; |
sprintf (buf,"%s/smooth", settings.datadir); | | sprintf (buf,"%s/smooth", settings.datadir); |
| | |
} | | } |
| | |
int FindSmooth (uint16 face, uint16* smoothed) { | | int FindSmooth (uint16 face, uint16* smoothed) { |
int i; | | |
struct smoothing *bp, tmp; | | struct smoothing *bp, tmp; |
| | |
tmp.id = face; | | tmp.id = face; |