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 |
+ |
"ParticipatingMedia=Mist\n" \ |
72 |
|
"HessianAmbientCache\nAmbientAveraging\n" \ |
73 |
|
"AmbientValueSharing\nAdaptiveShadowTesting\n" \ |
74 |
+ |
"InputFormats=a,f,d\nOutputFormats=a,f,d,c\n" \ |
75 |
|
"Outputs=o,d,v,V,w,W,l,L,c,p,n,N,s,m,M,r,x,R,X,~\n" |
76 |
|
#else |
77 |
|
#define RTRACE_FEATURES "IrradianceCalc\nIrradianceCalc\nDistanceLimiting\n" \ |
78 |
+ |
"ParticipatingMedia=Mist\n" \ |
79 |
|
"HessianAmbientCache\nAmbientAveraging\n" \ |
80 |
|
"AmbientValueSharing\nAdaptiveShadowTesting\n" \ |
81 |
+ |
"InputFormats=a,f,d\nOutputFormats=a,f,d,c\n" \ |
82 |
|
"Outputs=o,d,v,V,w,W,l,L,c,p,n,N,s,m,M,r,x,R,X,~\n" |
83 |
|
#endif |
84 |
|
|
420 |
|
|
421 |
|
void |
422 |
|
wputs( /* warning output function */ |
423 |
< |
char *s |
423 |
> |
const char *s |
424 |
|
) |
425 |
|
{ |
426 |
|
int lasterrno = errno; |
431 |
|
|
432 |
|
void |
433 |
|
eputs( /* put string to stderr */ |
434 |
< |
char *s |
434 |
> |
const char *s |
435 |
|
) |
436 |
|
{ |
437 |
|
static int midline = 0; |