18#ifndef INCLUDED_PS_GAMESETUP_PATHS
19#define INCLUDED_PS_GAMESETUP_PATHS
Definition: CmdLineArgs.h:31
Wrapper class for OS paths used by the game.
Definition: Paths.h:29
const OsPath & Config() const
Returns config file directory.
Definition: Paths.h:70
static OsPath RootData(const OsPath &argv0)
Definition: Paths.cpp:203
const OsPath & UserData() const
Returns directory for user-created data Only things created in response to an explicit user action sh...
Definition: Paths.h:62
Paths(const CmdLineArgs &args)
Definition: Paths.cpp:46
OsPath m_logs
Definition: Paths.h:105
OsPath m_cache
Definition: Paths.h:104
const OsPath & Logs() const
Returns logs directory.
Definition: Paths.h:86
const OsPath & Root() const
Returns the game's root directory.
Definition: Paths.h:36
static OsPath XDG_Path(const char *envname, const OsPath &home, const OsPath &defaultPath)
Definition: Paths.cpp:228
OsPath m_gameData
Definition: Paths.h:101
OsPath m_rdata
Definition: Paths.h:98
const OsPath & GameData() const
Returns directory for game-managed data and mods.
Definition: Paths.h:52
OsPath m_userData
Definition: Paths.h:102
OsPath m_root
Definition: Paths.h:97
OsPath m_config
Definition: Paths.h:103
const OsPath & RData() const
Returns directory for read-only data installed with the game.
Definition: Paths.h:44
const OsPath & Cache() const
Returns cache directory.
Definition: Paths.h:78