1 #ifndef _FILE_MANAGER_HH_ 2 #define _FILE_MANAGER_HH_ 20 inline void newWorld(
const std::string& worldfile ) {
24 static bool readable(
const std::string& path );
31 static std::string
findFile(
const std::string& filename );
static bool readable(const std::string &path)
Determine whether a file can be opened for reading.
The Stage library uses its own namespace.
void newWorld(const std::string &worldfile)
Update the worldfile path.
static std::string stagePath()
Return the STAGEPATH environment variable.
std::string stripFilename(const std::string &path)
static std::string findFile(const std::string &filename)
const std::string worldsRoot() const
Return the path where the current worldfile was loaded from.