file_manager.hh
Go to the documentation of this file.
Definition file_manager.hh:9
const std::string worldsRoot() const
Return the path where the current worldfile was loaded from.
Definition file_manager.hh:19
static bool readable(const std::string &path)
Determine whether a file can be opened for reading.
Definition file_manager.cc:92
static std::string stagePath()
Return the STAGEPATH environment variable.
Definition file_manager.cc:31
static std::string homeDirectory()
Returns the path to the current user's home directory (or empty if not detectable):
Definition file_manager.cc:83
void newWorld(const std::string &worldfile)
Update the worldfile path.
Definition file_manager.cc:72
static std::string findFile(const std::string &filename)
Definition file_manager.cc:40
Generated on Fri Jul 26 2024 00:00:00 for Stage by