diff options
author | Johannes Schickel | 2008-05-02 17:14:59 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-05-02 17:14:59 +0000 |
commit | a829244b8ce5f5444e5c109aba6b8744d6327d7b (patch) | |
tree | f2a59570bece7b9d401f1a3b56fd889ca4786f4b /engines/kyra/animator_v1.h | |
parent | c84b3719575cc26ad8f68c41191bd6e9f79f5249 (diff) | |
download | scummvm-rg350-a829244b8ce5f5444e5c109aba6b8744d6327d7b.tar.gz scummvm-rg350-a829244b8ce5f5444e5c109aba6b8744d6327d7b.tar.bz2 scummvm-rg350-a829244b8ce5f5444e5c109aba6b8744d6327d7b.zip |
- Renamed ScreenAnimator -> Animator_v1
- Moved addItemToAnimList and deleteItemAnimEntry to KyraEngine_v2.
svn-id: r31831
Diffstat (limited to 'engines/kyra/animator_v1.h')
-rw-r--r-- | engines/kyra/animator_v1.h | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/engines/kyra/animator_v1.h b/engines/kyra/animator_v1.h index 7bfb872651..3ae0b23da4 100644 --- a/engines/kyra/animator_v1.h +++ b/engines/kyra/animator_v1.h @@ -23,38 +23,38 @@ * */ -#ifndef KYRA_ANIMATOR_H -#define KYRA_ANIMATOR_H +#ifndef KYRA_ANIMATOR_V1_H +#define KYRA_ANIMATOR_V1_H namespace Kyra { class KyraEngine_v1; class Screen; -struct AnimObject { - uint8 index; - uint32 active; - uint32 refreshFlag; - uint32 bkgdChangeFlag; - bool disable; - uint32 flags; - int16 drawY; - uint8 *sceneAnimPtr; - int16 animFrameNumber; - uint8 *background; - uint16 rectSize; - int16 x1, y1; - int16 x2, y2; - uint16 width; - uint16 height; - uint16 width2; - uint16 height2; - AnimObject *nextAnimObject; -}; - -class ScreenAnimator { +class Animator_v1 { public: - ScreenAnimator(KyraEngine_v1 *vm, OSystem *system); - virtual ~ScreenAnimator(); + struct AnimObject { + uint8 index; + uint32 active; + uint32 refreshFlag; + uint32 bkgdChangeFlag; + bool disable; + uint32 flags; + int16 drawY; + uint8 *sceneAnimPtr; + int16 animFrameNumber; + uint8 *background; + uint16 rectSize; + int16 x1, y1; + int16 x2, y2; + uint16 width; + uint16 height; + uint16 width2; + uint16 height2; + AnimObject *nextAnimObject; + }; + + Animator_v1(KyraEngine_v1 *vm, OSystem *system); + virtual ~Animator_v1(); operator bool() const { return _initOk; } |