| 51 |
|
|
| 52 |
|
int (*trace)() = NULL; /* trace call */ |
| 53 |
|
|
| 54 |
+ |
extern int ambnotify(); /* new object notify functions */ |
| 55 |
+ |
int (*addobjnotify[])() = {ambnotify, NULL}; |
| 56 |
+ |
|
| 57 |
|
CUBE thescene; /* our scene */ |
| 58 |
|
|
| 59 |
|
extern int ralrm; /* seconds between reports */ |
| 356 |
|
goto badopt; |
| 357 |
|
} |
| 358 |
|
} |
| 359 |
+ |
*amblp = NULL; |
| 360 |
|
#if RPICT|RVIEW |
| 361 |
|
err = setview(&ourview); /* set viewing parameters */ |
| 362 |
|
if (err != NULL) |
| 424 |
|
|
| 425 |
|
marksources(); /* find and mark sources */ |
| 426 |
|
|
| 427 |
< |
*amblp = NULL; /* initialize ambient calculation */ |
| 424 |
< |
setambient(ambfile); |
| 427 |
> |
setambient(ambfile); /* initialize ambient calculation */ |
| 428 |
|
|
| 429 |
|
#if RPICT |
| 430 |
|
if (ralrm > 0) /* report init time */ |