GumpShapeArchive Class Reference

#include <GumpShapeArchive.h>

Inheritance diagram for GumpShapeArchive:

ShapeArchive Pentagram::Archive List of all members.

Public Member Functions

 ENABLE_RUNTIME_CLASSTYPE ()
 GumpShapeArchive (uint16 id_, Pentagram::Palette *pal_=0, const ConvertShapeFormat *format_=0)
 GumpShapeArchive (ArchiveFile *af, uint16 id_, Pentagram::Palette *pal_=0, const ConvertShapeFormat *format_=0)
 GumpShapeArchive (IDataSource *ds, uint16 id_, Pentagram::Palette *pal_=0, const ConvertShapeFormat *format_=0)
 GumpShapeArchive (const std::string &path, uint16 id_, Pentagram::Palette *pal_=0, const ConvertShapeFormat *format_=0)
virtual ~GumpShapeArchive ()
void loadGumpage (IDataSource *ds)
Pentagram::RectgetGumpItemArea (uint32 shapenum)

Protected Attributes

std::vector< Pentagram::Rect * > gumpItemArea

Detailed Description

Definition at line 26 of file GumpShapeArchive.h.


Constructor & Destructor Documentation

GumpShapeArchive::GumpShapeArchive ( uint16  id_,
Pentagram::Palette pal_ = 0,
const ConvertShapeFormat format_ = 0 
) [inline]

Definition at line 31 of file GumpShapeArchive.h.

GumpShapeArchive::GumpShapeArchive ( ArchiveFile af,
uint16  id_,
Pentagram::Palette pal_ = 0,
const ConvertShapeFormat format_ = 0 
) [inline]

Definition at line 34 of file GumpShapeArchive.h.

GumpShapeArchive::GumpShapeArchive ( IDataSource ds,
uint16  id_,
Pentagram::Palette pal_ = 0,
const ConvertShapeFormat format_ = 0 
) [inline]

Definition at line 37 of file GumpShapeArchive.h.

GumpShapeArchive::GumpShapeArchive ( const std::string &  path,
uint16  id_,
Pentagram::Palette pal_ = 0,
const ConvertShapeFormat format_ = 0 
) [inline]

Definition at line 40 of file GumpShapeArchive.h.

GumpShapeArchive::~GumpShapeArchive (  )  [virtual]

Definition at line 27 of file GumpShapeArchive.cpp.

References gumpItemArea.


Member Function Documentation

GumpShapeArchive::ENABLE_RUNTIME_CLASSTYPE (  ) 

Reimplemented from ShapeArchive.

Pentagram::Rect * GumpShapeArchive::getGumpItemArea ( uint32  shapenum  ) 

Definition at line 49 of file GumpShapeArchive.cpp.

References gumpItemArea.

void GumpShapeArchive::loadGumpage ( IDataSource ds  ) 

Definition at line 34 of file GumpShapeArchive.cpp.

References Pentagram::Archive::count, IDataSource::getSize(), gumpItemArea, IDataSource::read2(), x, and y.

Referenced by GameData::loadRemorseData(), and GameData::loadU8Data().


Member Data Documentation

std::vector<Pentagram::Rect*> GumpShapeArchive::gumpItemArea [protected]

Definition at line 51 of file GumpShapeArchive.h.

Referenced by getGumpItemArea(), loadGumpage(), and ~GumpShapeArchive().


The documentation for this class was generated from the following files:
Generated on Fri Jul 27 22:29:21 2007 for pentagram by  doxygen 1.4.7