18 #ifndef INCLUDED_PS_GAMESETUP_PATHS 19 #define INCLUDED_PS_GAMESETUP_PATHS 107 #endif // #ifndef INCLUDED_PS_GAMESETUP_PATHS const OsPath & Root() const
Returns the game's root directory.
Definition: Paths.h:35
const OsPath & GameData() const
Returns directory for game-managed data and mods.
Definition: Paths.h:51
const OsPath & UserData() const
Returns directory for user-created data Only things created in response to an explicit user action sh...
Definition: Paths.h:61
Paths(const CmdLineArgs &args)
Definition: Paths.cpp:33
OsPath m_logs
Definition: Paths.h:104
const OsPath & RData() const
Returns directory for read-only data installed with the game.
Definition: Paths.h:43
OsPath m_cache
Definition: Paths.h:103
OsPath m_userData
Definition: Paths.h:101
OsPath m_rdata
Definition: Paths.h:97
static OsPath XDG_Path(const char *envname, const OsPath &home, const OsPath &defaultPath)
Definition: Paths.cpp:212
OsPath m_root
Definition: Paths.h:96
const OsPath & Cache() const
Returns cache directory.
Definition: Paths.h:77
OsPath m_config
Definition: Paths.h:102
static OsPath RootData(const OsPath &argv0)
Definition: Paths.cpp:186
Definition: CmdLineArgs.h:24
OsPath m_gameData
Definition: Paths.h:100
Wrapper class for OS paths used by the game.
Definition: Paths.h:27
const OsPath & Config() const
Returns config file directory.
Definition: Paths.h:69
const OsPath & Logs() const
Returns logs directory.
Definition: Paths.h:85