Public Member Functions | |
| AnimationResource (const Common::String &filename) | |
| const Frame & | getFrame (uint index) const override |
| uint | getFrameCount () const override |
| void | unlock () override |
| Animation::ANIMATION_TYPES | getAnimationType () const |
| int | getFPS () const |
| int | getMillisPerFrame () const |
| bool | isScalingAllowed () const |
| bool | isAlphaAllowed () const |
| bool | isColorModulationAllowed () const |
| bool | isValid () const |
Public Member Functions inherited from Sword25::Resource | |
| Resource (const Common::String &uniqueFileName, RESOURCE_TYPES type) | |
| void | addReference () |
| void | release () |
| int | getLockCount () const |
| const Common::String & | getFileName () const |
| uint | getType () const |
Public Member Functions inherited from Sword25::AnimationDescription | |
| Animation::ANIMATION_TYPES | getAnimationType () const |
| int | getFPS () const |
| int | getMillisPerFrame () const |
| bool | isScalingAllowed () const |
| bool | isAlphaAllowed () const |
| bool | isColorModulationAllowed () const |
| bool | persist (OutputPersistenceBlock &writer) override |
| bool | unpersist (InputPersistenceBlock &reader) override |
Public Member Functions inherited from Common::XMLParser | |
| XMLParser () | |
| ParserNode * | allocNode () |
| void | freeNode (ParserNode *node) |
| bool | loadFile (const Path &filename) |
| bool | loadFile (const FSNode &node) |
| bool | loadBuffer (const byte *buffer, uint32 size, DisposeAfterUse::Flag disposable=DisposeAfterUse::NO) |
| bool | loadStream (SeekableReadStream *stream, const String &name="File Stream") |
| void | close () |
| bool | parse () |
| ParserNode * | getActiveNode () |
| ParserNode * | getParentNode (ParserNode *child) |
| void | setAllowText () |
Additional Inherited Members | |
Public Types inherited from Sword25::Resource | |
| enum | RESOURCE_TYPES { TYPE_UNKNOWN, TYPE_BITMAP, TYPE_ANIMATION, TYPE_SOUND, TYPE_FONT } |
Public Types inherited from Common::XMLParser | |
| enum | ParserState { kParserNeedHeader, kParserNeedKey, kParserNeedKeyName, kParserNeedPropertyName, kParserNeedPropertyOperator, kParserNeedPropertyValue, kParserError } |
| typedef HashMap< String, XMLParser::XMLKeyLayout *, IgnoreCase_Hash, IgnoreCase_EqualTo > | ChildMap |
Public Attributes inherited from Common::XMLParser | |
| XMLKeyLayout * | _XMLkeys |
| ObjectPool< ParserNode, 8 > | _nodePool |
Protected Member Functions inherited from Common::XMLParser | |
| virtual void | buildLayout ()=0 |
| virtual bool | keyCallback (ParserNode *node)=0 |
| virtual bool | closedKeyCallback (ParserNode *node) |
| virtual bool | textCallback (const String &val) |
| bool | closeKey () |
| bool | parseKeyValue (String keyName) |
| bool | parseActiveKey (bool closed) |
| bool | parserError (const String &errStr) |
| bool | skipSpaces () |
| bool | skipComments () |
| virtual bool | isValidNameChar (char c) |
| bool | parseToken () |
| bool | parseIntegerKey (const char *key, int count,...) |
| bool | parseIntegerKey (const String &keyStr, int count,...) |
| bool | vparseIntegerKey (const char *key, int count, va_list args) |
| bool | parseXMLHeader (ParserNode *node) |
| virtual void | cleanup () |
| virtual bool | handleUnknownKey (ParserNode *node) |
Protected Attributes inherited from Sword25::AnimationDescription | |
| Animation::ANIMATION_TYPES | _animationType |
| int32 | _FPS |
| int32 | _millisPerFrame |
| bool | _scalingAllowed |
| bool | _alphaAllowed |
| bool | _colorModulationAllowed |
Protected Attributes inherited from Common::XMLParser | |
| List< XMLKeyLayout * > | _layoutList |