14 |
|
|
15 |
|
#include "platform.h" |
16 |
|
#include "RpictSimulManager.h" |
17 |
+ |
#include "func.h" |
18 |
|
#include "ambient.h" |
19 |
|
#include "pmapray.h" |
20 |
|
#include "random.h" |
61 |
|
void |
62 |
|
quit(int code) /* quit program */ |
63 |
|
{ |
63 |
– |
if (nproc < 0) { |
64 |
– |
ray_pnprocs = -1; // hack to avoid cleanup in child |
65 |
– |
_exit(code); |
66 |
– |
} |
64 |
|
exit(code); // don't bother to free data structs |
65 |
|
} |
66 |
|
|
105 |
|
strcat(RFeatureList, RXPIECE_FEATURES); |
106 |
|
if (argc > 1 && !strcmp(argv[1], "-features")) |
107 |
|
return feature_status(argc-2, argv+2); |
108 |
+ |
/* initialize calcomp routines */ |
109 |
+ |
initfunc(); |
110 |
|
/* set defaults */ |
111 |
|
default_options(); |
112 |
|
/* option city */ |