18#ifndef INCLUDED_PS_GAMESETUP_PATHS
19#define INCLUDED_PS_GAMESETUP_PATHS
Definition: CmdLineArgs.h:29
Wrapper class for OS paths used by the game.
Definition: Paths.h:28
const OsPath & Config() const
Returns config file directory.
Definition: Paths.h:69
static OsPath RootData(const OsPath &argv0)
Definition: Paths.cpp:186
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
OsPath m_cache
Definition: Paths.h:103
const OsPath & Logs() const
Returns logs directory.
Definition: Paths.h:85
const OsPath & Root() const
Returns the game's root directory.
Definition: Paths.h:35
static OsPath XDG_Path(const char *envname, const OsPath &home, const OsPath &defaultPath)
Definition: Paths.cpp:212
OsPath m_gameData
Definition: Paths.h:100
OsPath m_rdata
Definition: Paths.h:97
const OsPath & GameData() const
Returns directory for game-managed data and mods.
Definition: Paths.h:51
OsPath m_userData
Definition: Paths.h:101
OsPath m_root
Definition: Paths.h:96
OsPath m_config
Definition: Paths.h:102
const OsPath & RData() const
Returns directory for read-only data installed with the game.
Definition: Paths.h:43
const OsPath & Cache() const
Returns cache directory.
Definition: Paths.h:77