ScummVM API documentation
Ultima::Ultima8::MainShapeArchive Class Reference
Inheritance diagram for Ultima::Ultima8::MainShapeArchive:
Ultima::Ultima8::ShapeArchive Ultima::Ultima8::Archive

Public Member Functions

 MainShapeArchive (uint16 id, const Palette *pal=0, const ConvertShapeFormat *format=0)
 
 MainShapeArchive (Common::SeekableReadStream *rs, uint16 id, const Palette *pal=0, const ConvertShapeFormat *format=0)
 
void loadTypeFlags (Common::SeekableReadStream *rs)
 
void loadDamageDat (Common::SeekableReadStream *rs)
 
const ShapeInfogetShapeInfo (uint32 shapenum)
 
void loadAnimDat (Common::SeekableReadStream *rs)
 
const ActorAnimgetAnim (uint32 shape) const
 
const AnimActiongetAnim (uint32 shape, uint32 action) const
 
- Public Member Functions inherited from Ultima::Ultima8::ShapeArchive
 ShapeArchive (uint16 id, const Palette *pal=0, const ConvertShapeFormat *format=0)
 
 ShapeArchive (Common::SeekableReadStream *rs, uint16 id, const Palette *pal=0, const ConvertShapeFormat *format=0)
 
ShapegetShape (uint32 shapenum)
 
void cache (uint32 shapenum) override
 Cache a single object.
 
void uncache (uint32 shapenum) override
 
bool isCached (uint32 shapenum) const override
 Check if an object is cached.
 
- Public Member Functions inherited from Ultima::Ultima8::Archive
 Archive ()
 create Archive without any input sources
 
 Archive (Common::SeekableReadStream *rs)
 
bool addSource (FlexFile *af)
 
bool addSource (Common::SeekableReadStream *rs)
 add input source, autodetecting the type (as the constructor)
 
void cache ()
 Cache all objects.
 
void uncache ()
 
uint32 getCount () const
 

Protected Attributes

TypeFlags_typeFlags
 
AnimDat_animDat
 
- Protected Attributes inherited from Ultima::Ultima8::ShapeArchive
uint16 _id
 
const ConvertShapeFormat_format
 
const Palette_palette
 
Std::vector< Shape * > _shapes
 
- Protected Attributes inherited from Ultima::Ultima8::Archive
uint32 _count
 

Additional Inherited Members

- Protected Member Functions inherited from Ultima::Ultima8::Archive
uint8 * getRawObject (uint32 index, uint32 *sizep=0)
 
uint32 getRawSize (uint32 index) const
 

The documentation for this class was generated from the following file: