13 |
|
#define SPROX 04 /* source proximity flag */ |
14 |
|
#define SSPOT 010 /* source spotlight flag */ |
15 |
|
|
16 |
+ |
#define AIMREQT 100 /* required aim success/failure */ |
17 |
+ |
|
18 |
|
typedef struct { |
19 |
|
float siz; /* output solid angle */ |
20 |
|
float flen; /* focal length */ |
30 |
|
float prox; /* proximity */ |
31 |
|
SPOT *s; /* spot */ |
32 |
|
} sl; /* localized source information */ |
33 |
+ |
int aimsuccess; /* aim successes - AIMREQT*failures */ |
34 |
|
long ntests, nhits; /* shadow tests and hits */ |
35 |
|
OBJREC *so; /* source object */ |
36 |
|
} SRCREC; /* light source */ |