• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

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


Commit MetaInfo

Revisiónc58e15a997e8018c3a6b8ee7a2ba8a9d0ec6300b (tree)
Tiempo2002-12-09 00:56:20
Autor(no author) <(no author)@0568...>
Commiter(no author)

Log Message

This commit was manufactured by cvs2svn to create tag
'hengband-1-4-0'.

Cambiar Resumen

Diferencia incremental

--- a/configure.in
+++ b/configure.in
@@ -3,7 +3,7 @@ AC_INIT(src/main.c)
33
44 AM_CONFIG_HEADER(src/autoconf.h)
55
6-AM_INIT_AUTOMAKE(hengband, 1.3.2)
6+AM_INIT_AUTOMAKE(hengband, 1.4.0)
77
88 AC_ARG_WITH(setgid,
99 [ --with-setgid=NAME install hengband as group NAME],
--- a/lib/file/news.txt
+++ b/lib/file/news.txt
@@ -1,6 +1,6 @@
11
22 ****************************************
3- ** Hengband 1.3.2 **
3+ ** Hengband 1.4.0 **
44 ****************************************
55
66 Based on Moria: Copyright (c) 1985 Robert Alan Koeneke
--- a/lib/file/news_j.txt
+++ b/lib/file/news_j.txt
@@ -1,6 +1,6 @@
11
22 ***************************************
3- ** 変愚蛮怒 1.3.2 **
3+ ** 変愚蛮怒 1.4.0 **
44 ***************************************
55
66 Based on Moria: Copyright (c) 1985 Robert Alan Koeneke
--- a/lib/help/jobjects.txt
+++ b/lib/help/jobjects.txt
@@ -459,22 +459,23 @@
459459
460460 自動刻みの一覧:
461461
462-+攻 : +At : 追加攻撃 r酸 : Ac : 酸への耐性
463-+速 : +Sp : 加速 r電 : El : 電撃への耐性
464-+腕 : +St : 腕力修正 r火 : Fi : 火への耐性
465-+知 : +In : 知力修正 r冷 : Co : 冷気への耐性
466-+賢 : +Wi : 賢さ修正 r毒 : Po : 毒への耐性
467-+器 : +Dx : 器用さ修正 r閃 : Li : 光への耐性
468-+耐 : +Cn : 耐久力修正 r暗 : Dk : 暗黒への耐性
469-+魅 : +Ch : 魅力修正 r破 : Sh : 破片への耐性
470-+隠 : +Sl : 隠密修正 r盲 : Bl : 盲目への耐性
471-+探 : +Sr : 探索修正 r乱 : Cf : 混乱への耐性
472-+赤 : +If : 赤外線修正 r轟 : So : 轟音への耐性
473-+掘 : +Dg : 採掘力修正 r獄 : Nt : 地獄への耐性
474-*酸 : *Ac : 酸への免疫 r因 : Nx : 因果混乱への耐性
475-*電 : *El : 電撃への免疫 r沌 : Ca : 混沌への耐性
476-*火 : *Fi : 火への免疫 r劣 : Di : 劣化への耐性
477-*冷 : *Co : 冷気への免疫 r恐 : Fe : 恐怖への耐性
462++攻 : At : 追加攻撃 r酸 : Ac : 酸への耐性
463++速 : Sp : 加速 r電 : El : 電撃への耐性
464++腕 : St : 腕力修正 r火 : Fi : 火への耐性
465++知 : In : 知力修正 r冷 : Co : 冷気への耐性
466++賢 : Wi : 賢さ修正 r毒 : Po : 毒への耐性
467++器 : Dx : 器用さ修正 r閃 : Li : 光への耐性
468++耐 : Cn : 耐久力修正 r暗 : Dk : 暗黒への耐性
469++魅 : Ch : 魅力修正 r破 : Sh : 破片への耐性
470++道 : Md : 魔法道具支配 r盲 : Bl : 盲目への耐性
471++隠 : Sl : 隠密修正 r乱 : Cf : 混乱への耐性
472++探 : Sr : 探索修正 r轟 : So : 轟音への耐性
473++赤 : If : 赤外線修正 r獄 : Nt : 地獄への耐性
474++掘 : Dg : 採掘力修正 r因 : Nx : 因果混乱への耐性
475+*酸 : *Ac : 酸への免疫 r沌 : Ca : 混沌への耐性
476+*電 : *El : 電撃への免疫 r劣 : Di : 劣化への耐性
477+*火 : *Fi : 火への免疫 r恐 : Fe : 恐怖への耐性
478+*冷 : *Co : 冷気への免疫
478479
479480 魔力 : Ma : 魔力消費減少 (炎 : (F: 炎のバリア
480481 投 : Th : 投擲用武器 (電 : (E: 電撃のバリア
--- a/lib/help/objects.txt
+++ b/lib/help/objects.txt
@@ -501,14 +501,15 @@ Wi : affects wisdom Po : resistance to poison
501501 Dx : affects dexterity Li : resistance to light
502502 Cn : affects constitution Dk : resistance to darkness
503503 Ch : affects charisma Sh : resistance to shards
504-Sl : affects stealth Bl : resistance to blindness
505-Sr : affects searching ability Cf : resistance to confusion
506-If : affects infravision So : resistance to sound
507-Dg : affects tunneling ability Nt : resistance to nether
508-*Ac : immune to acid Nx : resistance to nexus
509-*El : immune to electricity Ca : resistance to chaos
510-*Fi : immune to fire Di : resistance to disenchantment
511-*Co : immune to cold Fe : resistance to fear
504+Md : affects magic devices Bl : resistance to blindness
505+Sl : affects stealth Cf : resistance to confusion
506+Sr : affects searching ability So : resistance to sound
507+If : affects infravision Nt : resistance to nether
508+Dg : affects tunneling ability Nx : resistance to nexus
509+*Ac : immune to acid Ca : resistance to chaos
510+*El : immune to electricity Di : resistance to disenchantment
511+*Fi : immune to fire Fe : resistance to fear
512+*Co : immune to cold
512513
513514 Ma : decreases mana consumption (F : fiery sheath
514515 Th : suitable for throwing (E : electric sheath
--- a/readme.txt
+++ b/readme.txt
@@ -93,6 +93,9 @@
9393
9494 ●コマンド
9595
96+ 詳しいゲームの説明はオンライン・ヘルプ('?'キーを押して表示)を参照
97+ してください。ここでは基本的なコマンドだけ説明します。
98+
9699 コマンドは大文字と小文字を区別します。
97100 多くのコマンドは小文字なのでCapsはOFFにしておきましょう。
98101 以下のコマンドが全てではありませんが、
@@ -145,14 +148,18 @@
145148 i 持ち物の一覧表示
146149 l/x 周りを見る
147150 M 現在の階の全体マップを見る
151+ ~ 様々な重要な情報を見るメニューを開く
148152
149153 [その他]
150154 p ペットに命令する
151155 = オプション設定
152- $ 自動拾いファイルを再読み込みする。
153- _ 自動拾いファイルの編集。
154- n/[ 前のコマンドを繰り返す。
155- @ マクロの設定をする。
156+ $ 自動拾いファイルを再読み込みする
157+ _ 自動拾いファイルの編集
158+ n/[ 前のコマンドを繰り返す
159+ @ マクロの設定をする
160+
161+ [ヘルプ]
162+ ? オンライン・ヘルプを開く ( a-z で項目選択。スペースで次ページ。)
156163
157164
158165 ●アイテム表記
@@ -234,7 +241,6 @@
234241 '<', '>': 階段, 坑道
235242 '<'は上りの、'>'は下りです。
236243 白は階段で階を1つ移動し、茶色は坑道で階を2つ移動します。
237- ただし、たまに移動する階数が1つ増えることがあります。
238244
239245
240246 ――― ちょっと高度なプレイ ―――
--- a/readme_eng.txt
+++ b/readme_eng.txt
@@ -79,6 +79,9 @@ Serpent of Chaos, whom you must kill in order to win the game.
7979
8080 --------- Commands -----------
8181
82+ Please read on-line help (Press the ? key in the game) for full
83+information of the game. Here are only descriptions of basic commands.
84+
8285 The following section lists most commands, and the less frequently used
8386 ones may be accessed by pressing the return key, or (if using the original
8487 keyset) the 'x' key, to bring up the command menu. Almost any command may be
@@ -147,7 +150,7 @@ keyset, and by pushing 'x' in the Rogue-like keyset.
147150 M Full dungeon map
148151 ~ Display various information
149152
150- [other]
153+ [Other]
151154 p Command pets
152155 = Set options
153156 $ Reload auto-picker preference file
@@ -155,6 +158,10 @@ keyset, and by pushing 'x' in the Rogue-like keyset.
155158 n/[ Repeat previous command
156159 @ Interact with macros
157160
161+ [Help]
162+ ? View the on-line help
163+ (Press a-z to choose a section, space key to go next page.)
164+
158165
159166 --- Inscriptions
160167
--- a/src/cmd6.c
+++ b/src/cmd6.c
@@ -451,6 +451,13 @@ msg_print("
451451 #else
452452 msg_format("The %s has no charges left.", staff);
453453 #endif
454+
455+ o_ptr->ident |= (IDENT_EMPTY);
456+
457+ /* Combine / Reorder the pack (later) */
458+ p_ptr->notice |= (PN_COMBINE | PN_REORDER);
459+ p_ptr->window |= (PW_INVEN);
460+
454461 return;
455462 }
456463
@@ -1469,7 +1476,7 @@ msg_print("
14691476 #else
14701477 msg_print("You are moistened.");
14711478 #endif
1472- set_food(MIN(p_ptr->food + o_ptr->pval + 1000, PY_FOOD_MAX - 1));
1479+ set_food(MIN(p_ptr->food + o_ptr->pval + MAX(0, o_ptr->pval * 10) + 2000, PY_FOOD_MAX - 1));
14731480 break;
14741481 default:
14751482 (void)set_food(p_ptr->food + o_ptr->pval);
--- a/src/defines.h
+++ b/src/defines.h
@@ -39,15 +39,15 @@
3939
4040 /* Savefile version for Hengband 1.1.1 and later */
4141 #define H_VER_MAJOR 1
42-#define H_VER_MINOR 3
43-#define H_VER_PATCH 2
42+#define H_VER_MINOR 4
43+#define H_VER_PATCH 0
4444 #define H_VER_EXTRA 0
4545
4646 /* Added for ZAngband */
4747 #define FAKE_VERSION 0
4848 #define FAKE_VER_MAJOR 11
49-#define FAKE_VER_MINOR 3
50-#define FAKE_VER_PATCH 1
49+#define FAKE_VER_MINOR 4
50+#define FAKE_VER_PATCH 0
5151
5252 #define ANGBAND_2_8_1
5353 #define ZANGBAND
--- a/src/dungeon.c
+++ b/src/dungeon.c
@@ -5556,10 +5556,16 @@ msg_format("%s(%c)
55565556 if (energy_use)
55575557 {
55585558 /* Use some energy */
5559- if (!world_player)
5560- p_ptr->energy_need += (s16b)((s32b)energy_use * ENERGY_NEED() / 100L);
5561- else
5559+ if (world_player || energy_use > 400)
5560+ {
5561+ /* The Randomness is irrelevant */
55625562 p_ptr->energy_need += energy_use * TURNS_PER_TICK / 10;
5563+ }
5564+ else
5565+ {
5566+ /* There is some randomness of needed energy */
5567+ p_ptr->energy_need += (s16b)((s32b)energy_use * ENERGY_NEED() / 100L);
5568+ }
55635569
55645570 /* Hack -- constant hallucination */
55655571 if (p_ptr->image) p_ptr->redraw |= (PR_MAP);
--- a/src/effects.c
+++ b/src/effects.c
@@ -419,6 +419,18 @@ msg_print("
419419 msg_print("You are confused!");
420420 #endif
421421
422+ if (p_ptr->action == ACTION_LEARN)
423+ {
424+#ifdef JP
425+ msg_print("学習が続けられない!");
426+#else
427+ msg_print("You cannot continue Learning!");
428+#endif
429+ new_mane = FALSE;
430+
431+ p_ptr->redraw |= (PR_STATE);
432+ p_ptr->action = ACTION_NONE;
433+ }
422434 if (p_ptr->action == ACTION_KAMAE)
423435 {
424436 #ifdef JP
--- a/src/externs.h
+++ b/src/externs.h
@@ -393,14 +393,9 @@ extern vault_type *v_info;
393393 extern char *v_name;
394394 extern char *v_text;
395395 extern skill_table *s_info;
396-extern char *s_name;
397-extern char *s_text;
398396 extern player_magic *m_info;
399-extern char *m_name;
400-extern char *m_text;
401397 extern feature_type *f_info;
402398 extern char *f_name;
403-extern char *f_text;
404399 extern object_kind *k_info;
405400 extern char *k_name;
406401 extern char *k_text;
--- a/src/flavor.c
+++ b/src/flavor.c
@@ -1045,6 +1045,7 @@ static flag_insc_table flag_insc_plus[] =
10451045 { "器", "Dx", TR_DEX, -1 },
10461046 { "耐", "Cn", TR_CON, -1 },
10471047 { "魅", "Ch", TR_CHR, -1 },
1048+ { "道", "Md", TR_MAGIC_MASTERY, -1 },
10481049 { "隠", "Sl", TR_STEALTH, -1 },
10491050 { "探", "Sr", TR_SEARCH, -1 },
10501051 { "赤", "If", TR_INFRA, -1 },
@@ -1201,6 +1202,7 @@ static flag_insc_table flag_insc_plus[] =
12011202 { "Dx", TR_DEX, -1 },
12021203 { "Cn", TR_CON, -1 },
12031204 { "Ch", TR_CHR, -1 },
1205+ { "Md", TR_MAGIC_MASTERY, -1 },
12041206 { "Sl", TR_STEALTH, -1 },
12051207 { "Sr", TR_SEARCH, -1 },
12061208 { "If", TR_INFRA, -1 },
--- a/src/grid.c
+++ b/src/grid.c
@@ -196,6 +196,9 @@ void place_closed_door(int y, int x)
196196 /* Create jammed door */
197197 cave_set_feat(y, x, FEAT_DOOR_HEAD + 0x08 + randint0(8));
198198 }
199+
200+ /* Now it is not floor */
201+ cave[y][x].info &= ~(CAVE_MASK);
199202 }
200203
201204
--- a/src/init1.c
+++ b/src/init1.c
@@ -1213,20 +1213,6 @@ errr parse_f_info(char *buf, header *head)
12131213 }
12141214 #endif
12151215
1216-#if 0
1217-
1218- /* Process 'D' for "Description" */
1219- else if (buf[0] == 'D')
1220- {
1221- /* Acquire the text */
1222- s = buf+2;
1223-
1224- /* Store the text */
1225- if (!add_text(&f_ptr->text, head, s)) return (7);
1226- }
1227-
1228-#endif
1229-
12301216
12311217 /* Process 'M' for "Mimic" (one line only) */
12321218 else if (buf[0] == 'M')
--- a/src/init2.c
+++ b/src/init2.c
@@ -652,7 +652,7 @@ static errr init_f_info(void)
652652 #endif /* ALLOW_TEMPLATES */
653653
654654 return init_info("f_info", &f_head,
655- (void*)&f_info, (void*)&f_name, (void*)&f_text);
655+ (void*)&f_info, (void*)&f_name, NULL);
656656 }
657657
658658
@@ -799,7 +799,7 @@ static errr init_s_info(void)
799799 #endif /* ALLOW_TEMPLATES */
800800
801801 return init_info("s_info", &s_head,
802- (void*)&s_info, (void*)&s_name, (void*)&s_text);
802+ (void*)&s_info, NULL, NULL);
803803 }
804804
805805
@@ -819,7 +819,7 @@ static errr init_m_info(void)
819819 #endif /* ALLOW_TEMPLATES */
820820
821821 return init_info("m_info", &m_head,
822- (void*)&m_info, (void*)&m_name, (void*)&m_text);
822+ (void*)&m_info, NULL, NULL);
823823 }
824824
825825
@@ -879,16 +879,14 @@ static byte store_table[MAX_STORES][STORE_CHOICES][2] =
879879 { TV_FOOD, SV_FOOD_RATION },
880880 { TV_FOOD, SV_FOOD_RATION },
881881
882- { TV_LITE, SV_LITE_TORCH },
883- { TV_LITE, SV_LITE_TORCH },
882+ { TV_POTION, SV_POTION_WATER },
883+ { TV_POTION, SV_POTION_WATER },
884884 { TV_LITE, SV_LITE_LANTERN },
885885 { TV_LITE, SV_LITE_LANTERN },
886886
887887 { TV_FLASK, 0 },
888888 { TV_FLASK, 0 },
889-
890889 { TV_CAPTURE, 0 },
891-
892890 { TV_FIGURINE, 0 },
893891
894892 { TV_SHOT, SV_AMMO_NORMAL },
--- a/src/load.c
+++ b/src/load.c
@@ -2250,9 +2250,17 @@ note(format("
22502250 c_ptr->m_idx = m_idx;
22512251
22522252
2253- /* Access race */
2253+ /* Access real race */
22542254 r_ptr = &r_info[m_ptr->r_idx];
22552255
2256+ if (m_ptr->mflag2 & MFLAG_CHAMELEON)
2257+ {
2258+ if (r_ptr->flags1 & RF1_UNIQUE)
2259+ r_ptr = &r_info[MON_CHAMELEON_K];
2260+ else
2261+ r_ptr = &r_info[MON_CHAMELEON];
2262+ }
2263+
22562264 /* Count XXX XXX XXX */
22572265 r_ptr->cur_num++;
22582266 }
--- a/src/makefile.bcc
+++ b/src/makefile.bcc
@@ -70,7 +70,7 @@ OBJ = \
7070 monster1.obj monster2.obj mspells1.obj mspells2.obj mspells3.obj \
7171 mutation.obj \
7272 obj_kind.obj object1.obj object2.obj racial.obj readdib.obj \
73- report.obj rooms.obj save.obj scores.obj script.obj spells1.obj \
73+ report.obj rooms.obj save.obj scores.obj spells1.obj \
7474 spells2.obj spells3.obj store.obj streams.obj tables.obj util.obj \
7575 variable.obj wild.obj wizard1.obj wizard2.obj xtra1.obj xtra2.obj \
7676 z-form.obj z-rand.obj z-term.obj z-util.obj z-virt.obj
--- a/src/makefile.dos
+++ b/src/makefile.dos
@@ -29,24 +29,6 @@ JP_OPT= -DJP -DSJIS
2929 # Basic definitions
3030 #
3131
32-# Objects
33-#OBJS = \
34-# main.o main-dos.o main-ibm.o \
35-# artifact.o avatar.o birth.o bldg.o \
36-# cave.o cmd1.o cmd2.o cmd3.o \
37-# cmd4.o cmd5.o cmd6.o dungeon.o \
38-# effects.o files.o flavor.o generate.o \
39-# grid.o init1.o init2.o load.o \
40-# melee1.o melee2.o mind.o monster1.o \
41-# monster2.o mspells1.o mspells2.o mutation.o \
42-# notes.o \
43-# obj_kind.o object1.o object2.o racial.o \
44-# rooms.o save.o scores.o script.o \
45-# spells1.o spells2.o spells3.o store.o \
46-# streams.o tables.o util.o variable.o \
47-# wild.o wizard1.o wizard2.o xtra1.o \
48-# xtra2.o z-form.o z-rand.o z-term.o \
49-# z-util.o z-virt.o \
5032 OBJS = \
5133 z-util.o z-virt.o z-form.o z-rand.o z-term.o \
5234 variable.o tables.o util.o cave.o \
@@ -162,7 +144,6 @@ obj_kind.o: obj_kind.c $(INCS)
162144 racial.o: racial.c $(INCS)
163145 save.o: save.c $(INCS)
164146 scores.o: scores.c $(INCS)
165-script.o: script.c $(INCS)
166147 spells1.o: spells1.c $(INCS)
167148 spells2.o: spells2.c $(INCS)
168149 spells3.o: spells3.c $(INCS)
--- a/src/makefile.ibm
+++ b/src/makefile.ibm
@@ -15,24 +15,6 @@ JP_OPT= -DJP -DSJIS
1515 ###################################################################
1616
1717
18-#OBJS = \
19-# main.o main-ibm.o \
20-# artifact.o avatar.o birth.o bldg.o \
21-# cave.o cmd1.o cmd2.o cmd3.o \
22-# cmd4.o cmd5.o cmd6.o dungeon.o \
23-# effects.o files.o flavor.o generate.o \
24-# grid.o init1.o init2.o load.o \
25-# melee1.o melee2.o mind.o monster1.o \
26-# monster2.o mspells1.o mspells2.o mutation.o \
27-# notes.o \
28-# obj_kind.o object1.o object2.o racial.o \
29-# rooms.o save.o scores.o script.o \
30-# spells1.o spells2.o spells3.o store.o \
31-# streams.o tables.o util.o variable.o \
32-# wild.o wizard1.o wizard2.o xtra1.o \
33-# xtra2.o z-form.o z-rand.o z-term.o \
34-# z-util.o z-virt.o \
35-
3618 OBJS = \
3719 z-util.o z-virt.o z-form.o z-rand.o z-term.o \
3820 variable.o tables.o util.o cave.o \
--- a/src/racial.c
+++ b/src/racial.c
@@ -2740,7 +2740,7 @@ strcpy(power_desc[num].name, "
27402740 power_desc[num].level = 10;
27412741 power_desc[num].cost = 10;
27422742 power_desc[num].fail = 100 - racial_chance(10, A_DEX, 20);
2743- power_desc[num++].number = -4;
2743+ power_desc[num++].number = -3;
27442744 break;
27452745 }
27462746 case CLASS_MIRROR_MASTER:
--- a/src/store.c
+++ b/src/store.c
@@ -1308,6 +1308,9 @@ static bool store_will_buy(object_type *o_ptr)
13081308 /* Analyze the type */
13091309 switch (o_ptr->tval)
13101310 {
1311+ case TV_POTION:
1312+ if (o_ptr->sval != SV_POTION_WATER) return FALSE;
1313+
13111314 case TV_WHISTLE:
13121315 case TV_FOOD:
13131316 case TV_LITE:
--- a/src/variable.c
+++ b/src/variable.c
@@ -728,22 +728,17 @@ char *v_text;
728728 * The skill table
729729 */
730730 skill_table *s_info;
731-char *s_name;
732-char *s_text;
733731
734732 /*
735733 * The magic info
736734 */
737735 player_magic *m_info;
738-char *m_name;
739-char *m_text;
740736
741737 /*
742738 * The terrain feature arrays
743739 */
744740 feature_type *f_info;
745741 char *f_name;
746-char *f_text;
747742
748743 /*
749744 * The object kind arrays
--- a/src/xtra2.c
+++ b/src/xtra2.c
@@ -3150,6 +3150,7 @@ static int target_set_aux(int y, int x, int mode, cptr info)
31503150 {
31513151 monster_type *m_ptr = &m_list[c_ptr->m_idx];
31523152 monster_race *ap_r_ptr = &r_info[m_ptr->ap_r_idx];
3153+ char m_name[80];
31533154 bool recall = FALSE;
31543155
31553156 /* Not boring */