diff options
Diffstat (limited to 'src/FLD.hpp')
-rw-r--r-- | src/FLD.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/FLD.hpp b/src/FLD.hpp index 329cc72..1a08a72 100644 --- a/src/FLD.hpp +++ b/src/FLD.hpp @@ -4,6 +4,7 @@ #include <map> #include <optional> #include <climits> +#include "soloud.h" #define READONLY(T, X, V) private: T _##X = V; public: decltype(_##X) const& X = _##X @@ -78,6 +79,7 @@ public: Point viewport = {0, 0}; const Config config; + SoLoud::Soloud soloud = {}; READONLY(SDL_Window *, window, nullptr); READONLY(SDL_Renderer *, renderer, nullptr); READONLY(SDL_Texture *, target, nullptr); @@ -120,5 +122,6 @@ private: [[nodiscard]] Error initWindow(); [[nodiscard]] Error initRenderer(); [[nodiscard]] Error initTarget(); + [[nodiscard]] Error initSoloud(); void cycleEvents(); }; |