Convert unicode to escaped characters, and some formatting niceness

develop
JapaMala 2018-12-26 00:11:08 -06:00
parent 701ac66f8e
commit 4b7e0d3c56
1 changed files with 137 additions and 137 deletions

@ -320,7 +320,7 @@ command_result Dump_Trees(color_ostream &out, vector<string> &parameters)
if (tile.bits.blocked)
output << "x";
else if (tile.bits.twigs)
output << "";
output << "\u2591";
else if (tile.bits.branches)
{
if (tile.bits.connection_east)// East Connection
@ -332,16 +332,16 @@ command_result Dump_Trees(color_ostream &out, vector<string> &parameters)
if (tile.bits.connection_north) // North Connection
{
if (tile.bits.trunk)
output << "";
output << "\u256c";
else
output << "";
output << "\u253c";
}
else
{
if (tile.bits.trunk)
output << "";
output << "\u2566";
else
output << "";
output << "\u252c";
}
}
else
@ -349,16 +349,16 @@ command_result Dump_Trees(color_ostream &out, vector<string> &parameters)
if (tile.bits.connection_north) // North Connection
{
if (tile.bits.trunk)
output << "";
output << "\u2560";
else
output << "";
output << "\u251c";
}
else
{
if (tile.bits.trunk)
output << "";
output << "\u2554";
else
output << "";
output << "\u250c";
}
}
}
@ -369,16 +369,16 @@ command_result Dump_Trees(color_ostream &out, vector<string> &parameters)
if (tile.bits.connection_north) // North Connection
{
if (tile.bits.trunk)
output << "";
output << "\u2569";
else
output << "";
output << "\u2534";
}
else
{
if (tile.bits.trunk)
output << "";
output << "\u2550";
else
output << "";
output << "\u2500";
}
}
else
@ -386,14 +386,14 @@ command_result Dump_Trees(color_ostream &out, vector<string> &parameters)
if (tile.bits.connection_north) // North Connection
{
if (tile.bits.trunk)
output << "";
output << "\u255a";
else
output << "";
output << "\u2514";
}
else
{
if (tile.bits.trunk)
output << "";
output << "\u255e";
else
output << ">";
}
@ -409,16 +409,16 @@ command_result Dump_Trees(color_ostream &out, vector<string> &parameters)
if (tile.bits.connection_north) // North Connection
{
if (tile.bits.trunk)
output << "";
output << "\u2563";
else
output << "";
output << "\u2524";
}
else
{
if (tile.bits.trunk)
output << "";
output << "\u2557";
else
output << "";
output << "\u2510";
}
}
else
@ -426,14 +426,14 @@ command_result Dump_Trees(color_ostream &out, vector<string> &parameters)
if (tile.bits.connection_north) // North Connection
{
if (tile.bits.trunk)
output << "";
output << "\u2551";
else
output << "";
output << "\u2502";
}
else
{
if (tile.bits.trunk)
output << "";
output << "\u2565";
else
output << "v";
}
@ -446,14 +446,14 @@ command_result Dump_Trees(color_ostream &out, vector<string> &parameters)
if (tile.bits.connection_north) // North Connection
{
if (tile.bits.trunk)
output << "";
output << "\u255d";
else
output << "";
output << "\u2518";
}
else
{
if (tile.bits.trunk)
output << "";
output << "\u2561";
else
output << "<";
}
@ -463,7 +463,7 @@ command_result Dump_Trees(color_ostream &out, vector<string> &parameters)
if (tile.bits.connection_north) // North Connection
{
if (tile.bits.trunk)
output << "";
output << "\u2568";
else
output << "^";
}
@ -472,7 +472,7 @@ command_result Dump_Trees(color_ostream &out, vector<string> &parameters)
if (tile.bits.trunk)
output << "o";
else
output << "";
output << "\u2592";
}
}
}