#ifndef MAPS_HPP #define MAPS_HPP #include #include #include "globals.hpp" #include "elements.hpp" struct Level { char data[MAX_ROWS][MAX_COLS]; std::string name; }; extern Level levels[]; void clear_map(std::array, MAX_ROWS> wall_list); void load_map(std::array, MAX_ROWS> wall_list, const std::array, MAX_ROWS> map_data); std::array, MAX_ROWS> create_map(sf::RenderWindow &window, sf::Vector2i &local_position, sf::Vector2i &start_mouse_pos, sf::Vector2i &end_mouse_pos, bool &dragging, bool &prev_dragging, std::array, MAX_ROWS> wall_list); #endif