Mario Editor: add save/load functionality

This commit is contained in:
2022-07-21 19:26:50 +02:00
parent 92ffac0edf
commit 4143af9962
5 changed files with 204 additions and 149 deletions
+1
View File
@@ -14,6 +14,7 @@ void loadMap(std::shared_ptr<SDLPP::Scene> &scene,
std::shared_ptr<SDLPP::RenderObject> &mario,
const std::string &file, std::vector<mapColumnType> &objects,
bool editor = false, size_t editor_width = 0);
void loadEmptyMap( std::vector<mapColumnType> &objects, size_t editor_width);
void saveMap(const std::string &file, std::vector<mapColumnType> &objects);
#endif