OSDN Git Service

[Refactor] #37353 Adjusted inclusion relationship in combat/; notes: unified English...
authorHourier <hourier@users.sourceforge.jp>
Sat, 27 Jun 2020 03:07:43 +0000 (12:07 +0900)
committerHourier <hourier@users.sourceforge.jp>
Sat, 27 Jun 2020 03:11:35 +0000 (12:11 +0900)
src/combat/attack-power-table.c
src/combat/attack-power-table.h
src/combat/hallucination-attacks-table.c
src/combat/hallucination-attacks-table.h
src/combat/martial-arts-table.c
src/combat/martial-arts-table.h

index 5a4983e..06642f5 100644 (file)
@@ -1,5 +1,4 @@
-#include "system/angband.h"
-#include "combat/attack-power-table.h"
+#include "combat/attack-power-table.h"
 
 /*!
  * @brief 修行僧のターンダメージ算出テーブル
index 8a91875..864e98f 100644 (file)
@@ -1,5 +1,7 @@
 #pragma once
 
+#include "system/angband.h"
+
 #define MAX_ADJ_STR 38
 #define MAX_ADJ_DEX 39
 
index c517d8d..fc44cd7 100644 (file)
@@ -1,5 +1,4 @@
-#include "system/angband.h"
-#include "combat/hallucination-attacks-table.h"
+#include "combat/hallucination-attacks-table.h"
 
 /*!
   * @brief 幻覚時の打撃記述テーブル / Weird melee attack types when hallucinating
index dac5891..622181d 100644 (file)
@@ -1,5 +1,7 @@
 #pragma once
 
+#include "system/angband.h"
+
 // 幻覚時のジョークメッセージ最大数 / Hallucination stuff.
 #define MAX_SILLY_ATTACK _(41, 29)
 
index 57454c8..e487081 100644 (file)
@@ -1,45 +1,23 @@
-#include "system/angband.h"
-#include "combat/martial-arts-table.h"
+#include "combat/martial-arts-table.h"
 /*!
  * @brief マーシャルアーツ打撃テーブル
  */
 const martial_arts ma_blows[MAX_MA] = {
-#ifdef JP
-    { "%sを殴った。", 1, 0, 1, 5, 0 },
-    { "%sを蹴った。", 2, 0, 1, 7, 0 },
-    { "%sに正拳突きをくらわした。", 3, 0, 1, 9, 0 },
-    { "%sに膝蹴りをくらわした。", 5, 5, 2, 4, MA_KNEE },
-    { "%sに肘打ちをくらわした。", 7, 5, 1, 12, 0 },
-    { "%sに体当りした。", 9, 10, 2, 6, 0 },
-    { "%sを蹴った。", 11, 10, 3, 6, MA_SLOW },
-    { "%sにアッパーをくらわした。", 13, 12, 5, 5, 6 },
-    { "%sに二段蹴りをくらわした。", 16, 15, 5, 6, 8 },
-    { "%sに猫爪撃をくらわした。", 20, 20, 5, 8, 0 },
-    { "%sに跳空脚をくらわした。", 24, 25, 6, 8, 10 },
-    { "%sに鷲爪襲をくらわした。", 28, 25, 7, 9, 0 },
-    { "%sに回し蹴りをくらわした。", 32, 30, 8, 10, 10 },
-    { "%sに鉄拳撃をくらわした。", 35, 35, 8, 11, 10 },
-    { "%sに飛空脚をくらわした。", 39, 35, 8, 12, 12 },
-    { "%sに昇龍拳をくらわした。", 43, 35, 9, 12, 16 },
-    { "%sに石破天驚拳をくらわした。", 48, 40, 10, 13, 18 },
-#else
-    { "You punch %s.", 1, 0, 1, 4, 0 },
-    { "You kick %s.", 2, 0, 1, 6, 0 },
-    { "You strike %s.", 3, 0, 1, 7, 0 },
-    { "You hit %s with your knee.", 5, 5, 2, 3, MA_KNEE },
-    { "You hit %s with your elbow.", 7, 5, 1, 8, 0 },
-    { "You butt %s.", 9, 10, 2, 5, 0 },
-    { "You kick %s.", 11, 10, 3, 4, MA_SLOW },
-    { "You uppercut %s.", 13, 12, 4, 4, 6 },
-    { "You double-kick %s.", 16, 15, 5, 4, 8 },
-    { "You hit %s with a Cat's Claw.", 20, 20, 5, 5, 0 },
-    { "You hit %s with a jump kick.", 25, 25, 5, 6, 10 },
-    { "You hit %s with an Eagle's Claw.", 29, 25, 6, 6, 0 },
-    { "You hit %s with a circle kick.", 33, 30, 6, 8, 10 },
-    { "You hit %s with an Iron Fist.", 37, 35, 8, 8, 10 },
-    { "You hit %s with a flying kick.", 41, 35, 8, 10, 12 },
-    { "You hit %s with a Dragon Fist.", 45, 35, 10, 10, 16 },
-    { "You hit %s with a Crushing Blow.", 48, 35, 10, 12, 18 },
-#endif
-
+    { _("%sを殴った。", "You punch %s."), 1, 0, 1, _(5, 4), 0 },
+    { _("%sを蹴った。", "You kick %s."), 2, 0, 1, _(7, 6), 0 },
+    { _("%sに正拳突きをくらわした。", "You strike %s."), 3, 0, 1, _(9, 7), 0 },
+    { _("%sに膝蹴りをくらわした。", "You hit %s with your knee."), 5, 5, 2, _(4, 3), MA_KNEE },
+    { _("%sに肘打ちをくらわした。", "You hit %s with your elbow."), 7, 5, 1, _(12, 8), 0 },
+    { _("%sに体当りした。", "You butt %s."), 9, 10, 2, _(6, 5), 0 },
+    { _("%sを蹴った。", "You kick %s."), 11, 10, 3, _(6, 4), MA_SLOW },
+    { _("%sにアッパーをくらわした。", "You uppercut %s."), 13, 12, _(5, 4), _(5, 4), 6 },
+    { _("%sに二段蹴りをくらわした。", "You double-kick %s."), 16, 15, 5, _(6, 4), 8 },
+    { _("%sに猫爪撃をくらわした。", "You hit %s with a Cat's Claw."), 20, 20, 5, _(8, 5), 0 },
+    { _("%sに跳空脚をくらわした。", "You hit %s with a jump kick."), _(24, 25), 25, _(6, 5), _(8, 6), 10 },
+    { _("%sに鷲爪襲をくらわした。", "You hit %s with an Eagle's Claw."), _(28, 29), 25, _(7, 6), _(9, 6), 0 },
+    { _("%sに回し蹴りをくらわした。", "You hit %s with a circle kick."), _(32, 33), 30, _(8, 6), _(10, 8), 10 },
+    { _("%sに鉄拳撃をくらわした。", "You hit %s with an Iron Fist."), _(35, 37), 35, 8, _(11, 8), 10 },
+    { _("%sに飛空脚をくらわした。", "You hit %s with a flying kick."), _(39, 41), 35, 8, _(12, 10), 12 },
+    { _("%sに昇龍拳をくらわした。", "You hit %s with a Dragon Fist."), _(43, 45), 35, _(9, 10), _(12, 10), 16 },
+    { _("%sに石破天驚拳をくらわした。", "You hit %s with a Crushing Blow."), 48, _(40, 35), 10, _(13, 12), 18 },
 };
index 88874e9..793546b 100644 (file)
@@ -1,5 +1,7 @@
 #pragma once
 
+#include "system/angband.h"
+
 #define MAX_MA 17 /*!< 修行僧マーシャルアーツの技数 / Monk martial arts... */
 #define MA_KNEE 1 /*!< 金的効果ID */
 #define MA_SLOW 2 /*!< 膝蹴り効果ID */