- updated techree validation output

This commit is contained in:
Mark Vejvoda
2010-08-26 04:31:48 +00:00
parent 58b23f8b91
commit 6fcf4295f1

View File

@@ -753,6 +753,7 @@ int glestMain(int argc, char** argv){
} }
} }
printf("\n----------------------------------------------------------------");
printf("\nChecking techPath [%s] techName [%s] total faction count = %d\n",techPath.c_str(), techName.c_str(),factionsList.size()); printf("\nChecking techPath [%s] techName [%s] total faction count = %d\n",techPath.c_str(), techName.c_str(),factionsList.size());
for(int j = 0; j < factionsList.size(); ++j) { for(int j = 0; j < factionsList.size(); ++j) {
if( filteredFactionList.size() == 0 || if( filteredFactionList.size() == 0 ||
@@ -761,6 +762,7 @@ int glestMain(int argc, char** argv){
} }
} }
if(factions.size() > 0) {
bool techtree_errors = false; bool techtree_errors = false;
world.loadTech(config.getPathListForType(ptTechs,""), techName, factions, &checksum); world.loadTech(config.getPathListForType(ptTechs,""), techName, factions, &checksum);
// Validate the faction setup to ensure we don't have any bad associations // Validate the faction setup to ensure we don't have any bad associations
@@ -810,6 +812,8 @@ int glestMain(int argc, char** argv){
} }
} }
} }
printf("----------------------------------------------------------------");
}
} }
} }
} }