36 |
|
|
37 |
|
#ifndef OBJECT |
38 |
|
#ifdef BIGMEM |
39 |
< |
#define OBJECT int /* index to object array */ |
39 |
> |
#define OBJECT int4 /* index to object array */ |
40 |
|
#else |
41 |
< |
#define OBJECT short /* index to object array */ |
41 |
> |
#define OBJECT int2 /* index to object array */ |
42 |
|
#endif |
43 |
|
#endif |
44 |
|
|
52 |
|
|
53 |
|
#ifndef MAXOBJBLK |
54 |
|
#ifdef BIGMEM |
55 |
< |
#define MAXOBJBLK 32767 /* maximum number of object blocks */ |
55 |
> |
#define MAXOBJBLK 65535 /* maximum number of object blocks */ |
56 |
|
#else |
57 |
< |
#define MAXOBJBLK 511 /* maximum number of object blocks */ |
57 |
> |
#define MAXOBJBLK 31 /* maximum number of object blocks */ |
58 |
|
#endif |
59 |
|
#endif |
60 |
|
|
61 |
|
extern OBJREC *objblock[MAXOBJBLK]; /* the object blocks */ |
62 |
|
extern OBJECT nobjects; /* # of objects */ |
63 |
|
|
64 |
< |
#define objptr(obj) (objblock[(obj)>>6]+((obj)&077)) |
64 |
> |
#define OBJBLKSIZ 01000 /* object block size */ |
65 |
> |
#define objptr(obj) (objblock[(obj)>>9]+((obj)&0777)) |
66 |
|
|
67 |
|
#define OVOID (-1) /* void object */ |
68 |
|
#define VOIDID "void" /* void identifier */ |