diff options
author | Eugene Sandulenko | 2013-07-26 00:14:47 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2013-09-06 14:51:06 +0300 |
commit | b18f08d93bc1e7f681a830413b0e57fad61faff3 (patch) | |
tree | 87515374c5b1ea377d0e79096bf656fc4ff5d8f3 /engines/fullpipe/gfx.cpp | |
parent | 7f332e1f208344f88d1cfd1899743eb7dd5403de (diff) | |
download | scummvm-rg350-b18f08d93bc1e7f681a830413b0e57fad61faff3.tar.gz scummvm-rg350-b18f08d93bc1e7f681a830413b0e57fad61faff3.tar.bz2 scummvm-rg350-b18f08d93bc1e7f681a830413b0e57fad61faff3.zip |
FULLPIPE: Started Statics drawing
Diffstat (limited to 'engines/fullpipe/gfx.cpp')
-rw-r--r-- | engines/fullpipe/gfx.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/engines/fullpipe/gfx.cpp b/engines/fullpipe/gfx.cpp index 79de4ef5ae..a4dec6969e 100644 --- a/engines/fullpipe/gfx.cpp +++ b/engines/fullpipe/gfx.cpp @@ -24,6 +24,8 @@ #include "fullpipe/objects.h" #include "fullpipe/gfx.h" +#include "fullpipe/statics.h" +#include "fullpipe/scene.h" #include "common/memstream.h" @@ -700,5 +702,20 @@ bool Shadows::load(MfcArchive &file) { return true; } +void Shadows::init() { + Scene *scene = g_fullpipe->accessScene(_sceneId); + + StaticANIObject *st; + Movement *mov; + + if (scene && (st = scene->getStaticANIObject1ById(_staticAniObjectId, -1)) != 0 + && ((mov = st->getMovementById(_movementId)) != 0)) + initMovement(mov); +} + +void Shadows::initMovement(Movement *mov) { + warning("STUB: Shadows::initMovement()"); +} + } // End of namespace Fullpipe |