aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/pregob/pregob.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/pregob/pregob.h')
-rw-r--r--engines/gob/pregob/pregob.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/engines/gob/pregob/pregob.h b/engines/gob/pregob/pregob.h
index 902a7c437d..b91758876e 100644
--- a/engines/gob/pregob/pregob.h
+++ b/engines/gob/pregob/pregob.h
@@ -24,9 +24,12 @@
#define GOB_PREGOB_PREGOB_H
#include "common/str.h"
+#include "common/array.h"
#include "gob/util.h"
+#include "gob/sound/sounddesc.h"
+
#include "gob/pregob/txtfile.h"
namespace Gob {
@@ -70,6 +73,12 @@ protected:
bool isCursorVisible() const;
+ void loadSounds(const char * const *sounds, uint soundCount);
+ void freeSounds();
+
+ void playSound(uint sound, int16 frequency = 0, int16 repCount = 0);
+ void stopSound();
+
void endFrame(bool doInput);
int16 checkInput(int16 &mouseX, int16 &mouseY, MouseButtons &mouseButtons);
@@ -89,6 +98,8 @@ protected:
private:
bool _fadedOut; ///< Did we fade out?
+
+ Common::Array<SoundDesc> _sounds;
};
} // End of namespace Gob