Fixed some custom asset bugs, added .zip level loading

Main game would retain custom level assets, now fixed. Also, custom fonts load properly. Finally, levels can be stored as a zip and placed in the levels folder, with the .vvvvvv file at the root of the zip and custom asset folders (graphics, sounds etc) also at the root.
This commit is contained in:
Fussmatte
2020-06-03 14:05:09 -04:00
committed by Ethan Lee
parent 3bb4eefaff
commit aaa25c7b47
5 changed files with 38 additions and 6 deletions

View File

@@ -89,6 +89,7 @@ class editorclass{
std::vector<std::string> directoryList;
std::vector<LevelMetaData> ListOfMetaData;
void loadZips();
void getDirectoryData();
bool getLevelMetaData(std::string& filename, LevelMetaData& _data );