Mario: saving map as binary file v1.0
This commit is contained in:
@@ -5,5 +5,7 @@
|
||||
#include "../sdlpp/sdlpp_rectrenderer.hpp"
|
||||
|
||||
void loadMap(std::shared_ptr<SDLPP::Scene> &scene, std::shared_ptr<SDLPP::RectangleRender> mario, const std::string &file, std::shared_ptr<SDLPP::Renderer> &renderer);
|
||||
void loadMap(std::shared_ptr<SDLPP::Scene> &scene, const std::string &file, std::shared_ptr<SDLPP::Renderer> &renderer, std::vector<std::array<std::pair<uint8_t, uint16_t>,16>> &objects);
|
||||
void saveMap(const std::string &file, std::vector<std::array<std::pair<uint8_t, uint16_t>,16>> &objects);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user