• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revision47288dcbcf4f5741067b478255fa020ca98577fc (tree)
Time2002-01-20 00:17:16
Authormogami <mogami@0568...>
Commitermogami

Log Message

オンラインヘルプ'?'コマンドから、readme.txt と autopick.txtを参照
できるようにした。

Change Summary

Incremental Difference

--- a/lib/help/help.hlp
+++ b/lib/help/help.hlp
@@ -1,4 +1,13 @@
1-Welcome to the Zangband Online Help System.
1+Welcome to the Hengband Online Help System.
2+
3+Full help document of Hengband is not yet available.
4+There is a few document which explains special feature of Hengband.
5+Please choose one of the following online help files:
6+
7+ (a) General Information for Hengband (readme.txt)
8+ (b) How to use auto-picker/destroyer (autopick.txt)
9+
10+Documents below are Zangband 2.2.8 Online Help for reference.
211
312 Please choose one of the following online help files:
413
@@ -15,6 +24,8 @@ Please choose one of the following online help files:
1524 (?) Help System Commands (helpinfo.txt)
1625
1726
27+***** [a] ..\readme.txt
28+***** [b] ..\autopick.txt
1829 ***** [0] general.hlp
1930 ***** [1] birth.hlp
2031 ***** [2] dungeon.hlp
--- a/lib/help/jhelp.hlp
+++ b/lib/help/jhelp.hlp
@@ -1,7 +1,11 @@
11 [ 変愚蛮怒・オンライン・ヘルプ・システムへようこそ ]
22 参照したいオンライン・ヘルプの番号を押して下さい:
3- (注意!この日本語ヘルプは JAngband のものなので、正確でないことがあります。
4- 何か分からないことがあれば、変愚蛮怒の掲示板で聞いて下さい。)
3+
4+ (0) 変愚蛮怒固有の情報 (readme.txt)
5+ (9) 自動拾い/破壊の使い方 (autopick.txt)
6+
7+ (以下の日本語ヘルプは JAngband のものです。
8+ 参考程度にしかならないので注意してください。)
59
610 (1) 全体的な情報 (jgeneral.txt)
711 (2) キャラクター作成 (jbirth .txt)
@@ -18,6 +22,8 @@
1822 (e) 英語版ヘルプ (help.hlp)
1923
2024 (?) ヘルプシステムの使用法 (jhelpinfo.txt)
25+***** [0] ..\readme.txt
26+***** [9] ..\autopick.txt
2127 ***** [1] jgeneral.txt
2228 ***** [2] jbirth.txt
2329 ***** [3] jdungeon.txt
@@ -30,3 +36,5 @@
3036 ***** [b] j_name.txt
3137 ***** [c] japanese.txt
3238 ***** [e] help.hlp
39+
40+
--- a/readme.txt
+++ b/readme.txt
@@ -83,8 +83,8 @@
8383 テンキー(1-9) 各方向に移動(オリジナルキー配置)
8484 h,j,k,l,y,u,b,n 各方向に移動(ローグライクキー配置)
8585 5/, その場にとどまる
86- < 上り階段を上る
87- > 下り階段を下る
86+ < 上り階段を上る。地上では広域マップに入る。
87+ > 下り階段を下る。広域マップから通常のマップに戻る。
8888 Shift+方向 走る
8989 Ctrl+方向 モンスターがいれば攻撃、ドアがあれば開閉、岩があれば掘る
9090
@@ -129,6 +129,9 @@
129129 [その他]
130130 p ペットに命令する
131131 = オプション設定
132+ $ 自動拾いファイルを再読み込みする。
133+ n/[ 前のコマンドを繰り返す。
134+ @ マクロの設定をする。
132135
133136
134137 ●アイテム表記
--- a/src/files.c
+++ b/src/files.c
@@ -4988,6 +4988,27 @@ sprintf(caption, "
49884988 fff = my_fopen(path, "r");
49894989 }
49904990
4991+ /* Look in "info" */
4992+ if (!fff)
4993+ {
4994+ /* Build the filename */
4995+ path_build(path, 1024, ANGBAND_DIR, name);
4996+
4997+ for (i = 0; path[i]; i++)
4998+ if ('\\' == path[i])
4999+ path[i] = PATH_SEP[0];
5000+
5001+ /* Caption */
5002+#ifdef JP
5003+sprintf(caption, "スポイラー・ファイル'%s'", name);
5004+#else
5005+ sprintf(caption, "Info file '%s'", name);
5006+#endif
5007+
5008+ /* Open the file */
5009+ fff = my_fopen(path, "r");
5010+ }
5011+
49915012 /* Oops */
49925013 if (!fff)
49935014 {
Show on old repository browser