OSDN Git Service

簡単愚より、画面写真のキャンセルを可能にした。
authormogami <mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sun, 23 Jun 2002 04:56:42 +0000 (04:56 +0000)
committermogami <mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sun, 23 Jun 2002 04:56:42 +0000 (04:56 +0000)
階段で地上に出るときはメッセージを変える。

src/cmd2.c
src/cmd4.c

index 7471da3..30a3b65 100644 (file)
@@ -147,10 +147,15 @@ if (get_check("
 #ifdef JP
                        if ((p_ptr->pseikaku == SEIKAKU_COMBAT) || (inventory[INVEN_BOW].name1 == ART_CRIMSON))
                                msg_print("¤Ê¤ó¤À¤³¤Î³¬Ãʤϡª");
-                       else
+                       else if (0 == dun_level)
+                               msg_print("ÃϾå¤ËÌá¤Ã¤¿¡£");
+                        else
                                msg_print("³¬Ãʤò¾å¤Ã¤Æ¿·¤¿¤Ê¤ë̵ܤؤÈ­¤òƧ¤ßÆþ¤ì¤¿¡£");
 #else
-                       msg_print("You enter a maze of up staircases.");
+                        if (0 == dun_level)
+                               msg_print("You go back to the surface.");
+                        else
+                                msg_print("You enter a maze of up staircases.");
 #endif
 
 
index 52ff2b1..9c3a7a9 100644 (file)
@@ -5356,9 +5356,32 @@ void (*screendump_aux)(void) = NULL;
 void do_cmd_save_screen(void)
 {
        bool old_use_graphics = use_graphics;
+       bool html_dump = FALSE;
 
        int wid, hgt;
 
+#ifdef JP
+       prt("µ­Ç°»£±Æ¤·¤Þ¤¹¤«¡© [(y)es/(h)tml/(n)o] ", 0, 0);
+#else
+       prt("Save screen dump? [(y)es/(h)tml/(n)o] ", 0, 0);
+#endif
+       while(TRUE)
+       {
+               char c = inkey();
+               if (c == 'Y' || c == 'y')
+                       break;
+               else if (c == 'H' || c == 'h')
+               {
+                       html_dump = TRUE;
+                       break;
+               }
+               else
+               {
+                       prt("", 0, 0);
+                       return;
+               }
+       }
+
        Term_get_size(&wid, &hgt);
 
        if (old_use_graphics)
@@ -5373,11 +5396,7 @@ void do_cmd_save_screen(void)
                handle_stuff();
        }
 
-#ifdef JP
-       if (get_check_strict("HTML¤Ç½ÐÎϤ·¤Þ¤¹¤«¡©", CHECK_NO_HISTORY))
-#else
-       if (get_check_strict("Save screen dump as HTML? ", CHECK_NO_HISTORY))
-#endif
+       if (html_dump)
        {
                do_cmd_save_screen_html();
                do_cmd_redraw();