aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/music.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lab/music.h')
-rw-r--r--engines/lab/music.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/engines/lab/music.h b/engines/lab/music.h
index 42fdf41d67..1a3fd24e72 100644
--- a/engines/lab/music.h
+++ b/engines/lab/music.h
@@ -74,7 +74,7 @@ private:
* Pauses the background music.
*/
void pauseBackMusic();
- void readSound(bool waitTillFinished, Common::File *file);
+ void readSound(bool waitTillFinished, bool loop, Common::File *file);
/**
* Starts up the music initially.
@@ -82,9 +82,6 @@ private:
void startMusic(bool restartFl);
public:
- bool _loopSoundEffect;
-
-public:
Music(LabEngine *vm);
/**
@@ -107,12 +104,12 @@ public:
*/
bool initMusic(const Common::String filename);
bool isSoundEffectActive() const;
- void playSoundEffect(uint16 sampleSpeed, uint32 length, Common::File *dataFile);
+ void playSoundEffect(uint16 sampleSpeed, uint32 length, bool loop, Common::File *dataFile);
/**
* Reads in a music file. Ignores any graphics.
*/
- bool readMusic(const Common::String filename, bool waitTillFinished);
+ bool readMusic(const Common::String filename, bool loop, bool waitTillFinished);
/**
* Changes the background music to the original piece playing.