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) | |
| Shape * | getShape (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 |
|
overridevirtual |
Uncache a single object Potentially dangerous. See uncache()
Implements Ultima::Ultima8::Archive.