MainShapeArchive Class Reference

#include <MainShapeArchive.h>

Inheritance diagram for MainShapeArchive:

ShapeArchive Pentagram::Archive List of all members.

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)
ShapeInfogetShapeInfo (uint32 shapenum)
void loadAnimDat (IDataSource *ds)
ActorAnimgetAnim (uint32 shape) const
AnimActiongetAnim (uint32 shape, uint32 action) const

Protected Attributes

TypeFlagstypeFlags
AnimDatanimdat

Detailed Description

Definition at line 30 of file MainShapeArchive.h.


Constructor & Destructor Documentation

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]

Definition at line 29 of file MainShapeArchive.cpp.

References animdat, and typeFlags.


Member Function Documentation

MainShapeArchive::ENABLE_RUNTIME_CLASSTYPE (  ) 

Reimplemented from ShapeArchive.

AnimAction * MainShapeArchive::getAnim ( uint32  shape,
uint32  action 
) const

Definition at line 78 of file MainShapeArchive.cpp.

References animdat, and AnimDat::getAnim().

ActorAnim * MainShapeArchive::getAnim ( uint32  shape  )  const

Definition at line 71 of file MainShapeArchive.cpp.

References animdat, and AnimDat::getAnim().

Referenced by WpnOvlayDat::load().

ShapeInfo * MainShapeArchive::getShapeInfo ( uint32  shapenum  ) 

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().


Member Data Documentation

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().


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