OSDN Git Service

オンラインヘルプ'?'コマンドから、readme.txt と autopick.txtを参照
authormogami <mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sat, 19 Jan 2002 15:17:16 +0000 (15:17 +0000)
committermogami <mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sat, 19 Jan 2002 15:17:16 +0000 (15:17 +0000)
できるようにした。

lib/help/help.hlp
lib/help/jhelp.hlp
readme.txt
src/files.c

index f76304d..a61a4cc 100644 (file)
@@ -1,4 +1,13 @@
-Welcome to the Zangband Online Help System.
+Welcome to the Hengband Online Help System.
+
+Full help document of Hengband is not yet available.
+There is a few document which explains special feature of Hengband.
+Please choose one of the following online help files:
+
+    (a) General Information for Hengband (readme.txt)
+    (b) How to use auto-picker/destroyer (autopick.txt)
+
+Documents below are Zangband 2.2.8 Online Help for reference.
 
 Please choose one of the following online help files:
 
@@ -15,6 +24,8 @@ Please choose one of the following online help files:
     (?) Help System Commands           (helpinfo.txt)
 
 
+***** [a] ..\readme.txt
+***** [b] ..\autopick.txt
 ***** [0] general.hlp
 ***** [1] birth.hlp
 ***** [2] dungeon.hlp
index 27917df..1e52abe 100644 (file)
@@ -1,7 +1,11 @@
         [ ÊѶòÈÚÅÜ¡¦¥ª¥ó¥é¥¤¥ó¡¦¥Ø¥ë¥×¡¦¥·¥¹¥Æ¥à¤Ø¤è¤¦¤³¤½ ]
   »²¾È¤·¤¿¤¤¥ª¥ó¥é¥¤¥ó¡¦¥Ø¥ë¥×¤ÎÈÖ¹æ¤ò²¡¤·¤Æ²¼¤µ¤¤:
-  (Ãí°Õ¡ª¤³¤ÎÆüËܸì¥Ø¥ë¥×¤Ï JAngband ¤Î¤â¤Î¤Ê¤Î¤Ç¡¢Àµ³Î¤Ç¤Ê¤¤¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£
-   ²¿¤«Ê¬¤«¤é¤Ê¤¤¤³¤È¤¬¤¢¤ì¤Ð¡¢ÊѶòÈÚÅܤηǼ¨ÈĤÇʹ¤¤¤Æ²¼¤µ¤¤¡£)
+
+    (0) ÊѶòÈÚÅܸÇÍ­¤Î¾ðÊó    (readme.txt)
+    (9) ¼«Æ°½¦¤¤/Ç˲õ¤Î»È¤¤Êý (autopick.txt)
+
+  (°Ê²¼¤ÎÆüËܸì¥Ø¥ë¥×¤Ï JAngband ¤Î¤â¤Î¤Ç¤¹¡£
+   »²¹ÍÄøÅ٤ˤ·¤«¤Ê¤é¤Ê¤¤¤Î¤ÇÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£)
 
     (1) Á´ÂÎŪ¤Ê¾ðÊó          (jgeneral.txt)
     (2) ¥­¥ã¥é¥¯¥¿¡¼ºîÀ®      (jbirth  .txt)
@@ -18,6 +22,8 @@
     (e) ±Ñ¸ìÈǥإë¥×          (help.hlp)
 
     (?) ¥Ø¥ë¥×¥·¥¹¥Æ¥à¤Î»ÈÍÑË¡      (jhelpinfo.txt)
+***** [0] ..\readme.txt
+***** [9] ..\autopick.txt
 ***** [1] jgeneral.txt
 ***** [2] jbirth.txt
 ***** [3] jdungeon.txt
@@ -30,3 +36,5 @@
 ***** [b] j_name.txt
 ***** [c] japanese.txt
 ***** [e] help.hlp
+
+
index b49caec..9580a8e 100644 (file)
@@ -83,8 +83,8 @@
   ¥Æ¥ó¥­¡¼(1-9) ³ÆÊý¸þ¤Ë°ÜÆ°(¥ª¥ê¥¸¥Ê¥ë¥­¡¼ÇÛÃÖ)
   h,j,k,l,y,u,b,n ³ÆÊý¸þ¤Ë°ÜÆ°(¥í¡¼¥°¥é¥¤¥¯¥­¡¼ÇÛÃÖ)
   5/, ¤½¤Î¾ì¤Ë¤È¤É¤Þ¤ë
-  < ¾å¤ê³¬Ãʤò¾å¤ë
-  > ²¼¤ê³¬Ãʤò²¼¤ë
+  < ¾å¤ê³¬Ãʤò¾å¤ë¡£ÃϾå¤Ç¤Ï¹­°è¥Þ¥Ã¥×¤ËÆþ¤ë¡£
+  > ²¼¤ê³¬Ãʤò²¼¤ë¡£¹­°è¥Þ¥Ã¥×¤«¤éÄ̾ï¤Î¥Þ¥Ã¥×¤ËÌá¤ë¡£
   Shift+Êý¸þ Áö¤ë
   Ctrl+Êý¸þ ¥â¥ó¥¹¥¿¡¼¤¬¤¤¤ì¤Ð¹¶·â¡¢¥É¥¢¤¬¤¢¤ì¤Ð³«ÊÄ¡¢´ä¤¬¤¢¤ì¤Ð·¡¤ë
 
   [¤½¤Î¾]
   p ¥Ú¥Ã¥È¤ËÌ¿Î᤹¤ë
   = ¥ª¥×¥·¥ç¥óÀßÄê
+  $ ¼«Æ°½¦¤¤¥Õ¥¡¥¤¥ë¤òºÆÆɤ߹þ¤ß¤¹¤ë¡£
+  n/[  Á°¤Î¥³¥Þ¥ó¥É¤ò·«¤êÊÖ¤¹¡£
+  @  ¥Þ¥¯¥í¤ÎÀßÄê¤ò¤¹¤ë¡£
 
 
 ¡ü¥¢¥¤¥Æ¥àɽµ­
index cca364e..d2b799e 100644 (file)
@@ -4988,6 +4988,27 @@ sprintf(caption, "
                fff = my_fopen(path, "r");
        }
 
+       /* Look in "info" */
+       if (!fff)
+       {
+               /* Build the filename */
+               path_build(path, 1024, ANGBAND_DIR, name);
+
+               for (i = 0; path[i]; i++)
+                       if ('\\' == path[i])
+                               path[i] = PATH_SEP[0];
+
+               /* Caption */
+#ifdef JP
+sprintf(caption, "¥¹¥Ý¥¤¥é¡¼¡¦¥Õ¥¡¥¤¥ë'%s'", name);
+#else
+               sprintf(caption, "Info file '%s'", name);
+#endif
+
+               /* Open the file */
+               fff = my_fopen(path, "r");
+       }
+
        /* Oops */
        if (!fff)
        {