#ifndef MAPS_HPP #define MAPS_HPP #include "elements.hpp" #include "globals.hpp" #include #include struct Level { char data[MAX_ROWS][MAX_COLS]; std::string name; }; extern Level levels[]; extern const char map[MAX_ROWS][MAX_COLS]; void clear_map(std::array, MAX_ROWS>& wall_list); void load_map(std::array, MAX_ROWS>& wall_list, const char map_data[MAX_ROWS][MAX_COLS]); #endif