88aee0f4f5
Although the overall logic of this function is finished, I still need to write the callbacks for RegionPager's onNew and onDelete. I've also tested this using a hand written save/index file. I've written up a map file format by hand, and I'll be implementing it over the next few commits.
16 lines
423 B
C++
16 lines
423 B
C++
#ifndef MAPLOADER_HPP_
|
|
#define MAPLOADER_HPP_
|
|
|
|
#include "region_pager.hpp"
|
|
#include "tile_sheet.hpp"
|
|
|
|
#include <list>
|
|
#include <string>
|
|
|
|
/* Given the map name and pointers to containers, this is a generic loading system
|
|
*/
|
|
void loadGameMap(std::string mapPathName, RegionPager* pager, std::list<TileSheet>* sheetList);
|
|
void saveGameMap(std::string mapPathName, RegionPager* pager, std::list<TileSheet>* sheetList);
|
|
|
|
#endif
|