From 37825ee4c8284b71ddeae5cd002a72663e817c9a Mon Sep 17 00:00:00 2001 From: MarcEricMartel <74071476+MarcEricMartel@users.noreply.github.com> Date: Mon, 6 Dec 2021 10:49:55 -0500 Subject: [PATCH] Re-correction --- SQCSim2021/audio.h | 4 ++-- SQCSim2021/define.h | 4 +++- SQCSim2021/engine.cpp | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) 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);