OSDN Git Service

[Refactor] #37285 monster_race構造体におけるarena_ratioフィールドの説明を修正 / Fixed description for...
authorHourier <hourier@users.sourceforge.jp>
Sun, 23 Aug 2020 02:03:05 +0000 (11:03 +0900)
committerHourier <hourier@users.sourceforge.jp>
Sun, 23 Aug 2020 02:03:05 +0000 (11:03 +0900)
src/lore/combat-types-setter.c
src/monster-floor/one-monster-placer.c
src/mspell/summon-checker.c
src/system/monster-race-definition.h
src/view/display-lore-attacks.c
src/view/display-lore.c

index dc88b77..d4cbe62 100644 (file)
@@ -1,4 +1,5 @@
 #include "lore/combat-types-setter.h"
+#include "monster-attack/monster-attack-effect.h"
 #include "monster-attack/monster-attack-types.h"
 
 void set_monster_blow_method(lore_type *lore_ptr, int m)
index c637fce..2a81994 100644 (file)
@@ -17,6 +17,7 @@
 #include "game-option/birth-options.h"
 #include "game-option/cheat-types.h"
 #include "grid/grid.h"
+#include "monster-attack/monster-attack-types.h"
 #include "monster-floor/monster-move.h"
 #include "monster-floor/monster-summon.h"
 #include "monster-floor/place-monster-types.h"
index 2d3d99a..c714fff 100644 (file)
@@ -1,4 +1,5 @@
 #include "mspell/summon-checker.h"
+#include "monster-attack/monster-attack-types.h"
 #include "monster-race/monster-race-hook.h"
 #include "monster-race/monster-race.h"
 #include "monster-race/race-flags1.h"
index da66e06..5724924 100644 (file)
@@ -1,7 +1,5 @@
 #pragma once
 
-#include "monster-attack/monster-attack-types.h"
-#include "monster-attack/monster-attack-effect.h"
 #include "system/angband.h"
 
 /*
@@ -12,6 +10,8 @@
  *     - Damage Dice
  *     - Damage Sides
  */
+typedef enum rbm_type rbm_type;
+typedef enum rbe_type rbe_type;
 typedef struct monster_blow {
     rbm_type method;
     rbe_type effect;
@@ -73,7 +73,7 @@ typedef struct monster_race {
     ARTIFACT_IDX artifact_id[4]; /* 特定アーティファクトドロップID */
     RARITY artifact_rarity[4]; /* 特定アーティファクトレア度 */
     PERCENTAGE artifact_percent[4]; /* 特定アーティファクトドロップ率 */
-    PERCENTAGE arena_ratio; /* ã\82¢ã\83ªã\83¼ã\83\8aã\81®è©\95価修正å\80¤(%å\9fºæº\96 / 0=100%) / Arena */
+    PERCENTAGE arena_ratio; /* ã\83¢ã\83³ã\82¹ã\82¿ã\83¼é\97\98æ\8a\80å ´ã\81®æ\8e\9bã\81\91é\87\91å\80\8dç\8e\87修正å\80¤(%å\9fºæº\96 / 0=100%) / The adjustment ratio for gambling monster */
     MONRACE_IDX next_r_idx;
     EXP next_exp;
     DEPTH level; /* Level of creature */
index 9268123..549864a 100644 (file)
@@ -1,6 +1,7 @@
 #include "view/display-lore-attacks.h"
 #include "lore/combat-types-setter.h"
 #include "lore/lore-calculator.h"
+#include "monster-attack/monster-attack-types.h"
 #include "monster-race/race-flags1.h"
 #ifdef JP
 #include "locale/japanese.h"
index fc9f884..1f5404b 100644 (file)
@@ -8,6 +8,7 @@
 #include "game-option/text-display-options.h"
 #include "lore/lore-calculator.h"
 #include "lore/monster-lore.h"
+#include "monster-attack/monster-attack-types.h"
 #include "monster-race/monster-race.h"
 #include "monster-race/race-flags1.h"
 #include "monster-race/race-flags2.h"