| 75 |
|
#define H_OBST 02 |
| 76 |
|
#define H_OBSF 04 |
| 77 |
|
|
| 78 |
+ |
int |
| 79 |
|
holheadline(s, hf) /* check holodeck header line */ |
| 80 |
|
register char *s; |
| 81 |
|
int *hf; |
| 87 |
|
*hf |= H_BADF; |
| 88 |
|
else |
| 89 |
|
*hf &= ~H_BADF; |
| 90 |
< |
return; |
| 90 |
> |
return(0); |
| 91 |
|
} |
| 92 |
|
if (!strncmp(s, "OBSTRUCTIONS=", 13)) { |
| 93 |
|
s += 13; |
| 98 |
|
*hf |= H_OBSF; |
| 99 |
|
else |
| 100 |
|
error(WARNING, "bad OBSTRUCTIONS value in holodeck"); |
| 101 |
< |
return; |
| 101 |
> |
return(0); |
| 102 |
|
} |
| 103 |
+ |
return(0); |
| 104 |
|
} |
| 105 |
|
|
| 106 |
|
int |
| 249 |
|
}; |
| 250 |
|
|
| 251 |
|
|
| 252 |
+ |
int |
| 253 |
|
picheadline(s, ph) /* process picture header line */ |
| 254 |
|
char *s; |
| 255 |
|
struct phead *ph; |
| 258 |
|
|
| 259 |
|
if (formatval(fmt, s)) { |
| 260 |
|
ph->badfmt = strcmp(fmt, COLRFMT); |
| 261 |
< |
return; |
| 261 |
> |
return(0); |
| 262 |
|
} |
| 263 |
|
if (isprims(s)) { |
| 264 |
|
ph->altprims++; /* don't want to deal with this */ |
| 265 |
< |
return; |
| 265 |
> |
return(0); |
| 266 |
|
} |
| 267 |
|
if (isexpos(s)) { |
| 268 |
|
ph->expos *= exposval(s); |
| 269 |
< |
return; |
| 269 |
> |
return(0); |
| 270 |
|
} |
| 271 |
|
if (isview(s)) { |
| 272 |
|
ph->gotview += sscanview(&ph->vw, s); |
| 273 |
< |
return; |
| 273 |
> |
return(0); |
| 274 |
|
} |
| 275 |
+ |
return(0); |
| 276 |
|
} |
| 277 |
|
|
| 278 |
|
|