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

Public Member Functions

 FontShapeArchive (uint16 id, Palette *pal=0, const ConvertShapeFormat *format=0)
 
 FontShapeArchive (Common::SeekableReadStream *rs, uint16 id, Palette *pal=0, const ConvertShapeFormat *format=0)
 
void setHVLeads ()
 load HVLeads from u8.ini
 
ShapeFont * getFont (uint32 fontnum)
 
void cache (uint32 fontnum) override
 Cache a single object. More...
 
- 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)
 
Shape * getShape (uint32 shapenum)
 
void cache (uint32 shapenum) override
 Cache a single object. More...
 
void uncache (uint32 shapenum) override
 
bool isCached (uint32 shapenum) const override
 Check if an object is cached. More...
 
- 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.
 
virtual void cache (uint32 index)=0
 Cache a single object. More...
 
void uncache ()
 
virtual void uncache (uint32 index)=0
 
virtual bool isCached (uint32 index) const =0
 Check if an object is cached. More...
 
uint32 getCount () const
 

Additional Inherited Members

- Protected Member Functions inherited from Ultima::Ultima8::Archive
uint8 * getRawObject (uint32 index, uint32 *sizep=0)
 
uint32 getRawSize (uint32 index) const
 
- Protected Attributes inherited from Ultima::Ultima8::ShapeArchive
uint16 _id
 
const ConvertShapeFormat * _format
 
const Palette * _palette
 
Common::Array< Shape * > _shapes
 
- Protected Attributes inherited from Ultima::Ultima8::Archive
uint32 _count
 

Member Function Documentation

◆ cache()

void Ultima::Ultima8::FontShapeArchive::cache ( uint32  index)
overridevirtual

Cache a single object.

Implements Ultima::Ultima8::Archive.


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