8 |
|
#include <signal.h> |
9 |
|
#include <ctype.h> |
10 |
|
|
11 |
+ |
#include "rtprocess.h" /* win_popen() */ |
12 |
|
#include "mkillum.h" |
13 |
|
|
14 |
|
/* default parameters */ |
71 |
|
/* set up rendering defaults */ |
72 |
|
dstrsrc = 0.5; |
73 |
|
directrelay = 3; |
73 |
– |
directvis = 0; |
74 |
|
ambounce = 2; |
75 |
|
/* get options from command line */ |
76 |
|
for (i = 1; i < argc; i++) { |
172 |
|
{ |
173 |
|
if (warnings) |
174 |
|
eputs(s); |
175 |
+ |
} |
176 |
+ |
|
177 |
+ |
|
178 |
+ |
void |
179 |
+ |
quit(ec) /* make sure exit is called */ |
180 |
+ |
int ec; |
181 |
+ |
{ |
182 |
+ |
if (ray_pnprocs > 0) /* close children if any */ |
183 |
+ |
ray_pclose(0); |
184 |
+ |
exit(ec); |
185 |
|
} |
186 |
|
|
187 |
|
|