aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood/resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/neverhood/resource.h')
-rw-r--r--engines/neverhood/resource.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/neverhood/resource.h b/engines/neverhood/resource.h
index 969f46d3e7..7540956954 100644
--- a/engines/neverhood/resource.h
+++ b/engines/neverhood/resource.h
@@ -103,8 +103,10 @@ protected:
class SoundResource {
public:
- SoundResource(NeverhoodEngine *vm) : _vm(vm) {}
- bool isPlaying() const { return false; }
+ SoundResource(NeverhoodEngine *vm);
+ bool isPlaying();
+ void play(uint32 fileHash, bool looping = false);
+ void play();
protected:
NeverhoodEngine *_vm;
};