@@ -198,6 +198,7 @@ command_result df_probe (color_ostream &out, vector <string> & parameters)
198198 df::tiletype tiletype = mc.tiletypeAt (cursor);
199199 df::tile_designation &des = block.designation [tileX][tileY];
200200 df::tile_occupancy &occ = block.occupancy [tileX][tileY];
201+ uint8_t fog_of_war = block.fog_of_war [tileX][tileY];
201202/*
202203 if(showDesig)
203204 {
@@ -303,7 +304,8 @@ command_result df_probe (color_ostream &out, vector <string> & parameters)
303304 if (des.bits .water_stagnant )
304305 out << " stagnant" << endl;
305306
306- out.print (" %-16s= %s\n " , " dig" , ENUM_KEY_STR (tile_dig_designation,des.bits .dig ).c_str ());
307+ out.print (" %-16s= %s\n " , " dig" , ENUM_KEY_STR (tile_dig_designation, des.bits .dig ).c_str ());
308+ out.print (" %-16s= %s\n " , " traffic" , ENUM_KEY_STR (tile_traffic, des.bits .traffic ).c_str ());
307309
308310 #define PRINT_FLAG ( FIELD, BIT ) out.print(" %-16s= %c\n " , #BIT , ( FIELD .bits.BIT ? ' Y' : ' ' ) )
309311 PRINT_FLAG ( des, hidden );
@@ -313,6 +315,7 @@ command_result df_probe (color_ostream &out, vector <string> & parameters)
313315 PRINT_FLAG ( des, water_table );
314316 PRINT_FLAG ( des, rained );
315317 PRINT_FLAG ( occ, monster_lair);
318+ out.print (" %-16s= %d\n " , " fog_of_war" , fog_of_war);
316319
317320 df::coord2d pc (blockX, blockY);
318321
0 commit comments