CMake Build added

This commit is contained in:
kacperks
2022-07-19 19:59:37 +02:00
parent c9cda3b25a
commit 97896b4b36
47 changed files with 3651 additions and 863 deletions

View File

@@ -1,26 +0,0 @@
#include <AL/al.h>
extern "C"
{
#include "Sound.h"
};
class SoundHandler
{
public:
bool playMusic(const char filename[], bool loop)
{
music = loadSound(filename);
playSound(0, loop, music);
}
bool playSoundEffect(const char filename[], bool loop)
{
music = loadSound(filename);
playSound(1, loop, music);
}
private:
ALuint music;
ALuint soundEffect;
};