| 35 |
|
|
| 36 |
|
int nproc = 1; /* number of processes */ |
| 37 |
|
|
| 38 |
– |
extern char *formstr(int f); /* string from format */ |
| 38 |
|
extern int setrtoutput(void); /* set output values */ |
| 39 |
|
|
| 40 |
|
int inform = 'a'; /* input format */ |
| 66 |
|
static void printdefaults(void); |
| 67 |
|
|
| 68 |
|
#ifdef PERSIST |
| 69 |
< |
#define RTRACE_FEATURES "Persist\nParallelPersist\nMultiProcessing\n" \ |
| 69 |
> |
#define RTRACE_FEATURES "Persist\nParallelPersist\nMultiprocessing\n" \ |
| 70 |
|
"IrradianceCalc\nImmediateIrradiance\nDistanceLimiting\n" \ |
| 71 |
|
"HessianAmbientCache\nAmbientAveraging\n" \ |
| 72 |
|
"AmbientValueSharing\nAdaptiveShadowTesting\n" \ |
| 73 |
+ |
"InputFormats=a,f,d\nOutputFormats=a,f,d,c\n" \ |
| 74 |
|
"Outputs=o,d,v,V,w,W,l,L,c,p,n,N,s,m,M,r,x,R,X,~\n" |
| 75 |
|
#else |
| 76 |
|
#define RTRACE_FEATURES "IrradianceCalc\nIrradianceCalc\nDistanceLimiting\n" \ |
| 77 |
|
"HessianAmbientCache\nAmbientAveraging\n" \ |
| 78 |
|
"AmbientValueSharing\nAdaptiveShadowTesting\n" \ |
| 79 |
+ |
"InputFormats=a,f,d\nOutputFormats=a,f,d,c\n" \ |
| 80 |
|
"Outputs=o,d,v,V,w,W,l,L,c,p,n,N,s,m,M,r,x,R,X,~\n" |
| 81 |
|
#endif |
| 82 |
|
|
| 418 |
|
|
| 419 |
|
void |
| 420 |
|
wputs( /* warning output function */ |
| 421 |
< |
char *s |
| 421 |
> |
const char *s |
| 422 |
|
) |
| 423 |
|
{ |
| 424 |
|
int lasterrno = errno; |
| 429 |
|
|
| 430 |
|
void |
| 431 |
|
eputs( /* put string to stderr */ |
| 432 |
< |
char *s |
| 432 |
> |
const char *s |
| 433 |
|
) |
| 434 |
|
{ |
| 435 |
|
static int midline = 0; |