summaryrefslogtreecommitdiff
path: root/src/sound.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound.h')
-rw-r--r--src/sound.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/sound.h b/src/sound.h
index 96cb8baf..27748fb6 100644
--- a/src/sound.h
+++ b/src/sound.h
@@ -27,12 +27,9 @@
#include <guichan.hpp>
#include <SDL.h>
#include <SDL_mixer.h>
-#include <map>
#include "resources/resourcemanager.h"
-typedef short SOUND_ID;
-
/** Sound engine
*
* \ingroup CORE
@@ -108,41 +105,18 @@ class Sound {
void setSfxVolume(int volume);
/**
- * Preloads a sound-item into buffer.
- *
- * \param path Full path to file
- */
- SOUND_ID loadSfx(const char *path);
-
- /**
- * Plays an item in soundpool.
- *
- * \param id Id returned to the item in the soundpool
- */
- void playSfx(SOUND_ID id);
-
- /**
* Plays an item.
*
* \param path Full path to file
*/
void playSfx(const char *path);
- /**
- * Wipe all items off the cache
- */
- void clearCache();
-
private:
bool installed;
int musicVolume, sfxVolume;
Mix_Music *music;
-
- /** list of preloaded sound data / items */
- std::map<int, SoundEffect*> soundPool;
- SOUND_ID items;
};
#endif