43 void SetDataPath(std::string dataPath);
44 void SetLangPath(std::string langPath);
45 void SetSavePath(std::string savePath);
46 void AddMod(std::string modPath);
48 const std::string& GetDataPath();
49 const std::string& GetLangPath();
50 const std::string& GetSavePath();
59 void LoadModsFromDir(
const std::string &dir);
64 std::string m_dataPath;
66 std::string m_langPath;
68 std::string m_savePath;
CSingleton base class for singletons.
Class for managing data/lang/save paths.
Definition: pathman.h:37
std::string VerifyPaths()
Checks if paths are configured correctly.
Definition: pathman.cpp:98
Definition: singleton.h:30
Platform-specific utils.
Definition: system.h:91
void InitPaths()
Loads configured paths.
Definition: pathman.cpp:134