| 43 |
|
int imm_irrad = 0; /* compute immediate irradiance? */ |
| 44 |
|
int lim_dist = 0; /* limit distance? */ |
| 45 |
|
|
| 46 |
< |
const char *modname[MAXMODLIST]; /* ordered modifier name list */ |
| 47 |
< |
int nmods = 0; /* number of modifiers */ |
| 46 |
> |
int report_intvl = 0; /* reporting interval (seconds) */ |
| 47 |
|
|
| 48 |
+ |
char **modname = NULL; /* ordered modifier name list */ |
| 49 |
+ |
int nmods = 0; /* number of modifiers */ |
| 50 |
+ |
int modasiz = 0; /* allocated modifier array size */ |
| 51 |
+ |
|
| 52 |
|
void (*addobjnotify[8])() = {ambnotify, NULL}; |
| 53 |
|
|
| 54 |
|
char RCCONTEXT[] = "RC."; /* our special evaluation context */ |
| 297 |
|
case 'M': /* modifier file */ |
| 298 |
|
check(2,"s"); |
| 299 |
|
addmodfile(argv[++i], curout, prms, binval, bincnt); |
| 300 |
+ |
break; |
| 301 |
+ |
case 't': /* reporting interval */ |
| 302 |
+ |
check(2,"i"); |
| 303 |
+ |
report_intvl = atoi(argv[++i]); |
| 304 |
|
break; |
| 305 |
|
default: |
| 306 |
|
goto badopt; |