home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 1B
/
DATAFILE_PDCD1B.iso
/
_pocketbk
/
pocketbook
/
opl
/
pbm2p008_t
/
pbm2p008_t~
/
conv
/
pic.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-12-16
|
641b
|
28 lines
/* Note: short & long is VAX/x86 order (wrong) */
typedef unsigned char UBYTE;
typedef unsigned short UWORD;
typedef unsigned long ULONG;
typedef struct p_point
{
UWORD x, y;
} P_POINT;
#define PIC_MAGIC "PIC\334"
struct P_FSIG
{
UBYTE id[4]; /* 'PIC\xdc' */
UBYTE file_ver; /* 0x30 */
UBYTE app_ver; /* 0x30 */
UWORD count; /* number of bitmaps in file */
};
struct WS_PIC_HEADER
{
UWORD crc; /* crc16 of data (ex header) */
P_POINT size; /* UWORD x, UWORD y, I think */
UWORD byte_size; /* size of bitmap data */
ULONG offset; /* offset of bitmap data in file */
};