aboutsummaryrefslogtreecommitdiff
path: root/source/AppConfig.hpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-04-09 13:29:41 -0700
committerrtk0c <[email protected]>2022-04-09 13:29:41 -0700
commita849c199d970e153580c312a24cfdfa099bc7b69 (patch)
tree1b5faa8d40953ee451103b94349bb84c738677ee /source/AppConfig.hpp
parente7ef3f208c109357538b1f68af10bcd78db95c95 (diff)
Changeset: 4 More work on editor
Diffstat (limited to 'source/AppConfig.hpp')
-rw-r--r--source/AppConfig.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/AppConfig.hpp b/source/AppConfig.hpp
index 53e84b1..8d69fad 100644
--- a/source/AppConfig.hpp
+++ b/source/AppConfig.hpp
@@ -8,5 +8,10 @@ constexpr std::string_view kAppName = "ProjectBrussel";
// Since kAppName is initialized by a C string literal, we know it's null termianted
constexpr const char* kAppNameC = kAppName.data();
+// Duplicate each as path and string so that on non-UTF-8 platforms (e.g. Windows) we can easily do string manipulation on the paths
+// NOTE: even though non-const, these should not be modified outside of main()
+inline std::filesystem::path dataDirPath;
inline std::string dataDir;
+inline std::filesystem::path assetDirPath;
+inline std::string assetDir;
} // namespace AppConfig