• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision674589ce4330837b638cf43d3398df6fba3225cc (tree)
Time2004-07-04 16:31:33
Authornothere <nothere@0568...>
Commiternothere

Log Message

ものまね能力の表示とコメントの修正.
* 英語版での "まね" 表示が "Mane" のままだったので, "Imit" とした.
* コメントについて, "Mane" -> "Imitation".
* 記号定数について, "PR_MANE" -> "PR_IMITATION".
* 関数名について, "prt_mane()" -> "prt_imitation()".

Change Summary

Incremental Difference

--- a/src/defines.h
+++ b/src/defines.h
@@ -2759,7 +2759,7 @@
27592759 #define PR_STATE 0x00100000L /* Display Extra (State) */
27602760 #define PR_SPEED 0x00200000L /* Display Extra (Speed) */
27612761 #define PR_STUDY 0x00400000L /* Display Extra (Study) */
2762-#define PR_MANE 0x00800000L /* Display Extra (Mane) */
2762+#define PR_IMITATION 0x00800000L /* Display Extra (Imitation) */
27632763 #define PR_EXTRA 0x01000000L /* Display Extra Info */
27642764 #define PR_BASIC 0x02000000L /* Display Basic Info */
27652765 #define PR_MAP 0x04000000L /* Display Map */
--- a/src/dungeon.c
+++ b/src/dungeon.c
@@ -5942,7 +5942,7 @@ msg_format("%s(%c)
59425942 }
59435943 }
59445944 new_mane = FALSE;
5945- p_ptr->redraw |= (PR_MANE);
5945+ p_ptr->redraw |= (PR_IMITATION);
59465946 }
59475947 if (p_ptr->action == ACTION_LEARN)
59485948 {
--- a/src/mane.c
+++ b/src/mane.c
@@ -8,7 +8,7 @@
88 * are included in all such copies. Other copyrights may also apply.
99 */
1010
11-/* Purpose: Mane code */
11+/* Purpose: Imitation code */
1212
1313 #include "angband.h"
1414
@@ -1370,7 +1370,7 @@ msg_print("
13701370 energy_use = 100;
13711371
13721372 /* Window stuff */
1373- p_ptr->redraw |= (PR_MANE);
1373+ p_ptr->redraw |= (PR_IMITATION);
13741374 p_ptr->window |= (PW_PLAYER);
13751375 p_ptr->window |= (PW_SPELL);
13761376
--- a/src/mspells1.c
+++ b/src/mspells1.c
@@ -4468,7 +4468,7 @@ msg_print("¿
44684468 p_ptr->mane_num++;
44694469 new_mane = TRUE;
44704470
4471- p_ptr->redraw |= (PR_MANE);
4471+ p_ptr->redraw |= (PR_IMITATION);
44724472 }
44734473 }
44744474
--- a/src/mspells2.c
+++ b/src/mspells2.c
@@ -4231,7 +4231,7 @@ bool monst_spell_monst(int m_idx)
42314231 p_ptr->mane_num++;
42324232 new_mane = TRUE;
42334233
4234- p_ptr->redraw |= (PR_MANE);
4234+ p_ptr->redraw |= (PR_IMITATION);
42354235 }
42364236 }
42374237
--- a/src/mspells3.c
+++ b/src/mspells3.c
@@ -8,7 +8,7 @@
88 * are included in all such copies. Other copyrights may also apply.
99 */
1010
11-/* Purpose: Mane code */
11+/* Purpose: Imitation code */
1212
1313 #include "angband.h"
1414
--- a/src/xtra1.c
+++ b/src/xtra1.c
@@ -1350,7 +1350,7 @@ static void prt_study(void)
13501350 }
13511351
13521352
1353-static void prt_mane(void)
1353+static void prt_imitation(void)
13541354 {
13551355 int wid, hgt, row_study, col_study;
13561356
@@ -1368,7 +1368,7 @@ static void prt_mane(void)
13681368 #ifdef JP
13691369 c_put_str(attr, "まね", row_study, col_study);
13701370 #else
1371- c_put_str(attr, "Mane", row_study, col_study);
1371+ c_put_str(attr, "Imit", row_study, col_study);
13721372 #endif
13731373 }
13741374 else
@@ -1672,7 +1672,7 @@ static void prt_frame_extra(void)
16721672 /* Study spells */
16731673 prt_study();
16741674
1675- prt_mane();
1675+ prt_imitation();
16761676
16771677 prt_status();
16781678 }
@@ -5885,7 +5885,7 @@ void redraw_stuff(void)
58855885 p_ptr->redraw &= ~(PR_EXTRA);
58865886 p_ptr->redraw &= ~(PR_CUT | PR_STUN);
58875887 p_ptr->redraw &= ~(PR_HUNGER);
5888- p_ptr->redraw &= ~(PR_STATE | PR_SPEED | PR_STUDY | PR_MANE | PR_STATUS);
5888+ p_ptr->redraw &= ~(PR_STATE | PR_SPEED | PR_STUDY | PR_IMITATION | PR_STATUS);
58895889 prt_frame_extra();
58905890 }
58915891
@@ -5921,10 +5921,10 @@ void redraw_stuff(void)
59215921
59225922 if (p_ptr->pclass == CLASS_IMITATOR)
59235923 {
5924- if (p_ptr->redraw & (PR_MANE))
5924+ if (p_ptr->redraw & (PR_IMITATION))
59255925 {
5926- p_ptr->redraw &= ~(PR_MANE);
5927- prt_mane();
5926+ p_ptr->redraw &= ~(PR_IMITATION);
5927+ prt_imitation();
59285928 }
59295929 }
59305930 else if (p_ptr->redraw & (PR_STUDY))
Show on old repository browser