Added the saving function

This commit is contained in:
Kayne Ruse
2013-10-17 23:10:43 +11:00
parent 0bfd916df4
commit 6fc8570cf4
2 changed files with 24 additions and 1 deletions
+1
View File
@@ -66,6 +66,7 @@ EditorScene::EditorScene() {
// sheetList.front().LoadSurface("rsc\\graphics\\tilesets\\terrain.bmp", 32, 32);
loadGameMap("rsc\\maps\\mappy", &pager, &sheetList);
saveGameMap("rsc\\maps\\foo", &pager, &sheetList);
cout << "Region Width: " << pager.GetWidth() << endl;
cout << "Region Height: " << pager.GetHeight() << endl;