\r
{ &cheat_turn, FALSE, 255, 0x81, 0x00,\r
"cheat_turn", _("\83Q\81[\83\80\83\81\83b\83Z\81[\83W\82É\83^\81[\83\93\95\\8e¦\82ð\8ds\82¤", "Put turn to game message.")\r
+ },\r
+\r
+ { &cheat_sight, FALSE, 255, 0x82, 0x00,\r
+ "cheat_sight", _("\81u\8c©\82é\81v\83R\83}\83\93\83h\82ð\8ag\92£\82·\82é\81B", "Expand \"L\"ook command.")\r
}\r
};\r
\r
{
strcpy(info, _("q止 p自 o現 +次 -前", "q,p,o,+,-,<dir>"));
}
+
+ if (cheat_sight)
+ {
+ char cheatinfo[30];
+ sprintf(cheatinfo, " LOS:%d, PROJECTABLE:%d",
+ los(p_ptr->y, p_ptr->x, y, x),
+ projectable(p_ptr->y, p_ptr->x, y, x));
+ strcat(info, cheatinfo);
+ }
/* Describe and Prompt */
while (TRUE){
/* Default prompt */
strcpy(info, _("q止 t決 p自 m近 +次 -前", "q,t,p,m,+,-,<dir>"));
+ if (cheat_sight)
+ {
+ char cheatinfo[30];
+ sprintf(cheatinfo, " LOS:%d, PROJECTABLE:%d",
+ los(p_ptr->y, p_ptr->x, y, x),
+ projectable(p_ptr->y, p_ptr->x, y, x));
+ strcat(info, cheatinfo);
+ }
+
/* Describe and Prompt (enable "TARGET_LOOK") */
while ((query = target_set_aux(y, x, mode | TARGET_LOOK, info)) == 0);