aboutsummaryrefslogtreecommitdiff
path: root/engines/cryo/eden.h
diff options
context:
space:
mode:
authorRetro-Junk2016-10-22 14:15:45 +0300
committerEugene Sandulenko2017-01-25 22:42:02 +0100
commit7e92fb079021081eb28c2d284f1b81b8f5b7dab2 (patch)
treeed8ba6e87598af3f03ee28bb3ae3ba88a125bab0 /engines/cryo/eden.h
parent5616897f2a8480141b8ac2adb656a7e1ca45c95c (diff)
downloadscummvm-rg350-7e92fb079021081eb28c2d284f1b81b8f5b7dab2.tar.gz
scummvm-rg350-7e92fb079021081eb28c2d284f1b81b8f5b7dab2.tar.bz2
scummvm-rg350-7e92fb079021081eb28c2d284f1b81b8f5b7dab2.zip
CRYO: Add sound playback
Diffstat (limited to 'engines/cryo/eden.h')
-rw-r--r--engines/cryo/eden.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/cryo/eden.h b/engines/cryo/eden.h
index 9efebb694d..5fce67dd75 100644
--- a/engines/cryo/eden.h
+++ b/engines/cryo/eden.h
@@ -23,6 +23,7 @@
#ifndef CRYO_EDEN_H
#define CRYO_EDEN_H
+#include "cryo/sound.h"
#include "cryo/defs.h"
enum Direction {
@@ -641,7 +642,8 @@ private:
bool gameStarted;
bool _soundAllocated;
- soundchannel_t *_musicChannel;
+ CSoundChannel *_musicChannel;
+ CSoundChannel *_voiceChannel;
soundchannel_t *hnmsound_ch;
sound_t *voiceSound;
@@ -693,7 +695,7 @@ private:
byte *mus_samples_ptr;
byte *mus_patterns_ptr; //TODO: sndblock_t ?
byte *mus_sequence_ptr;
- soundgroup_t *mus_queue_grp;
+ bool mus_enabled;
int16 *pCurrentObjectLocation;
byte own_objects[128];
bool byte_31D64;