Story sound. Tom could be improved.

This commit is contained in:
Stiffly
2015-10-20 16:12:55 +02:00
parent ec509358b1
commit c23c7e4d8e
4 changed files with 10 additions and 0 deletions
+4
View File
@@ -5,6 +5,7 @@
#include "GUI/Slider.h"
#include "Core/ResourceManager.h"
#include "Game/GUI/ELoadingFrameComplete.h"
#include "Sound/EPlaySound.h"
namespace dd
{
@@ -56,6 +57,9 @@ public:
e.FrameName = Name();
e.Frame = this;
EventBroker->Publish(e);
Events::PlaySound se;
se.FilePath = "Sounds/jap-story.wav";
EventBroker->Publish(se);
}
}
}
+1
View File
@@ -41,6 +41,7 @@ private:
const std::string MENU_BGM = "Sounds/BGM/eastern-music.wav";
const std::string GAME_BGM = "Sounds/BGM/under-the-sea-n.wav";
const std::string WATER_BGM = "Sounds/BGM/water-flowing.wav";
const std::string STORY_VOICE = "Sounds/jap-story.wav";
float m_BGMMasterVolume = 1.f;
float m_SFXMasterVolume = 1.f;