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

Public Member Functions

 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

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
 

Member Function Documentation

◆ uncache()

void Ultima::Ultima8::ShapeArchive::uncache ( uint32  index)
overridevirtual

Uncache a single object Potentially dangerous. See uncache()

Implements Ultima::Ultima8::Archive.


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