probe: display tiletype enum names as well

develop
lethosor 2017-05-10 12:40:57 -04:00
parent 629b4526c6
commit d083b92e9c
2 changed files with 2 additions and 0 deletions

@ -192,6 +192,7 @@ Misc Improvements
- `fix/diplomats`: replaces ``fixdiplomats``
- `fix/merchants`: replaces ``fixmerchants``
- `prefchange`: added a ``help`` option
- `probe`: now displays raw tiletype names
- Unified script documentation and in-terminal help options
Removed

@ -119,6 +119,7 @@ void describeTile(color_ostream &out, df::tiletype tiletype)
out.print("%d", tiletype);
if(tileName(tiletype))
out.print(" = %s",tileName(tiletype));
out.print(" (%s)", ENUM_KEY_STR(tiletype, tiletype).c_str());
out.print("\n");
df::tiletype_shape shape = tileShape(tiletype);