From 81fab06e3b9b42feacff1428248e26cbc1abad11 Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Tue, 22 Oct 2013 20:22:35 +1100 Subject: [PATCH] Dummied out the load & save functions --- common/mapsystem/map_loader.cpp | 10 ++++++---- common/mapsystem/map_loader.hpp | 7 +++---- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/common/mapsystem/map_loader.cpp b/common/mapsystem/map_loader.cpp index 01327fb..c7779ee 100644 --- a/common/mapsystem/map_loader.cpp +++ b/common/mapsystem/map_loader.cpp @@ -5,8 +5,8 @@ #include #include -void loadGameMap(std::string mapPathName, RegionPager* pager, std::list* sheetList) { - //open the index file +void loadGameMap(std::string mapPathName, RegionPager* const, TileSheetManager* const) { +/* //open the index file std::ifstream indexFile(mapPathName + "\\index"); if (!indexFile.is_open()) { throw(std::runtime_error(std::string("Failed to open game map: ") + mapPathName)); @@ -72,10 +72,11 @@ void loadGameMap(std::string mapPathName, RegionPager* pager, std::list* sheetList) { - //open the index file +void saveGameMap(std::string mapPathName, RegionPager* const, TileSheetManager* const) { +/* //open the index file std::ofstream indexFile(mapPathName + "\\index"); if (!indexFile.is_open()) { throw(std::runtime_error(std::string("Failed to open game map: ") + mapPathName)); @@ -98,4 +99,5 @@ void saveGameMap(std::string mapPathName, RegionPager* pager, std::list #include /* Given the map name and pointers to containers, this is a generic loading system */ -void loadGameMap(std::string mapPathName, RegionPager* pager, std::list* sheetList); -void saveGameMap(std::string mapPathName, RegionPager* pager, std::list* sheetList); +void loadGameMap(std::string mapPathName, RegionPager* const, TileSheetManager* const); +void saveGameMap(std::string mapPathName, RegionPager* const, TileSheetManager* const); #endif