#include <MainShapeArchive.h>
Inheritance diagram for MainShapeArchive:
Public Member Functions | |
ENABLE_RUNTIME_CLASSTYPE () | |
MainShapeArchive (uint16 id_, Pentagram::Palette *pal_=0, const ConvertShapeFormat *format_=0) | |
MainShapeArchive (ArchiveFile *af, uint16 id_, Pentagram::Palette *pal_=0, const ConvertShapeFormat *format_=0) | |
MainShapeArchive (IDataSource *ds, uint16 id_, Pentagram::Palette *pal_=0, const ConvertShapeFormat *format_=0) | |
MainShapeArchive (const std::string &path, uint16 id_, Pentagram::Palette *pal_=0, const ConvertShapeFormat *format_=0) | |
virtual | ~MainShapeArchive () |
void | loadTypeFlags (IDataSource *ds) |
ShapeInfo * | getShapeInfo (uint32 shapenum) |
void | loadAnimDat (IDataSource *ds) |
ActorAnim * | getAnim (uint32 shape) const |
AnimAction * | getAnim (uint32 shape, uint32 action) const |
Protected Attributes | |
TypeFlags * | typeFlags |
AnimDat * | animdat |
Definition at line 30 of file MainShapeArchive.h.
MainShapeArchive::MainShapeArchive | ( | uint16 | id_, | |
Pentagram::Palette * | pal_ = 0 , |
|||
const ConvertShapeFormat * | format_ = 0 | |||
) | [inline] |
Definition at line 35 of file MainShapeArchive.h.
MainShapeArchive::MainShapeArchive | ( | ArchiveFile * | af, | |
uint16 | id_, | |||
Pentagram::Palette * | pal_ = 0 , |
|||
const ConvertShapeFormat * | format_ = 0 | |||
) | [inline] |
Definition at line 38 of file MainShapeArchive.h.
MainShapeArchive::MainShapeArchive | ( | IDataSource * | ds, | |
uint16 | id_, | |||
Pentagram::Palette * | pal_ = 0 , |
|||
const ConvertShapeFormat * | format_ = 0 | |||
) | [inline] |
Definition at line 41 of file MainShapeArchive.h.
MainShapeArchive::MainShapeArchive | ( | const std::string & | path, | |
uint16 | id_, | |||
Pentagram::Palette * | pal_ = 0 , |
|||
const ConvertShapeFormat * | format_ = 0 | |||
) | [inline] |
Definition at line 44 of file MainShapeArchive.h.
MainShapeArchive::~MainShapeArchive | ( | ) | [virtual] |
MainShapeArchive::ENABLE_RUNTIME_CLASSTYPE | ( | ) |
Reimplemented from ShapeArchive.
AnimAction * MainShapeArchive::getAnim | ( | uint32 | shape, | |
uint32 | action | |||
) | const |
Definition at line 71 of file MainShapeArchive.cpp.
References animdat, and AnimDat::getAnim().
Referenced by WpnOvlayDat::load().
Definition at line 53 of file MainShapeArchive.cpp.
References TypeFlags::getShapeInfo(), and typeFlags.
Referenced by ItemSorter::AddItem(), Item::getShapeInfoFromGameInstance(), Actor::giveTreasure(), and ShapeViewerGump::PaintThis().
void MainShapeArchive::loadAnimDat | ( | IDataSource * | ds | ) |
Definition at line 60 of file MainShapeArchive.cpp.
References animdat, and AnimDat::load().
Referenced by GameData::loadRemorseData(), and GameData::loadU8Data().
void MainShapeArchive::loadTypeFlags | ( | IDataSource * | ds | ) |
Definition at line 42 of file MainShapeArchive.cpp.
References TypeFlags::load(), and typeFlags.
Referenced by GameData::loadRemorseData(), and GameData::loadU8Data().
AnimDat* MainShapeArchive::animdat [protected] |
Definition at line 60 of file MainShapeArchive.h.
Referenced by getAnim(), loadAnimDat(), and ~MainShapeArchive().
TypeFlags* MainShapeArchive::typeFlags [protected] |
Definition at line 59 of file MainShapeArchive.h.
Referenced by getShapeInfo(), loadTypeFlags(), and ~MainShapeArchive().