変愚蛮怒のメインリポジトリです
Revision | 674589ce4330837b638cf43d3398df6fba3225cc (tree) |
---|---|
Time | 2004-07-04 16:31:33 |
Author | nothere <nothere@0568...> |
Commiter | nothere |
ものまね能力の表示とコメントの修正.
* 英語版での "まね" 表示が "Mane" のままだったので, "Imit" とした.
* コメントについて, "Mane" -> "Imitation".
* 記号定数について, "PR_MANE" -> "PR_IMITATION".
* 関数名について, "prt_mane()" -> "prt_imitation()".
@@ -2759,7 +2759,7 @@ | ||
2759 | 2759 | #define PR_STATE 0x00100000L /* Display Extra (State) */ |
2760 | 2760 | #define PR_SPEED 0x00200000L /* Display Extra (Speed) */ |
2761 | 2761 | #define PR_STUDY 0x00400000L /* Display Extra (Study) */ |
2762 | -#define PR_MANE 0x00800000L /* Display Extra (Mane) */ | |
2762 | +#define PR_IMITATION 0x00800000L /* Display Extra (Imitation) */ | |
2763 | 2763 | #define PR_EXTRA 0x01000000L /* Display Extra Info */ |
2764 | 2764 | #define PR_BASIC 0x02000000L /* Display Basic Info */ |
2765 | 2765 | #define PR_MAP 0x04000000L /* Display Map */ |
@@ -5942,7 +5942,7 @@ msg_format("%s(%c) | ||
5942 | 5942 | } |
5943 | 5943 | } |
5944 | 5944 | new_mane = FALSE; |
5945 | - p_ptr->redraw |= (PR_MANE); | |
5945 | + p_ptr->redraw |= (PR_IMITATION); | |
5946 | 5946 | } |
5947 | 5947 | if (p_ptr->action == ACTION_LEARN) |
5948 | 5948 | { |
@@ -8,7 +8,7 @@ | ||
8 | 8 | * are included in all such copies. Other copyrights may also apply. |
9 | 9 | */ |
10 | 10 | |
11 | -/* Purpose: Mane code */ | |
11 | +/* Purpose: Imitation code */ | |
12 | 12 | |
13 | 13 | #include "angband.h" |
14 | 14 |
@@ -1370,7 +1370,7 @@ msg_print(" | ||
1370 | 1370 | energy_use = 100; |
1371 | 1371 | |
1372 | 1372 | /* Window stuff */ |
1373 | - p_ptr->redraw |= (PR_MANE); | |
1373 | + p_ptr->redraw |= (PR_IMITATION); | |
1374 | 1374 | p_ptr->window |= (PW_PLAYER); |
1375 | 1375 | p_ptr->window |= (PW_SPELL); |
1376 | 1376 |
@@ -4468,7 +4468,7 @@ msg_print("¿ | ||
4468 | 4468 | p_ptr->mane_num++; |
4469 | 4469 | new_mane = TRUE; |
4470 | 4470 | |
4471 | - p_ptr->redraw |= (PR_MANE); | |
4471 | + p_ptr->redraw |= (PR_IMITATION); | |
4472 | 4472 | } |
4473 | 4473 | } |
4474 | 4474 |
@@ -4231,7 +4231,7 @@ bool monst_spell_monst(int m_idx) | ||
4231 | 4231 | p_ptr->mane_num++; |
4232 | 4232 | new_mane = TRUE; |
4233 | 4233 | |
4234 | - p_ptr->redraw |= (PR_MANE); | |
4234 | + p_ptr->redraw |= (PR_IMITATION); | |
4235 | 4235 | } |
4236 | 4236 | } |
4237 | 4237 |
@@ -8,7 +8,7 @@ | ||
8 | 8 | * are included in all such copies. Other copyrights may also apply. |
9 | 9 | */ |
10 | 10 | |
11 | -/* Purpose: Mane code */ | |
11 | +/* Purpose: Imitation code */ | |
12 | 12 | |
13 | 13 | #include "angband.h" |
14 | 14 |
@@ -1350,7 +1350,7 @@ static void prt_study(void) | ||
1350 | 1350 | } |
1351 | 1351 | |
1352 | 1352 | |
1353 | -static void prt_mane(void) | |
1353 | +static void prt_imitation(void) | |
1354 | 1354 | { |
1355 | 1355 | int wid, hgt, row_study, col_study; |
1356 | 1356 |
@@ -1368,7 +1368,7 @@ static void prt_mane(void) | ||
1368 | 1368 | #ifdef JP |
1369 | 1369 | c_put_str(attr, "まね", row_study, col_study); |
1370 | 1370 | #else |
1371 | - c_put_str(attr, "Mane", row_study, col_study); | |
1371 | + c_put_str(attr, "Imit", row_study, col_study); | |
1372 | 1372 | #endif |
1373 | 1373 | } |
1374 | 1374 | else |
@@ -1672,7 +1672,7 @@ static void prt_frame_extra(void) | ||
1672 | 1672 | /* Study spells */ |
1673 | 1673 | prt_study(); |
1674 | 1674 | |
1675 | - prt_mane(); | |
1675 | + prt_imitation(); | |
1676 | 1676 | |
1677 | 1677 | prt_status(); |
1678 | 1678 | } |
@@ -5885,7 +5885,7 @@ void redraw_stuff(void) | ||
5885 | 5885 | p_ptr->redraw &= ~(PR_EXTRA); |
5886 | 5886 | p_ptr->redraw &= ~(PR_CUT | PR_STUN); |
5887 | 5887 | 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); | |
5889 | 5889 | prt_frame_extra(); |
5890 | 5890 | } |
5891 | 5891 |
@@ -5921,10 +5921,10 @@ void redraw_stuff(void) | ||
5921 | 5921 | |
5922 | 5922 | if (p_ptr->pclass == CLASS_IMITATOR) |
5923 | 5923 | { |
5924 | - if (p_ptr->redraw & (PR_MANE)) | |
5924 | + if (p_ptr->redraw & (PR_IMITATION)) | |
5925 | 5925 | { |
5926 | - p_ptr->redraw &= ~(PR_MANE); | |
5927 | - prt_mane(); | |
5926 | + p_ptr->redraw &= ~(PR_IMITATION); | |
5927 | + prt_imitation(); | |
5928 | 5928 | } |
5929 | 5929 | } |
5930 | 5930 | else if (p_ptr->redraw & (PR_STUDY)) |