Add dig designations to probe.cpp

develop
Japa 2016-05-28 08:29:12 +05:30
parent c0419d919e
commit 0867f3d311
1 changed files with 2 additions and 0 deletions

@ -303,6 +303,8 @@ command_result df_probe (color_ostream &out, vector <string> & parameters)
if(des.bits.water_stagnant) if(des.bits.water_stagnant)
out << "stagnant" << endl; out << "stagnant" << endl;
out.print("%-16s= %s\n", "dig", ENUM_KEY_STR(tile_dig_designation,des.bits.dig).c_str());
#define PRINT_FLAG( FIELD, BIT ) out.print("%-16s= %c\n", #BIT , ( FIELD.bits.BIT ? 'Y' : ' ' ) ) #define PRINT_FLAG( FIELD, BIT ) out.print("%-16s= %c\n", #BIT , ( FIELD.bits.BIT ? 'Y' : ' ' ) )
PRINT_FLAG( des, hidden ); PRINT_FLAG( des, hidden );
PRINT_FLAG( des, light ); PRINT_FLAG( des, light );