#include <GumpShapeArchive.h>
Inheritance diagram for GumpShapeArchive:
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::Rect * | getGumpItemArea (uint32 shapenum) |
Protected Attributes | |
std::vector< Pentagram::Rect * > | gumpItemArea |
Definition at line 26 of file GumpShapeArchive.h.
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] |
GumpShapeArchive::ENABLE_RUNTIME_CLASSTYPE | ( | ) |
Reimplemented from ShapeArchive.
Pentagram::Rect * GumpShapeArchive::getGumpItemArea | ( | uint32 | shapenum | ) |
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().
std::vector<Pentagram::Rect*> GumpShapeArchive::gumpItemArea [protected] |
Definition at line 51 of file GumpShapeArchive.h.
Referenced by getGumpItemArea(), loadGumpage(), and ~GumpShapeArchive().