diff options
author | Vladimir Menshakov | 2011-06-14 00:57:41 +0400 |
---|---|---|
committer | Alyssa Milburn | 2011-06-15 17:34:57 +0200 |
commit | 074436985f8c706915c567e31362f0dbb4026008 (patch) | |
tree | 57ae85e350c7f0889ba3e90ff4c0d379e8d3b61c | |
parent | 932abf8c3bf023d635e8903ae7132c7c2b388762 (diff) | |
download | scummvm-rg350-074436985f8c706915c567e31362f0dbb4026008.tar.gz scummvm-rg350-074436985f8c706915c567e31362f0dbb4026008.tar.bz2 scummvm-rg350-074436985f8c706915c567e31362f0dbb4026008.zip |
DREAMWEB: renamed playSpeech to loadSpeech
-rw-r--r-- | engines/dreamweb/dreamweb.cpp | 6 | ||||
-rw-r--r-- | engines/dreamweb/dreamweb.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/dreamweb/dreamweb.cpp b/engines/dreamweb/dreamweb.cpp index fc8753f77c..cf8205c784 100644 --- a/engines/dreamweb/dreamweb.cpp +++ b/engines/dreamweb/dreamweb.cpp @@ -431,8 +431,8 @@ void DreamWebEngine::playSound(uint8 channel, uint8 id, uint8 loops) { _mixer->playStream(type, &_channelHandle[channel], stream); } -bool DreamWebEngine::playSpeech(const Common::String &filename) { - debug(1, "playSpeech(%s)", filename.c_str()); +bool DreamWebEngine::loadSpeech(const Common::String &filename) { + debug(1, "loadSpeech(%s)", filename.c_str()); Common::File file; if (!file.open("speech/" + filename)) return false; @@ -845,7 +845,7 @@ void loadspeech(Context &context) { createname(context); const char *name = (const char *)context.data.ptr(context.di, 13); //warning("name = %s", name); - if (context.engine->playSpeech(name)) + if (context.engine->loadSpeech(name)) context.data.byte(kSpeechloaded) = 1; } diff --git a/engines/dreamweb/dreamweb.h b/engines/dreamweb/dreamweb.h index 0645fbaa9f..f683fca4d5 100644 --- a/engines/dreamweb/dreamweb.h +++ b/engines/dreamweb/dreamweb.h @@ -104,7 +104,7 @@ public: void quit(); void loadSounds(uint bank, const Common::String &file); - bool playSpeech(const Common::String &filename); + bool loadSpeech(const Common::String &filename); private: void keyPressed(uint16 ascii); |