7 |
|
|
8 |
|
#include "copyright.h" |
9 |
|
|
10 |
< |
#include "ray.h" |
10 |
> |
#include <signal.h> |
11 |
|
|
12 |
+ |
#include "platform.h" |
13 |
+ |
#include "ray.h" |
14 |
|
#include "source.h" |
13 |
– |
|
15 |
|
#include "ambient.h" |
15 |
– |
|
16 |
|
#include "random.h" |
17 |
– |
|
17 |
|
#include "paths.h" |
19 |
– |
|
20 |
– |
#include <signal.h> |
21 |
– |
|
18 |
|
#include "view.h" |
19 |
|
|
20 |
|
char *progname; /* argv[0] */ |
203 |
|
if (octname == NULL) |
204 |
|
error(USER, "missing octree argument"); |
205 |
|
/* set up output */ |
206 |
< |
#ifdef MSDOS |
211 |
< |
setmode(fileno(stdout), O_BINARY); |
212 |
< |
#endif |
206 |
> |
SET_FILE_BINARY(stdout); |
207 |
|
readoct(octname, ~(IO_FILES|IO_INFO), &thescene, NULL); |
208 |
|
nsceneobjs = nobjects; |
209 |
|
|