aboutsummaryrefslogtreecommitdiff
path: root/engines/cryo/video.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cryo/video.cpp')
-rw-r--r--engines/cryo/video.cpp30
1 files changed, 25 insertions, 5 deletions
diff --git a/engines/cryo/video.cpp b/engines/cryo/video.cpp
index 521efa274e..fc9ed4afcc 100644
--- a/engines/cryo/video.cpp
+++ b/engines/cryo/video.cpp
@@ -40,6 +40,7 @@ HnmPlayer::HnmPlayer(CryoEngine *vm) : _vm(vm) {
_soundGroupAdpcm = nullptr;
_prevRight = _prevLeft = 0;
_useAdpcm = false;
+ _useMono = false;
_customChunkHandler = nullptr;
_preserveColor0 = false;
_safePalette = false;
@@ -138,11 +139,6 @@ void HnmPlayer::setupSoundADPCM(int16 numSounds, int16 length, int16 sampleSize,
_soundGroupAdpcm = CLSoundGroup_New(numSounds, length, sampleSize, rate, mode);
}
-// Original name: CLHNM_SoundInADPCM
-void HnmPlayer::soundInADPCM(bool isAdpcm) {
- _useAdpcm = isAdpcm;
-}
-
// Original name: CLHNM_CloseSound
void HnmPlayer::closeSound() {
if (_soundChannel) {
@@ -657,5 +653,29 @@ void HnmPlayer::selectBuffers(hnm_t *hnm) {
}
}
+// Original name: CLHNM_Done
+void HnmPlayer::done() {
+}
+
+// Original name: CLHNM_Dispose
+void HnmPlayer::dispose(hnm_t *hnm) {
+ free(hnm);
+}
+
+// Original name: CLHNM_CanLoop
+void HnmPlayer::canLoop(hnm_t *hnm, bool canLoop) {
+ hnm->_canLoop = canLoop;
+}
+
+// Original name: CLHNM_SoundInADPCM
+void HnmPlayer::soundInADPCM(bool isAdpcm) {
+ _useAdpcm = isAdpcm;
+}
+
+// Original name: CLHNM_SoundMono
+void HnmPlayer::soundMono(bool isMono) {
+ _useMono = isMono;
+}
+
} // namespace Cryo