aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood/module.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/neverhood/module.cpp')
-rw-r--r--engines/neverhood/module.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/neverhood/module.cpp b/engines/neverhood/module.cpp
index 5be9a6321f..1cd6c0d0b1 100644
--- a/engines/neverhood/module.cpp
+++ b/engines/neverhood/module.cpp
@@ -23,6 +23,7 @@
#include "neverhood/module.h"
#include "neverhood/navigationscene.h"
#include "neverhood/smackerscene.h"
+#include "neverhood/module1000.h"
namespace Neverhood {
@@ -93,6 +94,10 @@ void Module::createSmackerScene(const uint32 *fileHashList, bool doubleSurface,
_childObject = smackerScene;
}
+void Module::createStaticScene(uint32 backgroundFileHash, uint32 cursorFileHash) {
+ _childObject = new StaticScene(_vm, this, backgroundFileHash, cursorFileHash);
+}
+
bool Module::updateChild() {
if (_childObject) {
_childObject->handleUpdate();