mirror of
https://github.com/love2d/love.git
synced 2026-08-17 02:58:31 +02:00
Add love.filesystem.mountFullPath.
This commit is contained in:
@@ -63,11 +63,16 @@ public:
|
||||
bool mount(const char *archive, const char *mountpoint, bool appendToPath = false) override;
|
||||
bool mount(Data *data, const char *archivename, const char *mountpoint, bool appendToPath = false) override;
|
||||
|
||||
bool mountFullPath(const char *archive, const char *mountpoint, MountPermissions permissions, bool appendToPath = false) override;
|
||||
bool mountCommonPath(CommonPath path, const char *mountpoint, MountPermissions permissions, bool appendToPath = false) override;
|
||||
|
||||
bool unmount(const char *archive) override;
|
||||
bool unmount(Data *data) override;
|
||||
bool unmount(CommonPath path) override;
|
||||
|
||||
love::filesystem::File *newFile(const char *filename) const override;
|
||||
|
||||
std::string getFullCommonPath(CommonPath path) override;
|
||||
const char *getWorkingDirectory() override;
|
||||
std::string getUserDirectory() override;
|
||||
std::string getAppdataDirectory() override;
|
||||
@@ -129,6 +134,8 @@ private:
|
||||
|
||||
std::map<std::string, StrongRef<Data>> mountedData;
|
||||
|
||||
std::string fullCommonPaths[COMMONPATH_MAX_ENUM];
|
||||
|
||||
}; // Filesystem
|
||||
|
||||
} // physfs
|
||||
|
||||
Reference in New Issue
Block a user