From 523b27e38c0978f6513c95f90582e7e5ab160e3d Mon Sep 17 00:00:00 2001 From: vimene Date: Mon, 16 Feb 2026 11:45:19 +0100 Subject: small improvements --- src/path_utils.hpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/path_utils.hpp') diff --git a/src/path_utils.hpp b/src/path_utils.hpp index 76567bc..2594206 100644 --- a/src/path_utils.hpp +++ b/src/path_utils.hpp @@ -6,12 +6,16 @@ namespace engine::path_utils { -std::optional exe_path() noexcept; +std::optional exe() noexcept; class Paths { public: Paths() noexcept; + const std::filesystem::path& exe() const & noexcept { + return m_exe; + } + const std::filesystem::path& assets_objs() const & noexcept { return m_assets_objs; } @@ -25,7 +29,7 @@ class Paths { } private: - std::filesystem::path m_assets_objs, m_assets_textures, m_spvshaders; + std::filesystem::path m_exe, m_assets_objs, m_assets_textures, m_spvshaders; }; } -- cgit v1.2.3