4 |
|
* |
5 |
|
* Include after object.h and octree.h |
6 |
|
*/ |
7 |
+ |
#ifndef _RAD_INSTANCE_H_ |
8 |
+ |
#define _RAD_INSTANCE_H_ |
9 |
+ |
#ifdef __cplusplus |
10 |
+ |
extern "C" { |
11 |
+ |
#endif |
12 |
|
|
13 |
|
#include "copyright.h" |
14 |
|
|
26 |
|
SCENE *obj; /* loaded object */ |
27 |
|
} INSTANCE; /* instance of octree */ |
28 |
|
|
24 |
– |
#ifdef NOPROTO |
29 |
|
|
26 |
– |
extern SCENE *getscene(); |
27 |
– |
extern INSTANCE *getinstance(); |
28 |
– |
extern void freescene(); |
29 |
– |
extern void freeinstance(); |
30 |
– |
|
31 |
– |
#else |
32 |
– |
|
30 |
|
extern SCENE *getscene(char *sname, int flags); |
31 |
|
extern INSTANCE *getinstance(OBJREC *o, int flags); |
32 |
|
extern void freescene(SCENE *sc); |
33 |
|
extern void freeinstance(OBJREC *o); |
34 |
|
|
35 |
+ |
|
36 |
+ |
#ifdef __cplusplus |
37 |
+ |
} |
38 |
|
#endif |
39 |
+ |
#endif /* _RAD_INSTANCE_H_ */ |
40 |
+ |
|