| 1 |
|
#ifndef lint |
| 2 |
< |
static const char RCSid[] = "$Id$"; |
| 2 |
> |
static const char RCSid[] = "$Id"; |
| 3 |
|
#endif |
| 4 |
|
/* |
| 5 |
|
* Replace markers in Radiance scene description with objects or instances. |
| 7 |
|
* Created: 17 Feb 1991 Greg Ward |
| 8 |
|
*/ |
| 9 |
|
|
| 10 |
– |
#include <stdio.h> |
| 10 |
|
#include <stdlib.h> |
| 11 |
|
#include <ctype.h> |
| 12 |
|
#include <math.h> |
| 13 |
+ |
#include <stdio.h> |
| 14 |
|
|
| 15 |
+ |
#include "platform.h" |
| 16 |
+ |
#include "rtprocess.h" |
| 17 |
|
#include "fvect.h" |
| 18 |
|
|
| 19 |
|
#ifdef M_PI |
| 148 |
|
char *fname; |
| 149 |
|
FILE *fin; |
| 150 |
|
{ |
| 151 |
< |
FILE *pin, *popen(); |
| 151 |
> |
FILE *pin; |
| 152 |
|
char buf[512], *fgetline(); |
| 153 |
|
|
| 154 |
|
fgetline(buf, sizeof(buf), fin); |
| 170 |
|
char *fname; |
| 171 |
|
FILE *fin; |
| 172 |
|
{ |
| 173 |
+ |
extern char *fgetword(); |
| 174 |
|
char buf[128], typ[16], nam[128]; |
| 175 |
|
int i, n; |
| 176 |
|
register int j; |