OSDN Git Service

[Refactor] #40392 Moved realm_subinfo[] from birth.c to birth-explanations-table.c/h
authorHourier <hourier@users.sourceforge.jp>
Fri, 8 May 2020 12:10:03 +0000 (21:10 +0900)
committerHourier <hourier@users.sourceforge.jp>
Fri, 8 May 2020 12:16:04 +0000 (21:16 +0900)
src/birth.c
src/birth/birth-explanations-table.c
src/birth/birth-explanations-table.h

index f877b9d..adbbb72 100644 (file)
@@ -84,41 +84,6 @@ birther previous_char;
   /* 選択可能な職業の最大数 */
 #define MAX_CLASS_CHOICE     MAX_CLASS
 
-/*! 魔法領域の簡易解説メッセージテーブル */
-static concptr realm_subinfo[VALID_REALM] =
-{
-#ifdef JP
-"感知と防御と回復に優れています",
-"攻撃はできませんが非常に便利です",
-"感知と防御に優れています",
-"破壊的な攻撃に優れています",
-"生命のある敵への攻撃に優れています",
-"召喚とテレポートに優れています",
-"やや弱いながらも非常に便利です",
-"直接戦闘の補助に優れています",
-"攻撃と防御の両面に優れています",
-"邪悪な怪物に対する攻撃に優れています",
-"様々な魔法効果を持った歌を歌います",
-"打撃攻撃に特殊能力を付加します",
-"敵を邪魔しつつ復讐を狙います"
-#else
-"Good at detection and healing.",
-"Utility and protective spells.",
-"Good at detection and defence.",
-"Offensive and destructive.",
-"Ruins living creatures.",
-"Good at summoning and teleportation.",
-"Very useful but not as potent.",
-"Support for melee fighting.",
-"Good at both offence and defence.",
-"Destroys evil creatures.",
-"Songs with magical effects.",
-"Special attacks on melee.",
-"Good at obstacle and revenge."
-#endif
-};
-
-
 /*! オートローラの能力値的要求水準 / Autoroll limit */
 static s16b stat_limit[6];
 
index 4d686fc..0b6ce09 100644 (file)
@@ -288,6 +288,23 @@ concptr realm_explanations[VALID_REALM] = {
     _("武芸の書は、様々な戦闘の技について書かれています。この本は技を覚えるときに読む必要がありますが、一度覚えた技は使うのに本を持つ必要はありません。技を使うときには必ず武器を装備していなければいけません。",
         "The books of Kenjutsu describe various combat techniques.  When learning new techniques, you are required to carry the books, but once you memorize them, you don't have to carry them.  When using a technique, wielding a weapon is required."),
 
-    _("呪術は忌むべき領域です。複数の呪いの言葉を歌のように紡ぎながら詠唱します。多くの呪文は詠唱し続けることによって効果が持続されます。呪文には相手の行動を束縛するもの、ダメージを与えるもの、攻撃に対して反撃するものが多くあります。"
+    _("呪術は忌むべき領域です。複数の呪いの言葉を歌のように紡ぎながら詠唱します。多くの呪文は詠唱し続けることによって効果が持続されます。呪文には相手の行動を束縛するもの、ダメージを与えるもの、攻撃に対して反撃するものが多くあります。",
       "Hex is an unsavory realm, like the death and demon realms.  Some of the spells can act continuously by stringing together curses like a song.  Spells may obstruct monsters' actions, deal damage to monsters in sight, or return damage to monsters who have damaged the caster."),
 };
+
+/*! 魔法領域の簡易解説メッセージテーブル */
+concptr realm_subinfo[VALID_REALM] = {
+    _("感知と防御と回復に優れています", "Good at detection and healing."),
+    _("攻撃はできませんが非常に便利です", "Utility and protective spells."),
+    _("感知と防御に優れています", "Good at detection and defence."),
+    _("破壊的な攻撃に優れています", "Offensive and destructive."),
+    _("生命のある敵への攻撃に優れています", "Ruins living creatures."),
+    _("召喚とテレポートに優れています", "Good at summoning and teleportation."),
+    _("やや弱いながらも非常に便利です", "Very useful but not as potent."),
+    _("直接戦闘の補助に優れています", "Support for melee fighting."),
+    _("攻撃と防御の両面に優れています", "Good at both offence and defence."),
+    _("邪悪な怪物に対する攻撃に優れています", "Destroys evil creatures."),
+    _("様々な魔法効果を持った歌を歌います", "Songs with magical effects."),
+    _("打撃攻撃に特殊能力を付加します", "Special attacks on melee."),
+    _("敵を邪魔しつつ復讐を狙います", "Good at obstacle and revenge."),
+};
index 69570d9..abebe67 100644 (file)
@@ -4,3 +4,4 @@ extern concptr race_explanations[MAX_RACES];
 extern concptr class_explanations[MAX_CLASS];
 extern concptr personality_explanations[MAX_SEIKAKU];
 extern concptr realm_explanations[VALID_REALM];
+extern concptr realm_subinfo[VALID_REALM];