| 44 |
|
#define GRID 7 /* target grid size */ |
| 45 |
|
#define OBSTRUCTIONS 8 /* shall we track obstructions? */ |
| 46 |
|
#define VDIST 9 /* virtual distance calculation */ |
| 47 |
< |
#define OCCUPANCY 10 /* expected occupancy probability */ |
| 48 |
< |
#define REPORT 11 /* report interval and error file */ |
| 47 |
> |
#define REPORT 10 /* report interval and error file */ |
| 48 |
|
|
| 49 |
< |
#define NRHVARS 12 /* number of variables */ |
| 49 |
> |
#define NRHVARS 11 /* number of variables */ |
| 50 |
|
|
| 51 |
|
#define RHVINIT { \ |
| 52 |
|
{"render", 3, 0, NULL, catvalues}, \ |
| 59 |
|
{"GRID", 2, 0, NULL, fltvalue}, \ |
| 60 |
|
{"OBSTRUCTIONS",3, 0, NULL, boolvalue}, \ |
| 61 |
|
{"VDISTANCE", 2, 0, NULL, boolvalue}, \ |
| 63 |
– |
{"OCCUPANCY", 3, 0, NULL, onevalue}, \ |
| 62 |
|
{"REPORT", 3, 0, NULL, onevalue}, \ |
| 63 |
|
} |
| 64 |
|
|
| 88 |
|
extern time_t starttime; /* time we got started */ |
| 89 |
|
extern time_t endtime; /* time we should end by */ |
| 90 |
|
extern time_t reporttime; /* time for next report */ |
| 91 |
+ |
|
| 92 |
+ |
extern long nraysdone; /* number of rays done */ |
| 93 |
+ |
extern long npacksdone; /* number of packets done */ |
| 94 |
|
|
| 95 |
|
extern int rtargc; /* rtrace command */ |
| 96 |
|
extern char *rtargv[]; |