18 |
|
#include "instance.h" |
19 |
|
#include "color.h" |
20 |
|
#include "data.h" |
21 |
+ |
#include "func.h" |
22 |
+ |
#include "ray.h" |
23 |
|
|
24 |
|
|
25 |
|
/* KEEP THIS ROUTINE CONSISTENT WITH THE DIFFERENT OBJECT FUNCTIONS! */ |
26 |
|
|
27 |
|
|
28 |
< |
int |
29 |
< |
load_os(op) /* load associated data for object */ |
30 |
< |
register OBJREC *op; |
28 |
> |
extern int |
29 |
> |
load_os( /* load associated data for object */ |
30 |
> |
register OBJREC *op |
31 |
> |
) |
32 |
|
{ |
33 |
|
DATARRAY *dp; |
34 |
|
|
123 |
|
return(0); |
124 |
|
sargerr: |
125 |
|
objerror(op, USER, "too few string arguments"); |
126 |
+ |
return 0; /* pro forma return */ |
127 |
|
} |
128 |
|
|
129 |
|
|
130 |
< |
void |
131 |
< |
preload_objs() /* preload object data structures */ |
130 |
> |
extern void |
131 |
> |
preload_objs(void) /* preload object data structures */ |
132 |
|
{ |
133 |
|
register OBJECT on; |
134 |
|
/* note that nobjects may change during loop */ |