diff options
Diffstat (limited to 'engines/neverhood/module.cpp')
-rw-r--r-- | engines/neverhood/module.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/engines/neverhood/module.cpp b/engines/neverhood/module.cpp index 36607d771f..93b4134f6b 100644 --- a/engines/neverhood/module.cpp +++ b/engines/neverhood/module.cpp @@ -67,7 +67,6 @@ uint32 Module::handleMessage(int messageNum, const MessageParam ¶m, Entity * } NavigationScene *Module::navigationScene() { - // Not so nice return (NavigationScene*)_childObject; } @@ -76,19 +75,17 @@ void Module::createNavigationScene(uint32 navigationListId, int navigationIndex, _childObject = new NavigationScene(_vm, this, navigationListId, navigationIndex, itemsTypes); } -void Module::createSmackerScene(uint32 fileHash, bool doubleSurface, bool flag1, bool canAbort) { - SmackerScene *smackerScene; +void Module::createSmackerScene(uint32 fileHash, bool doubleSurface, bool canSkip, bool canAbort) { _sceneType = kSceneTypeSmacker; - smackerScene = new SmackerScene(_vm, this, doubleSurface, flag1, canAbort); + SmackerScene *smackerScene = new SmackerScene(_vm, this, doubleSurface, canSkip, canAbort); smackerScene->setFileHash(fileHash); smackerScene->nextVideo(); _childObject = smackerScene; } -void Module::createSmackerScene(const uint32 *fileHashList, bool doubleSurface, bool flag1, bool canAbort) { - SmackerScene *smackerScene; +void Module::createSmackerScene(const uint32 *fileHashList, bool doubleSurface, bool canSkip, bool canAbort) { _sceneType = kSceneTypeSmacker; - smackerScene = new SmackerScene(_vm, this, doubleSurface, flag1, canAbort); + SmackerScene *smackerScene = new SmackerScene(_vm, this, doubleSurface, canSkip, canAbort); smackerScene->setFileHashList(fileHashList); smackerScene->nextVideo(); _childObject = smackerScene; |