変愚蛮怒のメインリポジトリです
Revisión | c58e15a997e8018c3a6b8ee7a2ba8a9d0ec6300b (tree) |
---|---|
Tiempo | 2002-12-09 00:56:20 |
Autor | (no author) <(no author)@0568...> |
Commiter | (no author) |
This commit was manufactured by cvs2svn to create tag
'hengband-1-4-0'.
@@ -3,7 +3,7 @@ AC_INIT(src/main.c) | ||
3 | 3 | |
4 | 4 | AM_CONFIG_HEADER(src/autoconf.h) |
5 | 5 | |
6 | -AM_INIT_AUTOMAKE(hengband, 1.3.2) | |
6 | +AM_INIT_AUTOMAKE(hengband, 1.4.0) | |
7 | 7 | |
8 | 8 | AC_ARG_WITH(setgid, |
9 | 9 | [ --with-setgid=NAME install hengband as group NAME], |
@@ -1,6 +1,6 @@ | ||
1 | 1 | |
2 | 2 | **************************************** |
3 | - ** Hengband 1.3.2 ** | |
3 | + ** Hengband 1.4.0 ** | |
4 | 4 | **************************************** |
5 | 5 | |
6 | 6 | Based on Moria: Copyright (c) 1985 Robert Alan Koeneke |
@@ -1,6 +1,6 @@ | ||
1 | 1 | |
2 | 2 | *************************************** |
3 | - ** 変愚蛮怒 1.3.2 ** | |
3 | + ** 変愚蛮怒 1.4.0 ** | |
4 | 4 | *************************************** |
5 | 5 | |
6 | 6 | Based on Moria: Copyright (c) 1985 Robert Alan Koeneke |
@@ -459,22 +459,23 @@ | ||
459 | 459 | |
460 | 460 | 自動刻みの一覧: |
461 | 461 | |
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 : 冷気への免疫 | |
478 | 479 | |
479 | 480 | 魔力 : Ma : 魔力消費減少 (炎 : (F: 炎のバリア |
480 | 481 | 投 : Th : 投擲用武器 (電 : (E: 電撃のバリア |
@@ -501,14 +501,15 @@ Wi : affects wisdom Po : resistance to poison | ||
501 | 501 | Dx : affects dexterity Li : resistance to light |
502 | 502 | Cn : affects constitution Dk : resistance to darkness |
503 | 503 | 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 | |
512 | 513 | |
513 | 514 | Ma : decreases mana consumption (F : fiery sheath |
514 | 515 | Th : suitable for throwing (E : electric sheath |
@@ -93,6 +93,9 @@ | ||
93 | 93 | |
94 | 94 | ●コマンド |
95 | 95 | |
96 | + 詳しいゲームの説明はオンライン・ヘルプ('?'キーを押して表示)を参照 | |
97 | + してください。ここでは基本的なコマンドだけ説明します。 | |
98 | + | |
96 | 99 | コマンドは大文字と小文字を区別します。 |
97 | 100 | 多くのコマンドは小文字なのでCapsはOFFにしておきましょう。 |
98 | 101 | 以下のコマンドが全てではありませんが、 |
@@ -145,14 +148,18 @@ | ||
145 | 148 | i 持ち物の一覧表示 |
146 | 149 | l/x 周りを見る |
147 | 150 | M 現在の階の全体マップを見る |
151 | + ~ 様々な重要な情報を見るメニューを開く | |
148 | 152 | |
149 | 153 | [その他] |
150 | 154 | p ペットに命令する |
151 | 155 | = オプション設定 |
152 | - $ 自動拾いファイルを再読み込みする。 | |
153 | - _ 自動拾いファイルの編集。 | |
154 | - n/[ 前のコマンドを繰り返す。 | |
155 | - @ マクロの設定をする。 | |
156 | + $ 自動拾いファイルを再読み込みする | |
157 | + _ 自動拾いファイルの編集 | |
158 | + n/[ 前のコマンドを繰り返す | |
159 | + @ マクロの設定をする | |
160 | + | |
161 | + [ヘルプ] | |
162 | + ? オンライン・ヘルプを開く ( a-z で項目選択。スペースで次ページ。) | |
156 | 163 | |
157 | 164 | |
158 | 165 | ●アイテム表記 |
@@ -234,7 +241,6 @@ | ||
234 | 241 | '<', '>': 階段, 坑道 |
235 | 242 | '<'は上りの、'>'は下りです。 |
236 | 243 | 白は階段で階を1つ移動し、茶色は坑道で階を2つ移動します。 |
237 | - ただし、たまに移動する階数が1つ増えることがあります。 | |
238 | 244 | |
239 | 245 | |
240 | 246 | ――― ちょっと高度なプレイ ――― |
@@ -79,6 +79,9 @@ Serpent of Chaos, whom you must kill in order to win the game. | ||
79 | 79 | |
80 | 80 | --------- Commands ----------- |
81 | 81 | |
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 | + | |
82 | 85 | The following section lists most commands, and the less frequently used |
83 | 86 | ones may be accessed by pressing the return key, or (if using the original |
84 | 87 | 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. | ||
147 | 150 | M Full dungeon map |
148 | 151 | ~ Display various information |
149 | 152 | |
150 | - [other] | |
153 | + [Other] | |
151 | 154 | p Command pets |
152 | 155 | = Set options |
153 | 156 | $ Reload auto-picker preference file |
@@ -155,6 +158,10 @@ keyset, and by pushing 'x' in the Rogue-like keyset. | ||
155 | 158 | n/[ Repeat previous command |
156 | 159 | @ Interact with macros |
157 | 160 | |
161 | + [Help] | |
162 | + ? View the on-line help | |
163 | + (Press a-z to choose a section, space key to go next page.) | |
164 | + | |
158 | 165 | |
159 | 166 | --- Inscriptions |
160 | 167 |
@@ -451,6 +451,13 @@ msg_print(" | ||
451 | 451 | #else |
452 | 452 | msg_format("The %s has no charges left.", staff); |
453 | 453 | #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 | + | |
454 | 461 | return; |
455 | 462 | } |
456 | 463 |
@@ -1469,7 +1476,7 @@ msg_print(" | ||
1469 | 1476 | #else |
1470 | 1477 | msg_print("You are moistened."); |
1471 | 1478 | #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)); | |
1473 | 1480 | break; |
1474 | 1481 | default: |
1475 | 1482 | (void)set_food(p_ptr->food + o_ptr->pval); |
@@ -39,15 +39,15 @@ | ||
39 | 39 | |
40 | 40 | /* Savefile version for Hengband 1.1.1 and later */ |
41 | 41 | #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 | |
44 | 44 | #define H_VER_EXTRA 0 |
45 | 45 | |
46 | 46 | /* Added for ZAngband */ |
47 | 47 | #define FAKE_VERSION 0 |
48 | 48 | #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 | |
51 | 51 | |
52 | 52 | #define ANGBAND_2_8_1 |
53 | 53 | #define ZANGBAND |
@@ -5556,10 +5556,16 @@ msg_format("%s(%c) | ||
5556 | 5556 | if (energy_use) |
5557 | 5557 | { |
5558 | 5558 | /* 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 */ | |
5562 | 5562 | 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 | + } | |
5563 | 5569 | |
5564 | 5570 | /* Hack -- constant hallucination */ |
5565 | 5571 | if (p_ptr->image) p_ptr->redraw |= (PR_MAP); |
@@ -419,6 +419,18 @@ msg_print(" | ||
419 | 419 | msg_print("You are confused!"); |
420 | 420 | #endif |
421 | 421 | |
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 | + } | |
422 | 434 | if (p_ptr->action == ACTION_KAMAE) |
423 | 435 | { |
424 | 436 | #ifdef JP |
@@ -393,14 +393,9 @@ extern vault_type *v_info; | ||
393 | 393 | extern char *v_name; |
394 | 394 | extern char *v_text; |
395 | 395 | extern skill_table *s_info; |
396 | -extern char *s_name; | |
397 | -extern char *s_text; | |
398 | 396 | extern player_magic *m_info; |
399 | -extern char *m_name; | |
400 | -extern char *m_text; | |
401 | 397 | extern feature_type *f_info; |
402 | 398 | extern char *f_name; |
403 | -extern char *f_text; | |
404 | 399 | extern object_kind *k_info; |
405 | 400 | extern char *k_name; |
406 | 401 | extern char *k_text; |
@@ -1045,6 +1045,7 @@ static flag_insc_table flag_insc_plus[] = | ||
1045 | 1045 | { "器", "Dx", TR_DEX, -1 }, |
1046 | 1046 | { "耐", "Cn", TR_CON, -1 }, |
1047 | 1047 | { "魅", "Ch", TR_CHR, -1 }, |
1048 | + { "道", "Md", TR_MAGIC_MASTERY, -1 }, | |
1048 | 1049 | { "隠", "Sl", TR_STEALTH, -1 }, |
1049 | 1050 | { "探", "Sr", TR_SEARCH, -1 }, |
1050 | 1051 | { "赤", "If", TR_INFRA, -1 }, |
@@ -1201,6 +1202,7 @@ static flag_insc_table flag_insc_plus[] = | ||
1201 | 1202 | { "Dx", TR_DEX, -1 }, |
1202 | 1203 | { "Cn", TR_CON, -1 }, |
1203 | 1204 | { "Ch", TR_CHR, -1 }, |
1205 | + { "Md", TR_MAGIC_MASTERY, -1 }, | |
1204 | 1206 | { "Sl", TR_STEALTH, -1 }, |
1205 | 1207 | { "Sr", TR_SEARCH, -1 }, |
1206 | 1208 | { "If", TR_INFRA, -1 }, |
@@ -196,6 +196,9 @@ void place_closed_door(int y, int x) | ||
196 | 196 | /* Create jammed door */ |
197 | 197 | cave_set_feat(y, x, FEAT_DOOR_HEAD + 0x08 + randint0(8)); |
198 | 198 | } |
199 | + | |
200 | + /* Now it is not floor */ | |
201 | + cave[y][x].info &= ~(CAVE_MASK); | |
199 | 202 | } |
200 | 203 | |
201 | 204 |
@@ -1213,20 +1213,6 @@ errr parse_f_info(char *buf, header *head) | ||
1213 | 1213 | } |
1214 | 1214 | #endif |
1215 | 1215 | |
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 | - | |
1230 | 1216 | |
1231 | 1217 | /* Process 'M' for "Mimic" (one line only) */ |
1232 | 1218 | else if (buf[0] == 'M') |
@@ -652,7 +652,7 @@ static errr init_f_info(void) | ||
652 | 652 | #endif /* ALLOW_TEMPLATES */ |
653 | 653 | |
654 | 654 | 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); | |
656 | 656 | } |
657 | 657 | |
658 | 658 |
@@ -799,7 +799,7 @@ static errr init_s_info(void) | ||
799 | 799 | #endif /* ALLOW_TEMPLATES */ |
800 | 800 | |
801 | 801 | return init_info("s_info", &s_head, |
802 | - (void*)&s_info, (void*)&s_name, (void*)&s_text); | |
802 | + (void*)&s_info, NULL, NULL); | |
803 | 803 | } |
804 | 804 | |
805 | 805 |
@@ -819,7 +819,7 @@ static errr init_m_info(void) | ||
819 | 819 | #endif /* ALLOW_TEMPLATES */ |
820 | 820 | |
821 | 821 | return init_info("m_info", &m_head, |
822 | - (void*)&m_info, (void*)&m_name, (void*)&m_text); | |
822 | + (void*)&m_info, NULL, NULL); | |
823 | 823 | } |
824 | 824 | |
825 | 825 |
@@ -879,16 +879,14 @@ static byte store_table[MAX_STORES][STORE_CHOICES][2] = | ||
879 | 879 | { TV_FOOD, SV_FOOD_RATION }, |
880 | 880 | { TV_FOOD, SV_FOOD_RATION }, |
881 | 881 | |
882 | - { TV_LITE, SV_LITE_TORCH }, | |
883 | - { TV_LITE, SV_LITE_TORCH }, | |
882 | + { TV_POTION, SV_POTION_WATER }, | |
883 | + { TV_POTION, SV_POTION_WATER }, | |
884 | 884 | { TV_LITE, SV_LITE_LANTERN }, |
885 | 885 | { TV_LITE, SV_LITE_LANTERN }, |
886 | 886 | |
887 | 887 | { TV_FLASK, 0 }, |
888 | 888 | { TV_FLASK, 0 }, |
889 | - | |
890 | 889 | { TV_CAPTURE, 0 }, |
891 | - | |
892 | 890 | { TV_FIGURINE, 0 }, |
893 | 891 | |
894 | 892 | { TV_SHOT, SV_AMMO_NORMAL }, |
@@ -2250,9 +2250,17 @@ note(format(" | ||
2250 | 2250 | c_ptr->m_idx = m_idx; |
2251 | 2251 | |
2252 | 2252 | |
2253 | - /* Access race */ | |
2253 | + /* Access real race */ | |
2254 | 2254 | r_ptr = &r_info[m_ptr->r_idx]; |
2255 | 2255 | |
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 | + | |
2256 | 2264 | /* Count XXX XXX XXX */ |
2257 | 2265 | r_ptr->cur_num++; |
2258 | 2266 | } |
@@ -70,7 +70,7 @@ OBJ = \ | ||
70 | 70 | monster1.obj monster2.obj mspells1.obj mspells2.obj mspells3.obj \ |
71 | 71 | mutation.obj \ |
72 | 72 | 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 \ | |
74 | 74 | spells2.obj spells3.obj store.obj streams.obj tables.obj util.obj \ |
75 | 75 | variable.obj wild.obj wizard1.obj wizard2.obj xtra1.obj xtra2.obj \ |
76 | 76 | z-form.obj z-rand.obj z-term.obj z-util.obj z-virt.obj |
@@ -29,24 +29,6 @@ JP_OPT= -DJP -DSJIS | ||
29 | 29 | # Basic definitions |
30 | 30 | # |
31 | 31 | |
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 \ | |
50 | 32 | OBJS = \ |
51 | 33 | z-util.o z-virt.o z-form.o z-rand.o z-term.o \ |
52 | 34 | variable.o tables.o util.o cave.o \ |
@@ -162,7 +144,6 @@ obj_kind.o: obj_kind.c $(INCS) | ||
162 | 144 | racial.o: racial.c $(INCS) |
163 | 145 | save.o: save.c $(INCS) |
164 | 146 | scores.o: scores.c $(INCS) |
165 | -script.o: script.c $(INCS) | |
166 | 147 | spells1.o: spells1.c $(INCS) |
167 | 148 | spells2.o: spells2.c $(INCS) |
168 | 149 | spells3.o: spells3.c $(INCS) |
@@ -15,24 +15,6 @@ JP_OPT= -DJP -DSJIS | ||
15 | 15 | ################################################################### |
16 | 16 | |
17 | 17 | |
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 | - | |
36 | 18 | OBJS = \ |
37 | 19 | z-util.o z-virt.o z-form.o z-rand.o z-term.o \ |
38 | 20 | variable.o tables.o util.o cave.o \ |
@@ -2740,7 +2740,7 @@ strcpy(power_desc[num].name, " | ||
2740 | 2740 | power_desc[num].level = 10; |
2741 | 2741 | power_desc[num].cost = 10; |
2742 | 2742 | power_desc[num].fail = 100 - racial_chance(10, A_DEX, 20); |
2743 | - power_desc[num++].number = -4; | |
2743 | + power_desc[num++].number = -3; | |
2744 | 2744 | break; |
2745 | 2745 | } |
2746 | 2746 | case CLASS_MIRROR_MASTER: |
@@ -1308,6 +1308,9 @@ static bool store_will_buy(object_type *o_ptr) | ||
1308 | 1308 | /* Analyze the type */ |
1309 | 1309 | switch (o_ptr->tval) |
1310 | 1310 | { |
1311 | + case TV_POTION: | |
1312 | + if (o_ptr->sval != SV_POTION_WATER) return FALSE; | |
1313 | + | |
1311 | 1314 | case TV_WHISTLE: |
1312 | 1315 | case TV_FOOD: |
1313 | 1316 | case TV_LITE: |
@@ -728,22 +728,17 @@ char *v_text; | ||
728 | 728 | * The skill table |
729 | 729 | */ |
730 | 730 | skill_table *s_info; |
731 | -char *s_name; | |
732 | -char *s_text; | |
733 | 731 | |
734 | 732 | /* |
735 | 733 | * The magic info |
736 | 734 | */ |
737 | 735 | player_magic *m_info; |
738 | -char *m_name; | |
739 | -char *m_text; | |
740 | 736 | |
741 | 737 | /* |
742 | 738 | * The terrain feature arrays |
743 | 739 | */ |
744 | 740 | feature_type *f_info; |
745 | 741 | char *f_name; |
746 | -char *f_text; | |
747 | 742 | |
748 | 743 | /* |
749 | 744 | * The object kind arrays |
@@ -3150,6 +3150,7 @@ static int target_set_aux(int y, int x, int mode, cptr info) | ||
3150 | 3150 | { |
3151 | 3151 | monster_type *m_ptr = &m_list[c_ptr->m_idx]; |
3152 | 3152 | monster_race *ap_r_ptr = &r_info[m_ptr->ap_r_idx]; |
3153 | + char m_name[80]; | |
3153 | 3154 | bool recall = FALSE; |
3154 | 3155 | |
3155 | 3156 | /* Not boring */ |