| 30 |
|
#include "platform.h" |
| 31 |
|
#include "standard.h" |
| 32 |
|
#include "cmatrix.h" |
| 33 |
– |
#include "platform.h" |
| 33 |
|
#include "resolu.h" |
| 34 |
|
#include "cmglare.h" |
| 35 |
|
|
| 67 |
|
error(SYSTEM, errmsg); |
| 68 |
|
} |
| 69 |
|
dt = DTfromHeader; |
| 70 |
< |
if ((err = cm_getheader(&dt, NULL, NULL, NULL, fp)) != NULL) |
| 70 |
> |
if ((err = cm_getheader(&dt, NULL, NULL, NULL, NULL, fp)) != NULL) |
| 71 |
|
error(USER, err); |
| 72 |
|
if ((dt != DTrgbe) & (dt != DTxyze) || |
| 73 |
|
!fscnresolu(&xr, &yr, fp)) { |
| 300 |
|
if ((argc-a < 2) | (argc-a > 5)) |
| 301 |
|
goto userr; |
| 302 |
|
/* single bounce daylight coefficients file */ |
| 303 |
< |
direct_path = argv[++a]; |
| 303 |
> |
direct_path = argv[a++]; |
| 304 |
|
#else |
| 305 |
|
if ((argc-a < 1) | (argc-a > 4)) |
| 306 |
|
goto userr; |