Because filesnames starting with a "-" are somewhat annoying to work with, prepend "tile_" to the tile filenames.
This commit is contained in:
parent
07b4aabde6
commit
b4e1145086
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue