diff options
Diffstat (limited to 'engines/neverhood/scene.h')
-rw-r--r-- | engines/neverhood/scene.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/neverhood/scene.h b/engines/neverhood/scene.h index e3ed273d42..067e86f5fc 100644 --- a/engines/neverhood/scene.h +++ b/engines/neverhood/scene.h @@ -37,6 +37,8 @@ namespace Neverhood { +#define InsertKlayman(KlaymanClass, X, Y, InitArgs) _klayman = new KlaymanClass(_vm, this, X, Y); ((KlaymanClass*)_klayman)->init InitArgs; addSprite(_klayman) + class Scene : public Entity { public: Scene(NeverhoodEngine *vm, Module *parentModule, bool clearHitRects); @@ -50,6 +52,9 @@ public: void setSurfacePriority(BaseSurface *surface, int priority); void deleteSprite(Sprite **sprite); Background *addBackground(Background *background); + void setBackground(uint32 fileHash, bool dirtyBackground = true); + void changeBackground(uint32 fileHash); + Sprite *insertStaticSprite(uint32 fileHash, int surfacePriority); SmackerPlayer *addSmackerPlayer(SmackerPlayer *smackerPlayer); void update(); protected: |