tpcxheader Struct Reference

List of all members.

Public Member Functions

void read (tnstream *stream)
void write (tnstream *stream)

Public Attributes

char manufacturer
char version
char encoding
char bitsperpixel
Uint16 xmin
Uint16 ymin
Uint16 xmax
Uint16 ymax
Uint16 hdpi
Uint16 vdpi
char colormap [48]
char reserved
char nplanes
Uint16 bytesperline
Uint16 paletteinfo
Uint16 hscreensize
Uint16 vscreensize
char dummy [50]
int size

Detailed Description

Definition at line 38 of file loadpcxc.cpp.


Member Function Documentation

void tpcxheader::read ( tnstream stream  ) 

Definition at line 60 of file loadpcxc.cpp.

References bitsperpixel, bytesperline, colormap, dummy, encoding, hdpi, hscreensize, manufacturer, nplanes, paletteinfo, tnstream::readChar(), tnstream::readdata(), tnstream::readInt(), tnstream::readWord(), reserved, size, vdpi, version, vscreensize, xmax, xmin, ymax, and ymin.

void tpcxheader::write ( tnstream stream  ) 

Definition at line 83 of file loadpcxc.cpp.

References bitsperpixel, bytesperline, colormap, dummy, encoding, hdpi, hscreensize, manufacturer, nplanes, paletteinfo, reserved, size, vdpi, version, vscreensize, tnstream::writeChar(), tnstream::writedata(), tnstream::writeInt(), tnstream::writeWord(), xmax, xmin, ymax, and ymin.


Member Data Documentation

char tpcxheader::manufacturer

Definition at line 39 of file loadpcxc.cpp.

Referenced by read(), and write().

char tpcxheader::version

Definition at line 40 of file loadpcxc.cpp.

Referenced by read(), and write().

char tpcxheader::encoding

Definition at line 41 of file loadpcxc.cpp.

Referenced by read(), and write().

char tpcxheader::bitsperpixel

Definition at line 42 of file loadpcxc.cpp.

Referenced by read(), and write().

Uint16 tpcxheader::xmin

Definition at line 43 of file loadpcxc.cpp.

Referenced by read(), and write().

Uint16 tpcxheader::ymin

Definition at line 43 of file loadpcxc.cpp.

Referenced by read(), and write().

Uint16 tpcxheader::xmax

Definition at line 44 of file loadpcxc.cpp.

Referenced by read(), and write().

Uint16 tpcxheader::ymax

Definition at line 44 of file loadpcxc.cpp.

Referenced by read(), and write().

Uint16 tpcxheader::hdpi

Definition at line 45 of file loadpcxc.cpp.

Referenced by read(), and write().

Uint16 tpcxheader::vdpi

Definition at line 45 of file loadpcxc.cpp.

Referenced by read(), and write().

char tpcxheader::colormap[48]

Definition at line 46 of file loadpcxc.cpp.

Referenced by read(), and write().

char tpcxheader::reserved

Definition at line 47 of file loadpcxc.cpp.

Referenced by read(), and write().

char tpcxheader::nplanes

Definition at line 48 of file loadpcxc.cpp.

Referenced by read(), and write().

Uint16 tpcxheader::bytesperline

Definition at line 49 of file loadpcxc.cpp.

Referenced by read(), and write().

Uint16 tpcxheader::paletteinfo

Definition at line 50 of file loadpcxc.cpp.

Referenced by read(), and write().

Uint16 tpcxheader::hscreensize

Definition at line 51 of file loadpcxc.cpp.

Referenced by read(), and write().

Uint16 tpcxheader::vscreensize

Definition at line 52 of file loadpcxc.cpp.

Referenced by read(), and write().

char tpcxheader::dummy[50]

Definition at line 53 of file loadpcxc.cpp.

Referenced by read(), and write().

int tpcxheader::size

Definition at line 54 of file loadpcxc.cpp.

Referenced by read(), and write().


The documentation for this struct was generated from the following file:
Generated on Mon May 21 01:47:53 2012 for Advanced Strategic Command by  doxygen 1.5.1