Core/MMaps: Made some cosmetic improvements to the mmaps generator

This commit is contained in:
Subv
2012-08-28 20:09:04 -05:00
parent 4225803587
commit fa590d006e
2 changed files with 3 additions and 4 deletions

View File

@@ -179,7 +179,6 @@ namespace MMAP
{
if ((*_th)->Free)
{
printf("Thread is free for map %03i\n", mapID);
(*_th)->SetMapId(mapID);
(*_th)->activate();
next = true;
@@ -335,7 +334,7 @@ namespace MMAP
buildNavMesh(mapID, navMesh);
if (!navMesh)
{
printf("Failed creating navmesh! \n");
printf("[Map %i] Failed creating navmesh!\n", mapID);
return;
}
@@ -363,7 +362,7 @@ namespace MMAP
/**************************************************************************/
void MapBuilder::buildTile(uint32 mapID, uint32 tileX, uint32 tileY, dtNavMesh* navMesh)
{
printf("Building map %03u, tile [%02u,%02u]\n", mapID, tileX, tileY);
printf("[Map %i] Building tile [%02u,%02u]\n", mapID, tileX, tileY);
MeshData meshData;

View File

@@ -292,6 +292,6 @@ int main(int argc, char** argv)
builder.buildAllMaps(threads);
if (!silent)
printf("Finished. MMAPS were built in %u ms!", GetMSTimeDiffToNow(start));
printf("Finished. MMAPS were built in %u ms!\n", GetMSTimeDiffToNow(start));
return 1;
}