OSDN Git Service

[Refactor] #37353 メッセージ整理。 / Refactor messages.
authorDeskull <deskull@users.sourceforge.jp>
Tue, 29 Jan 2019 15:01:52 +0000 (00:01 +0900)
committerDeskull <deskull@users.sourceforge.jp>
Tue, 29 Jan 2019 15:01:52 +0000 (00:01 +0900)
src/cmd-spell.h
src/mane.c

index 08d1972..122d474 100644 (file)
@@ -2,6 +2,9 @@
 static const concptr s_dam = _("損傷:", "dam ");\r
 static const concptr s_random = _("ランダム", "random");\r
 static const concptr s_rng = _("射程", "rng ");\r
+static const concptr s_dur = _("期間:", "dur ");\r
+static const concptr s_range = _("範囲:", "range ");\r
+static const concptr s_heal = _("回復:", "heal ");\r
 \r
 extern concptr info_string_dice(concptr str, DICE_NUMBER dice, DICE_SID sides, int base);\r
 extern concptr info_damage(DICE_NUMBER dice, DICE_SID sides, int base);\r
index 907aaad..ed399f4 100644 (file)
@@ -13,6 +13,7 @@
 #include "angband.h"
 #include "spells-summon.h"
 #include "spells-status.h"
+#include "cmd-spell.h"
 
 static int damage;
 
@@ -26,10 +27,6 @@ static int damage;
 static void mane_info(char *p, int power, HIT_POINT dam)
 {
        PLAYER_LEVEL plev = p_ptr->lev;
-       concptr s_dam = _("損傷:", "dam ");
-       concptr s_dur = _("期間:", "dur ");
-       concptr s_range = _("範囲:", "range ");
-       concptr s_heal = _("回復:", "heal ");
 
        strcpy(p, "");
 
@@ -98,7 +95,7 @@ static int get_mane_power(int *sn, bool baigaesi)
        char            choice;
        char            out_val[160];
        char            comment[80];
-       concptr            p = _("能力", "power");
+       concptr p = _("能力", "power");
 
        monster_power   spell;
        bool            flag, redraw;