| 7 |
|
|
| 8 |
|
#include "copyright.h" |
| 9 |
|
|
| 10 |
< |
#include "standard.h" |
| 10 |
> |
#include "rtmath.h" |
| 11 |
> |
#include "rterror.h" |
| 12 |
> |
#include "rtio.h" |
| 13 |
> |
#include "paths.h" |
| 14 |
|
|
| 15 |
|
#include "octree.h" |
| 13 |
– |
|
| 16 |
|
#include "object.h" |
| 15 |
– |
|
| 17 |
|
#include "instance.h" |
| 18 |
|
|
| 19 |
|
#define IO_ILLEGAL (IO_FILES|IO_INFO) |
| 50 |
|
} |
| 51 |
|
if ((pathname = getpath(sname, getrlibpath(), R_OK)) == NULL) { |
| 52 |
|
sprintf(errmsg, "cannot find octree file \"%s\"", sname); |
| 53 |
< |
error(USER, errmsg); |
| 53 |
> |
error(SYSTEM, errmsg); |
| 54 |
|
} |
| 55 |
|
flags &= ~sc->ldflags; /* skip what's already loaded */ |
| 56 |
|
if (flags & IO_SCENE) |