1 |
< |
/* Copyright 1988 Regents of the University of California */ |
2 |
< |
|
3 |
< |
/* SCCSid "$SunId$ LBL" */ |
4 |
< |
|
1 |
> |
/* RCSid $Id$ */ |
2 |
|
/* |
3 |
|
* tardev.h - header file for reading and writing Targa format files. |
7 |
– |
* |
8 |
– |
* 8/25/88 |
4 |
|
*/ |
5 |
+ |
#ifndef _RAD_TARGA_H_ |
6 |
+ |
#define _RAD_TARGA_H_ |
7 |
+ |
#ifdef __cplusplus |
8 |
+ |
extern "C" { |
9 |
+ |
#endif |
10 |
+ |
|
11 |
+ |
#include "copyright.h" |
12 |
+ |
|
13 |
|
/* header structure adapted from tardev.h */ |
14 |
|
struct hdStruct { |
15 |
|
char textSize; /* size of info. line ( < 256) */ |
39 |
|
#define CM_HASMAP 1 /* has color map */ |
40 |
|
|
41 |
|
#define bits_bytes(n) (((n)+7)>>3) /* number of bits to number of bytes */ |
42 |
+ |
|
43 |
+ |
|
44 |
+ |
#ifdef __cplusplus |
45 |
+ |
} |
46 |
+ |
#endif |
47 |
+ |
#endif /* _RAD_TARGA_H_ */ |