26 |
|
#define DCLIN (unsigned)(1L<<11) /* linear depth limit */ |
27 |
|
|
28 |
|
typedef struct { |
29 |
< |
BYTE r[2][2]; /* ray direction index */ |
29 |
> |
uby8 r[2][2]; /* ray direction index */ |
30 |
|
COLR v; /* color value */ |
31 |
|
uint16 d; /* depth code (from entry wall) */ |
32 |
|
} RAYVAL; /* ray value */ |
165 |
|
extern unsigned int hdcode(HOLO *hp, double d); |
166 |
|
extern void hdgrid( FVECT gp, HOLO *hp, FVECT wp); |
167 |
|
extern void hdworld(FVECT wp, HOLO *hp, FVECT gp); |
168 |
< |
extern double hdray(FVECT ro, FVECT rd, HOLO *hp, GCOORD gc[2], BYTE r[2][2]); |
169 |
< |
extern double hdinter(GCOORD gc[2], BYTE r[2][2], double *ed, HOLO *hp, |
168 |
> |
extern double hdray(FVECT ro, FVECT rd, HOLO *hp, GCOORD gc[2], uby8 r[2][2]); |
169 |
> |
extern double hdinter(GCOORD gc[2], uby8 r[2][2], double *ed, HOLO *hp, |
170 |
|
FVECT ro, FVECT rd); |
171 |
|
/* holofile.c */ |
172 |
|
extern HOLO * hdinit(int fd, HDGRID *hproto); |