aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/players/player_ad.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/scumm/players/player_ad.h')
-rw-r--r--engines/scumm/players/player_ad.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/engines/scumm/players/player_ad.h b/engines/scumm/players/player_ad.h
index 95c779fde6..7d6f4f73ec 100644
--- a/engines/scumm/players/player_ad.h
+++ b/engines/scumm/players/player_ad.h
@@ -163,7 +163,14 @@ private:
Note notes[2];
int hardwareChannel;
- } _channels[11];
+ };
+
+ struct SfxSlot {
+ int resource;
+ int priority;
+
+ Channel channels[3];
+ } _sfx[3];
void startSfx(const byte *resource);
void updateSfx();
@@ -181,9 +188,6 @@ private:
int _sfxTimer;
- int _sfxResource[3];
- int _sfxPriority[3];
-
uint8 _rndSeed;
uint8 getRnd();