|
|
@ -323,13 +323,13 @@ command_result Dump_Trees(color_ostream &out, vector<string> ¶meters)
|
|
|
|
output << "░";
|
|
|
|
output << "░";
|
|
|
|
else if(tile.bits.branches)
|
|
|
|
else if(tile.bits.branches)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if(tile.bits.thick_branches_1) // East Connection
|
|
|
|
if(tile.bits.connection_east)// East Connection
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if(tile.bits.thick_branches_2) // South Connection
|
|
|
|
if(tile.bits.connection_south) // South Connection
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if(tile.bits.thick_branches_3) // West Connection
|
|
|
|
if(tile.bits.connection_west) // West Connection
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if(tile.bits.thick_branches_4) // North Connection
|
|
|
|
if(tile.bits.connection_north) // North Connection
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if(tile.bits.trunk)
|
|
|
|
if(tile.bits.trunk)
|
|
|
|
output << "╬";
|
|
|
|
output << "╬";
|
|
|
@ -346,7 +346,7 @@ command_result Dump_Trees(color_ostream &out, vector<string> ¶meters)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if(tile.bits.thick_branches_4) // North Connection
|
|
|
|
if(tile.bits.connection_north) // North Connection
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if(tile.bits.trunk)
|
|
|
|
if(tile.bits.trunk)
|
|
|
|
output << "╠";
|
|
|
|
output << "╠";
|
|
|
@ -364,9 +364,9 @@ command_result Dump_Trees(color_ostream &out, vector<string> ¶meters)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if(tile.bits.thick_branches_3) // West Connection
|
|
|
|
if(tile.bits.connection_west) // West Connection
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if(tile.bits.thick_branches_4) // North Connection
|
|
|
|
if(tile.bits.connection_north) // North Connection
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if(tile.bits.trunk)
|
|
|
|
if(tile.bits.trunk)
|
|
|
|
output << "╩";
|
|
|
|
output << "╩";
|
|
|
@ -383,7 +383,7 @@ command_result Dump_Trees(color_ostream &out, vector<string> ¶meters)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if(tile.bits.thick_branches_4) // North Connection
|
|
|
|
if(tile.bits.connection_north) // North Connection
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if(tile.bits.trunk)
|
|
|
|
if(tile.bits.trunk)
|
|
|
|
output << "╚";
|
|
|
|
output << "╚";
|
|
|
@ -402,11 +402,11 @@ command_result Dump_Trees(color_ostream &out, vector<string> ¶meters)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if(tile.bits.thick_branches_2) // South Connection
|
|
|
|
if(tile.bits.connection_south) // South Connection
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if(tile.bits.thick_branches_3) // West Connection
|
|
|
|
if(tile.bits.connection_west) // West Connection
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if(tile.bits.thick_branches_4) // North Connection
|
|
|
|
if(tile.bits.connection_north) // North Connection
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if(tile.bits.trunk)
|
|
|
|
if(tile.bits.trunk)
|
|
|
|
output << "╣";
|
|
|
|
output << "╣";
|
|
|
@ -423,7 +423,7 @@ command_result Dump_Trees(color_ostream &out, vector<string> ¶meters)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if(tile.bits.thick_branches_4) // North Connection
|
|
|
|
if(tile.bits.connection_north) // North Connection
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if(tile.bits.trunk)
|
|
|
|
if(tile.bits.trunk)
|
|
|
|
output << "║";
|
|
|
|
output << "║";
|
|
|
@ -441,9 +441,9 @@ command_result Dump_Trees(color_ostream &out, vector<string> ¶meters)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if(tile.bits.thick_branches_3) // West Connection
|
|
|
|
if(tile.bits.connection_west) // West Connection
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if(tile.bits.thick_branches_4) // North Connection
|
|
|
|
if(tile.bits.connection_north) // North Connection
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if(tile.bits.trunk)
|
|
|
|
if(tile.bits.trunk)
|
|
|
|
output << "╝";
|
|
|
|
output << "╝";
|
|
|
@ -460,7 +460,7 @@ command_result Dump_Trees(color_ostream &out, vector<string> ¶meters)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if(tile.bits.thick_branches_4) // North Connection
|
|
|
|
if(tile.bits.connection_north) // North Connection
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if(tile.bits.trunk)
|
|
|
|
if(tile.bits.trunk)
|
|
|
|
output << "╨";
|
|
|
|
output << "╨";
|
|
|
|