diff --git a/source/core/defaults.hpp b/source/core/defaults.hpp index 528a61b..a2c7670 100644 --- a/source/core/defaults.hpp +++ b/source/core/defaults.hpp @@ -8,6 +8,7 @@ #pragma once +// IWYU pragma: begin_exports #include "core/defaults/audio.hpp" #include "core/defaults/brightness.hpp" #include "core/defaults/controls.hpp" @@ -23,3 +24,4 @@ #include "core/defaults/title.hpp" #include "core/defaults/window.hpp" #include "core/defaults/zones.hpp" +// IWYU pragma: end_exports diff --git a/source/core/system/director.cpp b/source/core/system/director.cpp index afa3eca..4eea305 100644 --- a/source/core/system/director.cpp +++ b/source/core/system/director.cpp @@ -11,7 +11,8 @@ #include "core/audio/audio.hpp" #include "core/audio/audio_adapter.hpp" -#include "core/defaults.hpp" +#include "core/defaults/audio.hpp" +#include "core/defaults/window.hpp" #include "core/input/input.hpp" #include "core/input/mouse.hpp" #include "core/rendering/sdl_manager.hpp" diff --git a/source/game/config_yaml.cpp b/source/game/config_yaml.cpp index 7f215b1..d45d880 100644 --- a/source/game/config_yaml.cpp +++ b/source/game/config_yaml.cpp @@ -5,7 +5,8 @@ #include #include -#include "core/defaults.hpp" +#include "core/defaults/rendering.hpp" +#include "core/defaults/window.hpp" #include "external/fkyaml_node.hpp" #include "project.h"