aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood/neverhood.h
diff options
context:
space:
mode:
authorFilippos Karapetis2013-06-26 12:40:54 +0300
committerFilippos Karapetis2013-06-26 12:42:10 +0300
commit3d373281b440d5d139fbb01ef1ffa0ad0a76b3e8 (patch)
tree0334907c1000feb29a908067e8f274f8ced143f8 /engines/neverhood/neverhood.h
parente26fb8e7d239052d9645aa0bfb75500ddc3aa132 (diff)
downloadscummvm-rg350-3d373281b440d5d139fbb01ef1ffa0ad0a76b3e8.tar.gz
scummvm-rg350-3d373281b440d5d139fbb01ef1ffa0ad0a76b3e8.tar.bz2
scummvm-rg350-3d373281b440d5d139fbb01ef1ffa0ad0a76b3e8.zip
NEVERHOOD: Stop sound updates while the main menu is active
Diffstat (limited to 'engines/neverhood/neverhood.h')
-rw-r--r--engines/neverhood/neverhood.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/neverhood/neverhood.h b/engines/neverhood/neverhood.h
index 18f2cc9f64..39bc9cef2c 100644
--- a/engines/neverhood/neverhood.h
+++ b/engines/neverhood/neverhood.h
@@ -134,7 +134,10 @@ public:
int16 getMouseY() const { return _mouseY; }
NPoint getMousePos();
-public:
+ void toggleSoundUpdate(bool state) { _updateSound = state; }
+
+private:
+ bool _updateSound;
};