1 |
greg |
1.3 |
/* Copyright (c) 1990 Regents of the University of California */ |
2 |
greg |
1.1 |
|
3 |
|
|
/* SCCSid "$SunId$ LBL" */ |
4 |
|
|
|
5 |
|
|
/* |
6 |
|
|
* instance.h - header file for routines using octree objects. |
7 |
|
|
* |
8 |
|
|
* 11/10/88 |
9 |
|
|
*/ |
10 |
|
|
|
11 |
|
|
#include "octree.h" |
12 |
|
|
|
13 |
|
|
typedef struct scene { |
14 |
|
|
char *name; /* octree name */ |
15 |
|
|
int ldflags; /* what was loaded */ |
16 |
|
|
CUBE scube; /* scene cube */ |
17 |
greg |
2.2 |
OBJECT firstobj, nobjs; /* first object and count */ |
18 |
greg |
1.1 |
struct scene *next; /* next in list */ |
19 |
|
|
} SCENE; /* loaded octree */ |
20 |
|
|
|
21 |
|
|
typedef struct { |
22 |
greg |
1.3 |
FULLXF x; /* forward and backward transforms */ |
23 |
greg |
1.1 |
SCENE *obj; /* loaded object */ |
24 |
|
|
} INSTANCE; /* instance of octree */ |
25 |
|
|
|
26 |
|
|
extern SCENE *getscene(); |
27 |
|
|
|
28 |
|
|
extern INSTANCE *getinstance(); |