90 |
|
#define MG_MAXARGC (MG_MAXLINE/4) /* maximum argument count */ |
91 |
|
|
92 |
|
typedef struct mg_fctxt { |
93 |
< |
char *fname; /* file name */ |
93 |
> |
char fname[96]; /* file name */ |
94 |
|
FILE *fp; /* stream pointer */ |
95 |
|
char inpline[MG_MAXLINE]; /* input line */ |
96 |
|
int lineno; /* line number */ |
260 |
|
extern int c_hvertex(); /* handle vertex entity */ |
261 |
|
extern void c_clearall(); /* clear context tables */ |
262 |
|
extern C_VERTEX *c_getvert(); /* get a named vertex */ |
263 |
+ |
extern C_COLOR *c_getcolor(); /* get a named color */ |
264 |
|
extern void c_ccvt(); /* fix color representation */ |
265 |
|
extern int c_isgrey(); /* check if color is grey */ |
266 |
|
#else |
269 |
|
extern int c_hvertex(int, char **); /* handle vertex entity */ |
270 |
|
extern void c_clearall(void); /* clear context tables */ |
271 |
|
extern C_VERTEX *c_getvert(char *); /* get a named vertex */ |
272 |
+ |
extern C_COLOR *c_getcolor(char *); /* get a named color */ |
273 |
|
extern void c_ccvt(C_COLOR *, int); /* fix color representation */ |
274 |
|
extern int c_isgrey(C_COLOR *); /* check if color is grey */ |
275 |
|
#endif |