QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
pcx_t Struct Reference

A ZSoft PC Paintbrush (PCX) header. More...

Data Fields

char bits_per_pixel
 BPP: must be 8 for QF. More...
 
unsigned short bytes_per_line
 Number of bytes for a scan line (per plane). According to ZSoft, must be an even number. More...
 
char color_planes
 Number of color planes. More...
 
char encoding
 Coding used: must be 1. More...
 
char filler [58]
 
unsigned short hres
 
char manufacturer
 Manufacturer: Must be 10. More...
 
unsigned char palette [48]
 
unsigned short palette_type
 Palette info: 1 = color, 2 = greyscale. More...
 
char reserved
 should be 0 More...
 
char version
 PCX version: must be 5. More...
 
unsigned short vres
 resolution of image (DPI) More...
 
unsigned short xmax
 
unsigned short xmin
 
unsigned short ymax
 
unsigned short ymin
 

Detailed Description

A ZSoft PC Paintbrush (PCX) header.

Field Documentation

char bits_per_pixel

BPP: must be 8 for QF.

unsigned short bytes_per_line

Number of bytes for a scan line (per plane). According to ZSoft, must be an even number.

char color_planes

Number of color planes.

char encoding

Coding used: must be 1.

char filler[58]
unsigned short hres
char manufacturer

Manufacturer: Must be 10.

unsigned char palette[48]
unsigned short palette_type

Palette info: 1 = color, 2 = greyscale.

char reserved

should be 0

char version

PCX version: must be 5.

unsigned short vres

resolution of image (DPI)

unsigned short xmax
unsigned short xmin
unsigned short ymax
unsigned short ymin

The documentation for this struct was generated from the following file: