|
Mana
|
Go to the source code of this file.
Classes | |
| class | FS::Files |
| Helper class to iterate over the files in a directory. More... | |
| struct | FS::Files::End |
| class | FS::File |
| File wrapper class to provide a more convenient API and automatic closing. More... | |
Namespaces | |
| namespace | FS |
| These functions wrap PHYSFS functions to provide a more user-friendly interface and to limit the direct use of the PHYSFS API to a single file. | |
Macros | |
| #define | PHYSFS_DEPRECATED |
Functions | |
| bool | FS::init (const char *argv0) |
| void | FS::deinit () |
| const char * | FS::getDirSeparator () |
| const char * | FS::getBaseDir () |
| const char * | FS::getUserDir () |
| const char * | FS::getPrefDir (const char *org, const char *app) |
| bool | FS::setWriteDir (const std::string &path) |
| Sets the write directory. | |
| bool | FS::addToSearchPath (const std::string &path, bool append) |
| Adds a directory or archive to the search path. | |
| bool | FS::exists (const std::string &path) |
| Checks whether the given file or directory exists in the search path. | |
| std::optional< const char * > | FS::getRealDir (const std::string &path) |
| bool | FS::isDirectory (const std::string &path) |
| Checks whether the given path is a directory. | |
| bool | FS::mkdir (const std::string &path) |
| Creates a directory in the write path. | |
| Files | FS::enumerateFiles (const std::string &dir) |
| Returns a list of files in the given directory. | |
| File | FS::openWrite (const std::string &path) |
| File | FS::openAppend (const std::string &path) |
| File | FS::openRead (const std::string &path) |
| const char * | FS::getLastError () |
| SDL_RWops * | FS::openRWops (const std::string &path) |
| SDL_RWops * | FS::openBufferedRWops (const std::string &path, PHYSFS_uint64 bufferSize=2048) |
| Creates a buffered SDL_RWops. | |
| void * | FS::loadFile (const std::string &path, size_t &datasize) |
| #define PHYSFS_DEPRECATED |
Definition at line 24 of file filesystem.h.