| 85 |
|
double f; |
| 86 |
|
int a; |
| 87 |
|
|
| 88 |
< |
funset(vcolin[RED], 1, l_redin); |
| 89 |
< |
funset(vcolin[GRN], 1, l_grnin); |
| 90 |
< |
funset(vcolin[BLU], 1, l_bluin); |
| 91 |
< |
funset(vbrtin, 1, l_brtin); |
| 88 |
> |
funset(vcolin[RED], 1, '=', l_redin); |
| 89 |
> |
funset(vcolin[GRN], 1, '=', l_grnin); |
| 90 |
> |
funset(vcolin[BLU], 1, '=', l_bluin); |
| 91 |
> |
funset(vbrtin, 1, '=', l_brtin); |
| 92 |
|
|
| 93 |
|
for (a = 1; a < argc; a++) |
| 94 |
|
if (argv[a][0] == '-') |
| 214 |
|
else |
| 215 |
|
brtdef = NULL; |
| 216 |
|
/* predefine variables */ |
| 217 |
< |
varset(vnfiles, (double)nfiles); |
| 218 |
< |
varset(vxres, (double)xres); |
| 219 |
< |
varset(vyres, (double)yres); |
| 217 |
> |
varset(vnfiles, '=', (double)nfiles); |
| 218 |
> |
varset(vxres, '=', (double)xres); |
| 219 |
> |
varset(vyres, '=', (double)yres); |
| 220 |
|
/* allocate scanline */ |
| 221 |
|
scanout = (COLOR *)emalloc(xres*sizeof(COLOR)); |
| 222 |
|
/* combine files */ |
| 227 |
|
eputs(": read error\n"); |
| 228 |
|
quit(1); |
| 229 |
|
} |
| 230 |
< |
varset(vypos, (double)ypos); |
| 230 |
> |
varset(vypos, '=', (double)ypos); |
| 231 |
|
for (xpos = 0; xpos < xres; xpos++) { |
| 232 |
|
for (i = 0; i < nfiles; i++) |
| 233 |
|
multcolor(input[i].scan[xpos],input[i].coef); |
| 234 |
< |
varset(vxpos, (double)xpos); |
| 234 |
> |
varset(vxpos, '=', (double)xpos); |
| 235 |
|
eclock++; |
| 236 |
|
if (brtdef != NULL) { |
| 237 |
|
d = evalue(brtdef); |