diff options
author | Eugene Sandulenko | 2013-07-29 14:28:47 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2013-09-06 14:51:08 +0300 |
commit | 8cceaae590792b8a96b295530288437b17b21437 (patch) | |
tree | 2fa1eb2cf1fb8ca3a5ed581f66d34e8605480ad1 /engines/fullpipe/gfx.h | |
parent | 795a926744d4b39604fe8710a402bdb0cda5f79c (diff) | |
download | scummvm-rg350-8cceaae590792b8a96b295530288437b17b21437.tar.gz scummvm-rg350-8cceaae590792b8a96b295530288437b17b21437.tar.bz2 scummvm-rg350-8cceaae590792b8a96b295530288437b17b21437.zip |
FULLPIPE: Implement StaticANIObject::draw()
Diffstat (limited to 'engines/fullpipe/gfx.h')
-rw-r--r-- | engines/fullpipe/gfx.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/engines/fullpipe/gfx.h b/engines/fullpipe/gfx.h index 81de8ec1c0..1dbdd28b44 100644 --- a/engines/fullpipe/gfx.h +++ b/engines/fullpipe/gfx.h @@ -30,10 +30,6 @@ namespace Fullpipe { class DynamicPhase; class Movement; -class ShadowsItemArray : public CObArray { - // empty -}; - struct Bitmap { int _x; int _y; @@ -62,6 +58,7 @@ class Picture : public MemoryObject { friend class DynamicPhase; friend class PictureObject; friend class CInputController; + friend class StaticANIObject; Common::Rect _rect; Bitmap *_convertedBitmap; @@ -168,6 +165,14 @@ class Background : public CObject { void addPictureObject(PictureObject *pct); }; +struct ShadowsItem { + int width; + int height; + DynamicPhase *dynPhase; +}; + +typedef Common::Array<ShadowsItem> ShadowsItemArray; + class Shadows : public CObject { int _sceneId; int _staticAniObjectId; @@ -180,12 +185,7 @@ class Shadows : public CObject { void init(); void initMovement(Movement *mov); -}; - -struct ShadowsItem { - int width; - int height; - DynamicPhase *dynPhase; + DynamicPhase *findSize(int width, int height); }; } // End of namespace Fullpipe |