Abstract assets mounting to FileSystemUtils.cpp

The assets mounting code was put directly in editorclass::load(), but
now it's in a neat little function so it can be called from multiple
places without having to call editorclass::load().
This commit is contained in:
Misa authored and Ethan Lee committed 2020-06-21 20:25:22 -04:00
1 parent 34e89bfcd3
commit d45ff4c269
3 files changed
+40 -33

No files matched your search

+1
View File
@@ -15,6 +15,7 @@ char *FILESYSTEM_getUserLevelDirectory();
bool FILESYSTEM_directoryExists(const char *fname);
void FILESYSTEM_mount(const char *fname);
void FILESYSTEM_mountassets(const char *path);
void FILESYSTEM_unmountassets();
void FILESYSTEM_loadFileToMemory(const char *name, unsigned char **mem,