9 |
|
|
10 |
|
#include <signal.h> |
11 |
|
#include "rcontrib.h" |
12 |
< |
#include "platform.h" |
13 |
< |
#include "paths.h" |
12 |
> |
#include "random.h" |
13 |
|
#include "source.h" |
14 |
|
#include "ambient.h" |
15 |
|
|
169 |
|
case 'n': case 'N': case 'f': case 'F': \ |
170 |
|
case '-': case '0': var = 0; break; \ |
171 |
|
default: goto badopt; } |
173 |
– |
int nprocs = 1; |
172 |
|
char *curout = NULL; |
173 |
|
char *binval = NULL; |
174 |
|
int bincnt = 0; |
335 |
|
nsceneobjs = nobjects; |
336 |
|
|
337 |
|
marksources(); /* find and mark sources */ |
338 |
+ |
for (i = 0; i < nsources; i++) /* tracing to sources as well */ |
339 |
+ |
source[i].sflags |= SFOLLOW; |
340 |
|
|
341 |
|
setambient(); /* initialize ambient calculation */ |
342 |
|
|