Linking OpenAL.

This commit is contained in:
Stiffly
2015-09-14 14:45:44 +02:00
parent 49a2100d4e
commit ed5881ec54
15 changed files with 2529 additions and 6 deletions
+27
View File
@@ -0,0 +1,27 @@
//
// Created by Adam on 2015-09-09.
//
#ifndef DAYDREAM_EPLAYSOUND_H
#define DAYDREAM_EPLAYSOUND_H
#include <string>
#include "EventBroker.h"
namespace dd
{
namespace Events
{
struct PlaySound
{
std::string path;
};
}
}
#endif //DAYDREAM_EPLAYSOUND_H
+5 -2
View File
@@ -5,11 +5,15 @@
#ifndef DAYDREAM_SOUND_H
#define DAYDREAM_SOUND_H
#include "../../deps/include/AL/al.h"
#include "../../deps/include/AL/alc.h"
#include "Core/EKeyDown.h"
#include "Core/EventBroker.h"
#include "Core/System.h"
#include "Core/World.h"
namespace dd
{
namespace Systems
@@ -22,13 +26,12 @@ public:
void Init();
private:
dd::EventRelay<Sound, dd::Events::KeyDown> m_EKeyDown;
bool OnKeyDown(const dd::Events::KeyDown &event);
void HelloWorld();
};
}
}