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