| 29 |
|
|
| 30 |
|
#undef NOPROTO |
| 31 |
|
#define NOPROTO 1 |
| 32 |
+ |
#include "color.h" |
| 33 |
|
#include "tonemap.h" |
| 34 |
|
#include "view.h" |
| 35 |
|
#include "x11raster.h" |
| 36 |
|
#include "random.h" |
| 37 |
|
#include "resolu.h" |
| 38 |
|
|
| 38 |
– |
#ifndef int4 |
| 39 |
– |
#define int4 int /* most int's are 32-bit */ |
| 40 |
– |
#endif |
| 41 |
– |
|
| 39 |
|
#define FONTNAME "8x13" /* text font we'll use */ |
| 40 |
|
|
| 41 |
|
#define CTRL(c) ((c)-'@') |
| 250 |
|
} |
| 251 |
|
|
| 252 |
|
|
| 253 |
+ |
int |
| 254 |
|
headline(s) /* get relevant info from header */ |
| 255 |
|
char *s; |
| 256 |
|
{ |
| 262 |
|
wrongformat = strcmp(fmt, COLRFMT); |
| 263 |
|
else if (isview(s) && sscanview(&ourview, s) > 0) |
| 264 |
|
gotview++; |
| 265 |
+ |
return(0); |
| 266 |
|
} |
| 267 |
|
|
| 268 |
|
|