diff options
Diffstat (limited to 'engines/prince/animation.h')
-rw-r--r-- | engines/prince/animation.h | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/engines/prince/animation.h b/engines/prince/animation.h index e6a76d33d2..b0ef25d493 100644 --- a/engines/prince/animation.h +++ b/engines/prince/animation.h @@ -23,13 +23,29 @@ #ifndef PRINCE_ANIMATION_H #define PRINCE_ANIMATION_H +#include "common/array.h" +#include "common/stream.h" + +#include "graphics/surface.h" + namespace Prince { -class Animation { +// FIXME: temp hack !!! +namespace Detail { + class Animation; +} +class Animation { +public: + Animation(); + ~Animation(); bool loadFromStream(Common::SeekableReadStream &stream); - const Graphics::Surface *getSurface(uint16 frameIndex) const; + const Graphics::Surface *getSurface(uint16 frameIndex); + +private: + Common::Array<Graphics::Surface *> _frameList; + Detail::Animation *_helper; }; } |