| 32 |
|
#include "ambient.h" |
| 33 |
|
#include "resolu.h" |
| 34 |
|
#include "source.h" |
| 35 |
+ |
#include "func.h" |
| 36 |
|
#include <ctype.h> |
| 37 |
|
#include <string.h> |
| 38 |
|
#include <sys/stat.h> |
| 76 |
|
int ambvwt = 0, ambssamp = 0, ambres = 32, ambounce = 0, |
| 77 |
|
directrelay = 1, directvis = 1, samplendx, do_irrad = 0, |
| 78 |
|
ambdiv = 128, vspretest = 512, maxdepth = 6, contrib = 0; |
| 79 |
< |
char *shm_boundary = NULL, *ambfile = NULL, *RCCONTEXT = NULL; |
| 79 |
> |
char *ambfile = NULL, *RCCONTEXT = NULL; |
| 80 |
|
void (*trace)() = NULL, (*addobjnotify [])() = {ambnotify, NULL}; |
| 81 |
|
|
| 82 |
|
|
| 192 |
|
progname = fixargv0(argv [0]); |
| 193 |
|
/* Initialize object types */ |
| 194 |
|
initotypes(); |
| 195 |
< |
|
| 195 |
> |
/* initialize calcomp routines */ |
| 196 |
> |
initfunc(); |
| 197 |
> |
|
| 198 |
|
/* Parse options */ |
| 199 |
|
for (i = 1; i < argc; i++) { |
| 200 |
|
/* Eggs-pand arguments */ |