| 229 |
|
endpicture() /* finish and write out pixels */ |
| 230 |
|
{ |
| 231 |
|
int lastr = -1, nunrend = 0; |
| 232 |
< |
int4 lastp, lastrp; |
| 233 |
< |
register int4 p; |
| 232 |
> |
int32 lastp, lastrp; |
| 233 |
> |
register int32 p; |
| 234 |
|
register double d; |
| 235 |
|
/* compute final pixel values */ |
| 236 |
|
for (p = hres*vres; p--; ) { |
| 260 |
|
|
| 261 |
|
initialize() /* initialize holodeck and buffers */ |
| 262 |
|
{ |
| 263 |
– |
extern long ftell(); |
| 263 |
|
int fd; |
| 264 |
|
FILE *fp; |
| 265 |
|
int n; |
| 266 |
< |
int4 nextloc; |
| 266 |
> |
int32 nextloc; |
| 267 |
|
/* open holodeck file */ |
| 268 |
|
if ((fp = fopen(hdkfile, "r")) == NULL) { |
| 269 |
|
sprintf(errmsg, "cannot open \"%s\" for reading", hdkfile); |