diff --git a/SQCSim2021/audio.h b/SQCSim2021/audio.h index 22bbcc9..cd0e6a9 100644 --- a/SQCSim2021/audio.h +++ b/SQCSim2021/audio.h @@ -1,8 +1,8 @@ #ifndef AUDIO_H__ #define AUDIO_H__ -#include -#include +#include "external/irrKlang-1.6.0/include/irrklang.h" +#include "external/irrKlang-1.6.0/include/ik_ISoundSource.h" #include "define.h" #include "vector3.h" diff --git a/SQCSim2021/define.h b/SQCSim2021/define.h index a8c36c1..a1b29c5 100644 --- a/SQCSim2021/define.h +++ b/SQCSim2021/define.h @@ -26,7 +26,9 @@ #define FRAMES_DELETE_CHUNKS 4 #define VIEW_DISTANCE 128 -#else +#endif + +#ifdef NDEBUG #define WORLD_SIZE_X 128 #define WORLD_SIZE_Y 128 diff --git a/SQCSim2021/engine.cpp b/SQCSim2021/engine.cpp index 5d71628..3387bc5 100644 --- a/SQCSim2021/engine.cpp +++ b/SQCSim2021/engine.cpp @@ -37,7 +37,7 @@ void Engine::Init() { m_skybox.Init(0.2f); // Objet de musique! - //m_audio.ToggleMusicState(); + m_audio.ToggleMusicState(); // Init Chunks m_world.GetChunks().Reset(nullptr);