diff options
author | Alyssa Milburn | 2011-07-18 21:50:24 +0200 |
---|---|---|
committer | Alyssa Milburn | 2011-07-18 21:50:24 +0200 |
commit | c4e5cf96aca973297f463d1b327ffa35cf74b28c (patch) | |
tree | d5e35ba73123f5b4216a38fbbf396839123ca48e /engines/composer/composer.h | |
parent | e99f82368ae961dab835d6e724cac6c0595f5aa5 (diff) | |
download | scummvm-rg350-c4e5cf96aca973297f463d1b327ffa35cf74b28c.tar.gz scummvm-rg350-c4e5cf96aca973297f463d1b327ffa35cf74b28c.tar.bz2 scummvm-rg350-c4e5cf96aca973297f463d1b327ffa35cf74b28c.zip |
COMPOSER: Move graphics-related code into graphics.cpp.
Diffstat (limited to 'engines/composer/composer.h')
-rw-r--r-- | engines/composer/composer.h | 45 |
1 files changed, 2 insertions, 43 deletions
diff --git a/engines/composer/composer.h b/engines/composer/composer.h index 6fa10d9c9a..012bef160f 100644 --- a/engines/composer/composer.h +++ b/engines/composer/composer.h @@ -57,50 +57,9 @@ enum GameType { }; class Archive; +struct Animation; class ComposerEngine; - -struct Sprite { - uint16 _id; - uint16 _animId; - uint16 _zorder; - Common::Point _pos; - Graphics::Surface _surface; - - bool contains(const Common::Point &pos) const; -}; - -enum { - kAnimOpEvent = 1, - kAnimOpPlayWave = 2, - kAnimOpPlayAnim = 3, - kAnimOpDrawSprite = 4 -}; - -struct AnimationEntry { - uint32 state; - uint16 op; - uint16 priority; - uint16 counter; - uint16 prevValue; -}; - -struct Animation { - Animation(Common::SeekableReadStream *stream, uint16 id, Common::Point basePos, uint32 eventParam); - ~Animation(); - - void seekToCurrPos(); - - uint16 _id; - Common::Point _basePos; - uint32 _eventParam; - - uint32 _state; - - Common::Array<AnimationEntry> _entries; - - uint32 _offset; - Common::SeekableReadStream *_stream; -}; +struct Sprite; struct PipeResourceEntry { uint32 size; |