| 59 |
|
int32 nextloc; |
| 60 |
|
int n; |
| 61 |
|
/* open holodeck file */ |
| 62 |
< |
if ((fp = fopen(fname, "r")) == NULL) { |
| 62 |
> |
if ((fp = fopen(fname, "rb")) == NULL) { |
| 63 |
|
sprintf(errmsg, "cannot open \"%s\"", fname); |
| 64 |
|
error(SYSTEM, errmsg); |
| 65 |
|
} |
| 85 |
|
|
| 86 |
|
void |
| 87 |
|
putgrid( /* run through holodeck section grid lines */ |
| 88 |
< |
register HOLO *hp |
| 88 |
> |
HOLO *hp |
| 89 |
|
) |
| 90 |
|
{ |
| 91 |
< |
register int w, i; |
| 91 |
> |
int w, i; |
| 92 |
|
int g0, g1; |
| 93 |
|
FVECT wp[2], mov; |
| 94 |
|
double d; |
| 135 |
|
|
| 136 |
|
void |
| 137 |
|
putline( /* put out a line */ |
| 138 |
< |
register FVECT wp[2] |
| 138 |
> |
FVECT wp[2] |
| 139 |
|
) |
| 140 |
|
{ |
| 141 |
|
static int cnt = 0; |