diff options
author | Strangerke | 2013-01-18 18:52:19 +0100 |
---|---|---|
committer | Strangerke | 2013-01-18 18:52:19 +0100 |
commit | 4fd422692b554d4c49e2f00662f36f24bb9f1b24 (patch) | |
tree | 1ccfb6aa1587941056bfecaccf91995e657501f4 /engines/hopkins/sound.h | |
parent | 55b288e98b33dfdb57e0f381a4c38bebf5549c5e (diff) | |
download | scummvm-rg350-4fd422692b554d4c49e2f00662f36f24bb9f1b24.tar.gz scummvm-rg350-4fd422692b554d4c49e2f00662f36f24bb9f1b24.tar.bz2 scummvm-rg350-4fd422692b554d4c49e2f00662f36f24bb9f1b24.zip |
HOPKINS: Some renaming and refactoring
Diffstat (limited to 'engines/hopkins/sound.h')
-rw-r--r-- | engines/hopkins/sound.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/hopkins/sound.h b/engines/hopkins/sound.h index c6563209c9..fecd05aaeb 100644 --- a/engines/hopkins/sound.h +++ b/engines/hopkins/sound.h @@ -35,8 +35,6 @@ class VoiceItem { public: int _status; int _wavIndex; - int fieldC; - int field14; }; class SwavItem { @@ -44,7 +42,7 @@ public: bool _active; Audio::RewindableAudioStream *_audioStream; Audio::SoundHandle _soundHandle; - bool freeSample; + bool _freeSampleFl; }; class MusicItem { @@ -70,7 +68,7 @@ private: int VOICE_STAT(int voiceIndex); void stopVoice(int voiceIndex); void SDL_LVOICE(Common::String filename, size_t filePosition, size_t entryLength); - void PLAY_VOICE_SDL(); + void playVoice(); bool DEL_SAMPLE_SDL(int wavIndex); bool SDL_LoadVoice(const Common::String &filename, size_t fileOffset, size_t entryLength, SwavItem &item); void LOAD_SAMPLE2_SDL(int wavIndex, const Common::String &filename, bool freeSample); |