33 |
|
#define octti(ot) (((ot)&03777)<<3)/* octree index in block */ |
34 |
|
|
35 |
|
#ifndef MAXOBLK |
36 |
< |
#ifdef BIGMEM |
37 |
< |
#define MAXOBLK 32767 /* maximum octree block */ |
38 |
< |
#else |
36 |
> |
#ifdef SMLMEM |
37 |
|
#define MAXOBLK 4095 /* maximum octree block */ |
38 |
+ |
#else |
39 |
+ |
#define MAXOBLK 32767 /* maximum octree block */ |
40 |
|
#endif |
41 |
|
#endif |
42 |
|
|
88 |
|
extern void culocate(); |
89 |
|
extern void cucopy(); |
90 |
|
extern int incube(); |
91 |
– |
|
91 |
|
extern int readoct(); |
92 |
+ |
extern void readscene(); |
93 |
+ |
extern void writescene(); |
94 |
|
|
95 |
|
#else |
96 |
|
|
103 |
|
extern int incube(CUBE *cu, FVECT pt); |
104 |
|
|
105 |
|
extern int readoct(char *fname, int load, CUBE *scene, char *ofn[]); |
106 |
+ |
|
107 |
+ |
extern void readscene(FILE *fp, int objsiz); |
108 |
+ |
extern void writescene(int firstobj, int nobjs, FILE *fp); |
109 |
|
|
110 |
|
#endif |