diff options
author | Eugene Sandulenko | 2016-02-16 21:10:30 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2016-02-16 21:41:41 +0100 |
commit | 57449d32d423f8bd3ea57b306c2a4dcdae4843f1 (patch) | |
tree | 97f7796fd59880226c5790418e25c8f420ba54c6 /engines/wage/world.cpp | |
parent | a1e5c5a8cc7ec04fd08a0b6af60c6399a33d326a (diff) | |
download | scummvm-rg350-57449d32d423f8bd3ea57b306c2a4dcdae4843f1.tar.gz scummvm-rg350-57449d32d423f8bd3ea57b306c2a4dcdae4843f1.tar.bz2 scummvm-rg350-57449d32d423f8bd3ea57b306c2a4dcdae4843f1.zip |
WAGE: Moved Sound class definition to sound.h
Diffstat (limited to 'engines/wage/world.cpp')
-rw-r--r-- | engines/wage/world.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/wage/world.cpp b/engines/wage/world.cpp index a387d95c4a..cb6e806ab0 100644 --- a/engines/wage/world.cpp +++ b/engines/wage/world.cpp @@ -50,6 +50,7 @@ #include "wage/wage.h" #include "wage/entities.h" #include "wage/script.h" +#include "wage/sound.h" #include "wage/world.h" namespace Wage { @@ -296,6 +297,13 @@ bool World::loadWorld(Common::MacResManager *resMan) { return true; } +void World::addSound(Sound *sound) { + Common::String s = sound->_name; + s.toLowercase(); + _sounds[s] = sound; + _orderedSounds.push_back(sound); +} + Common::StringArray *World::readMenu(Common::SeekableReadStream *res) { res->skip(10); int enableFlags = res->readUint32BE(); |