aboutsummaryrefslogtreecommitdiff
path: root/engines/tony/loc.cpp
diff options
context:
space:
mode:
authorStrangerke2012-06-16 11:32:50 +0200
committerStrangerke2012-06-16 11:32:50 +0200
commitddd1414a56568d62348e56ccc907b8ba7bb296eb (patch)
tree653c7990370405f5e9c67cc2cc9bd861582b24bd /engines/tony/loc.cpp
parent638b06660141677421aa7a342a606b0e4e593389 (diff)
downloadscummvm-rg350-ddd1414a56568d62348e56ccc907b8ba7bb296eb.tar.gz
scummvm-rg350-ddd1414a56568d62348e56ccc907b8ba7bb296eb.tar.bz2
scummvm-rg350-ddd1414a56568d62348e56ccc907b8ba7bb296eb.zip
TONY: Rename sound functions and class names
Diffstat (limited to 'engines/tony/loc.cpp')
-rw-r--r--engines/tony/loc.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/tony/loc.cpp b/engines/tony/loc.cpp
index 42c96076f9..d36c004baf 100644
--- a/engines/tony/loc.cpp
+++ b/engines/tony/loc.cpp
@@ -409,7 +409,7 @@ void RMSfx::readFromStream(RMDataStream &ds, bool bLOX) {
// Create the sound effect
_fx = _vm->createSFX(stream);
- _fx->SetLoop(false);
+ _fx->setLoop(false);
}
RMSfx::RMSfx() {
@@ -419,15 +419,15 @@ RMSfx::RMSfx() {
RMSfx::~RMSfx() {
if (_fx) {
- _fx->Release();
+ _fx->release();
_fx = NULL;
}
}
void RMSfx::play(bool bLoop) {
if (_fx && !_bPlayingLoop) {
- _fx->SetLoop(bLoop);
- _fx->Play();
+ _fx->setLoop(bLoop);
+ _fx->play();
if (bLoop)
_bPlayingLoop = true;
@@ -436,19 +436,19 @@ void RMSfx::play(bool bLoop) {
void RMSfx::setVolume(int vol) {
if (_fx) {
- _fx->SetVolume(vol);
+ _fx->setVolume(vol);
}
}
void RMSfx::pause(bool bPause) {
if (_fx) {
- _fx->Pause(bPause);
+ _fx->pause(bPause);
}
}
void RMSfx::stop(void) {
if (_fx) {
- _fx->Stop();
+ _fx->stop();
_bPlayingLoop = false;
}
}