13 |
|
#include "platform.h" |
14 |
|
#include "rtprocess.h" /* getpid() */ |
15 |
|
#include "ray.h" |
16 |
+ |
#include "func.h" |
17 |
|
#include "source.h" |
18 |
|
#include "ambient.h" |
19 |
|
#include "random.h" |
28 |
|
#define PCHILD 3 /* child of normal persist */ |
29 |
|
#endif |
30 |
|
|
30 |
– |
char *progname; /* argv[0] */ |
31 |
|
char *octname; /* octree name */ |
32 |
|
char *sigerr[NSIG]; /* signal error messages */ |
33 |
|
char *errfile = NULL; /* error output file */ |
34 |
|
|
35 |
– |
extern time_t time(); |
35 |
|
extern time_t tstart; /* start time */ |
36 |
|
|
37 |
|
extern int ralrm; /* seconds between reports */ |
108 |
|
strcat(RFeatureList, RPICT_FEATURES); |
109 |
|
if (argc > 1 && !strcmp(argv[1], "-features")) |
110 |
|
return feature_status(argc-2, argv+2); |
111 |
+ |
/* initialize calcomp routines */ |
112 |
+ |
initfunc(); |
113 |
|
/* option city */ |
114 |
|
for (i = 1; i < argc; i++) { |
115 |
|
/* expand arguments */ |