From b4e11450861a00665a1d9f3ef345acab0f274882 Mon Sep 17 00:00:00 2001 From: Martijn Versteegh Date: Mon, 3 Dec 2018 10:46:19 +0100 Subject: [PATCH] Because filesnames starting with a "-" are somewhat annoying to work with, prepend "tile_" to the tile filenames. --- TileGenerator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TileGenerator.cpp b/TileGenerator.cpp index d691c0b..871e124 100644 --- a/TileGenerator.cpp +++ b/TileGenerator.cpp @@ -323,7 +323,7 @@ void TileGenerator::generate(const std::string &input, const std::string &output renderPlayers(input_path); } ostringstream fn; - fn << (x + minTileX) << '_' << (y + minTileY) << '_' << output; + fn << "tile_" << (x + minTileX) << '_' << (y + minTileY) << '_' << output; writeImage(fn.str()); } }