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

This commit is contained in:
Subv committed 2012-08-28 20:10:08 -05:00
1 parent 4225803587
commit fa590d006e
2 files changed
+3 -4

No files matched your search

+2 -3
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;
+1 -1
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;
}