ACCESS: Rename loadSoundTable

This commit is contained in:
Strangerke 2014-12-27 16:55:07 +01:00
parent 3c3ff0a3aa
commit 6a7834a05e
4 changed files with 6 additions and 6 deletions

View file

@ -317,8 +317,8 @@ void Opening::doTitle() {
_vm->_events->hideCursor(); _vm->_events->hideCursor();
if (!_vm->isDemo()) { if (!_vm->isDemo()) {
_vm->_sound->queueSound(0, 98, 30); _vm->_sound->loadSoundTable(0, 98, 30);
_vm->_sound->queueSound(1, 98, 8); _vm->_sound->loadSoundTable(1, 98, 8);
_vm->_files->_setPaletteFlag = false; _vm->_files->_setPaletteFlag = false;
_vm->_files->loadScreen(0, 3); _vm->_files->loadScreen(0, 3);

View file

@ -95,7 +95,7 @@ void AmazonScripts::mWhile1() {
_vm->_oldRects.clear(); _vm->_oldRects.clear();
_sequence = 2200; _sequence = 2200;
_vm->_sound->queueSound(0, 14, 15); _vm->_sound->loadSoundTable(0, 14, 15);
do { do {
cLoop(); cLoop();

View file

@ -56,8 +56,8 @@ void SoundManager::clearSounds() {
} }
} }
void SoundManager::queueSound(int idx, int fileNum, int subfile) { void SoundManager::loadSoundTable(int idx, int fileNum, int subfile) {
debugC(1, kDebugSound, "queueSound(%d, %d, %d)", idx, fileNum, subfile); debugC(1, kDebugSound, "loadSoundTable(%d, %d, %d)", idx, fileNum, subfile);
Resource *soundResource; Resource *soundResource;

View file

@ -60,7 +60,7 @@ public:
SoundManager(AccessEngine *vm, Audio::Mixer *mixer); SoundManager(AccessEngine *vm, Audio::Mixer *mixer);
~SoundManager(); ~SoundManager();
void queueSound(int idx, int fileNum, int subfile); void loadSoundTable(int idx, int fileNum, int subfile);
void playSound(int soundIndex); void playSound(int soundIndex);
void checkSoundQueue(); void checkSoundQueue();