diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-28 19:15:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-28 19:15:42 +0300 |
commit | 35d30efe7605c24765f5fdbe73a22626dc7c17c1 (patch) | |
tree | 3464ec79fa3a6b0df63442055cb91a226597e9a0 /src/resources/loaders/musicloader.cpp | |
parent | a4d9499c3354bfd3d0e2696501f56454bab89734 (diff) | |
download | mv-35d30efe7605c24765f5fdbe73a22626dc7c17c1.tar.gz mv-35d30efe7605c24765f5fdbe73a22626dc7c17c1.tar.bz2 mv-35d30efe7605c24765f5fdbe73a22626dc7c17c1.tar.xz mv-35d30efe7605c24765f5fdbe73a22626dc7c17c1.zip |
Split musicloader into musicloader and soundloader.
Diffstat (limited to 'src/resources/loaders/musicloader.cpp')
-rw-r--r-- | src/resources/loaders/musicloader.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/resources/loaders/musicloader.cpp b/src/resources/loaders/musicloader.cpp index 837befcf9..49ef40ef0 100644 --- a/src/resources/loaders/musicloader.cpp +++ b/src/resources/loaders/musicloader.cpp @@ -21,7 +21,6 @@ */ #include "resources/sdlmusic.h" -#include "resources/soundeffect.h" #include "resources/loaders/musicloader.h" @@ -64,10 +63,3 @@ SDLMusic *Loader::getMusic(const std::string &idPath) return static_cast<SDLMusic*>(resourceManager->get( idPath, ResourceLoader::load, &rl)); } - -SoundEffect *Loader::getSoundEffect(const std::string &idPath) -{ - ResourceLoader rl = { idPath, &SoundEffect::load }; - return static_cast<SoundEffect*>(resourceManager->get( - idPath, ResourceLoader::load, &rl)); -} |