| Fling Engine 0.00.1 Fling Engine is a game engine written in Vulkan

FlingPaths.h
Go to the documentation of this file.
1 #pragma once
2 #include <sys/types.h>
3 #include <sys/stat.h>
4
8 namespace Fling
9 {
11 struct FLING_API FlingPaths
12 {
14 static const std::string& EngineConfigDir();
15
17 static const std::string& EngineAssetsDir();
18
20 static const std::string& BinaryDir();
21
23 static const std::string& EngineLogDir();
24
26 static const std::string& EngineSourceDir();
27
31 static std::string ConvertAbsolutePathToRelative(const std::string& t_FullPath);
32
39 static int MakeDir(const char* t_Dir);
40
47 static bool DirExists(const char* t_Dir);
48
55 static void GetCurrentWorkingDir(char* t_OutBuf, size_t t_BufSize);
56
57 // TODO: Add options to get the current user's home path
58 };
59 } // namespace Fling
Fling::FlingPaths
Static set of useful engine paths and directories.
Definition: FlingPaths.h:11
Fling
Definition: Engine.h:29