235 |
|
COLOR ctmp; |
236 |
|
|
237 |
|
if (isheadid(s)) /* header id */ |
238 |
< |
return; /* don't echo */ |
238 |
> |
return(0); /* don't echo */ |
239 |
|
if (formatval(fmt, s)) { /* check format */ |
240 |
|
if (globmatch(ourfmt, fmt)) { |
241 |
|
wrongformat = 0; |
242 |
|
strcpy(ourfmt, fmt); |
243 |
|
} else |
244 |
|
wrongformat = 1; |
245 |
< |
return; /* don't echo */ |
245 |
> |
return(0); /* don't echo */ |
246 |
|
} |
247 |
|
if (isexpos(s)) { /* exposure */ |
248 |
|
d = exposval(s); |
256 |
|
gotview++; |
257 |
|
/* echo line */ |
258 |
|
putchar('\t'); |
259 |
< |
fputs(s, stdout); |
259 |
> |
return(fputs(s, stdout)); |
260 |
|
} |
261 |
|
|
262 |
|
|
319 |
|
double l_colin(), l_expos(), l_pixaspect(), l_ray(), l_psize(); |
320 |
|
register int i; |
321 |
|
/* define constants */ |
322 |
+ |
varset("PI", ':', PI); |
323 |
|
varset(vnfiles, ':', (double)nfiles); |
324 |
|
varset(vxmax, ':', (double)xmax); |
325 |
|
varset(vymax, ':', (double)ymax); |
534 |
|
if (ltick[fn] < eclock) { /* need to compute? */ |
535 |
|
lorg[fn][0] = lorg[fn][1] = lorg[fn][2] = 0.0; |
536 |
|
ldir[fn][0] = ldir[fn][1] = ldir[fn][2] = 0.0; |
537 |
+ |
ldist[fn] = -1.0; |
538 |
|
if (input[fn].vw.type == 0) |
539 |
|
errno = EDOM; |
540 |
|
else { |