aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/myst.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mohawk/myst.h')
-rw-r--r--engines/mohawk/myst.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/engines/mohawk/myst.h b/engines/mohawk/myst.h
index fbe0e35d6f..8d68092287 100644
--- a/engines/mohawk/myst.h
+++ b/engines/mohawk/myst.h
@@ -99,6 +99,11 @@ struct MystCondition {
Common::Array<uint16> values;
};
+struct MystSoundItem {
+ int16 action;
+ uint16 volume;
+};
+
// View Sound Action Type
enum {
kMystSoundActionConditional = -4,
@@ -124,9 +129,7 @@ struct MystView {
int16 sound;
uint16 soundVolume;
uint16 soundVar;
- uint16 soundCount;
- int16 *soundList;
- uint16 *soundListVolume;
+ Common::Array<MystSoundItem> soundList;
// Script Resources
uint16 scriptResCount;