Public Member Functions | |
| void | load (MSurface &backSurface, DepthSurface &depthSurface, const Common::Path &resName, int flags, Common::Array< PaletteCycle > *palCycles, SceneInfo *sceneInfo) |
| void | preLoad (const Common::Path &resName, int level) |
| void | startAnimation (int endTrigger) |
| void | update () |
| void | eraseSprites () |
| void | setNextFrameTimer (uint32 newTimer) |
| uint32 | getNextFrameTimer () const |
| void | setCurrentFrame (int frameNumber) |
| int | getCurrentFrame () const |
| bool | freeFlag () const |
| int | roomNumber () const |
| void | resetSpriteSetsCount () |
| SpriteAsset * | getSpriteSet (int idx) |
| Common::Point | getFramePosAdjust (int idx) |
Static Public Member Functions | |
| static Animation * | init (MADSEngine *vm, Scene *scene) |
Public Attributes | |
| AAHeader | _header |
| Common::Array< int > | _spriteListIndexes |
| Common::Array< AnimFrameEntry > | _frameEntries |
| Common::Array< AnimUIEntry > | _uiEntries |
| Common::Array< AnimMessage > | _messages |
| bool | _resetFlag |
| bool | _canChangeView |
| int | _currentFrame |
| int | _oldFrameEntry |
| int | _dynamicHotspotIndex |
Protected Member Functions | |
| Animation (MADSEngine *vm, Scene *scene) | |
| void MADS::Animation::load | ( | MSurface & | backSurface, |
| DepthSurface & | depthSurface, | ||
| const Common::Path & | resName, | ||
| int | flags, | ||
| Common::Array< PaletteCycle > * | palCycles, | ||
| SceneInfo * | sceneInfo | ||
| ) |
Loads animation data
| void MADS::Animation::preLoad | ( | const Common::Path & | resName, |
| int | level | ||
| ) |
Preload animation data for the scene
| void MADS::Animation::startAnimation | ( | int | endTrigger | ) |
Setups up a loaded animation for playback
| void MADS::Animation::update | ( | ) |
Update the animation
| void MADS::Animation::eraseSprites | ( | ) |
Erases any sprites from the previous animation frame