Working on scene and project serialisation

Added scene/project save and load to main menu, added file dialogs for opening and saving scene/project
This commit is contained in:
2022-11-05 12:50:01 +01:00
parent 41d5b87c7b
commit c8ebc0fa17
9 changed files with 336 additions and 60 deletions

View File

@ -2,9 +2,12 @@
#include <filesystem>
class Project {
public:
Project(const std::string& name): ProjectName(name){}
void CreateProject(std::filesystem::path path );
private:
std::string ProjectName;
Project(const std::string& name): Name(name){}
static void SaveProject(std::filesystem::path path, Project& project);
static void LoadProject(std::filesystem::path path, Project& project);
private:
std::string Name;
};
};