OSDN Git Service

[Refactor] #37353 player-skill.c/h を追加。
[hengband/hengband.git] / src / dungeon.c
index 583d7ad..f7414e3 100644 (file)
  */
 
 #include "angband.h"
+#include "util.h"
+
+#include "birth.h"
+#include "bldg.h"
 #include "cmd-activate.h"
 #include "cmd-eat.h"
 #include "cmd-hissatsu.h"
 #include "cmd-zaprod.h"
 #include "cmd-zapwand.h"
 #include "cmd-pet.h"
+#include "cmd-basic.h"
+#include "snipe.h"
 #include "floor.h"
 #include "floor-events.h"
 #include "grid.h"
 #include "object-curse.h"
+#include "object-flavor.h"
 #include "store.h"
 #include "spells.h"
 #include "spells-summon.h"
 #include "spells-object.h"
 #include "spells-status.h"
 #include "spells-floor.h"
-#include "monsterrace-hook.h"
+#include "monster-spell.h"
+#include "mind.h"
 #include "world.h"
 #include "mutation.h"
 #include "quest.h"
 #include "realm-hex.h"
 #include "object-hook.h"
 #include "wild.h"
+#include "monster-process.h"
 #include "monster-status.h"
+#include "monsterrace-hook.h"
 #include "floor-save.h"
+#include "feature.h"
+#include "player-skill.h"
 
+#include "view-mainwindow.h"
+#include "dungeon-file.h"
+#include "files.h"
+#include "player-effects.h"
+#include "scores.h"
 
 static bool load = TRUE; /*!<ロード処理中の分岐フラグ*/
 static int wild_regen = 20; /*!<広域マップ移動時の自然回復処理カウンタ(広域マップ1マス毎に20回処理を基本とする)*/
@@ -2537,11 +2554,8 @@ static void process_world_aux_curse(void)
                        {
                                BIT_FLAGS flgs[TR_FLAG_SIZE];
                                o_ptr = &inventory[i];
-
-                               /* Skip non-objects */
                                if (!o_ptr->k_idx) continue;
 
-                               /* Extract the item flags */
                                object_flags(o_ptr, flgs);
 
                                if (have_flag(flgs, TR_TELEPORT))
@@ -2763,8 +2777,6 @@ static void process_world_aux_recharge(void)
        {
                /* Get the object */
                object_type *o_ptr = &inventory[i];
-
-               /* Skip non-objects */
                if (!o_ptr->k_idx) continue;
 
                /* Recharge activatable objects */
@@ -2798,8 +2810,6 @@ static void process_world_aux_recharge(void)
        {
                object_type *o_ptr = &inventory[i];
                object_kind *k_ptr = &k_info[o_ptr->k_idx];
-
-               /* Skip non-objects */
                if (!o_ptr->k_idx) continue;
 
                /* Examine all charging rods or stacks of charging rods. */