Mario editor: formatting
This commit is contained in:
+11
-5
@@ -15,11 +15,17 @@ struct MapObject {
|
||||
};
|
||||
};
|
||||
|
||||
typedef std::tuple<uint8_t, uint16_t, uint8_t, uint8_t, uint8_t, uint8_t> mapObjectType;
|
||||
typedef std::array<mapObjectType,16> mapColumnType;
|
||||
typedef std::tuple< uint8_t, uint16_t, uint8_t, uint8_t, uint8_t, uint8_t >
|
||||
mapObjectType;
|
||||
typedef std::array< mapObjectType, 16 > mapColumnType;
|
||||
|
||||
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<mapColumnType> &objects);
|
||||
void saveMap(const std::string &file, std::vector<mapColumnType> &objects);
|
||||
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< mapColumnType > &objects );
|
||||
void saveMap( const std::string &file, std::vector< mapColumnType > &objects );
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user