OSDN Git Service

[Refactor] #37353 floor-town.c/h を作成して関連構造体と変数を移動.
[hengband/hengband.git] / src / view-mainwindow.c
index 5e7c596..dbab034 100644 (file)
@@ -12,6 +12,7 @@
 
 #include "angband.h"
 #include "util.h"
+#include "autopick.h"
 
 #include "files.h"
 #include "world.h"
@@ -19,6 +20,7 @@
 #include "artifact.h"
 #include "avatar.h"
 #include "player-status.h"
+#include "player-class.h"
 #include "monster.h"
 #include "view-mainwindow.h"
 
@@ -30,7 +32,9 @@
 #include "grid.h"
 #include "dungeon.h"
 #include "floor.h"
+#include "floor-town.h"
 #include "feature.h"
+#include "objectkind.h"
 
 static int feat_priority; /*!< マップ縮小表示時に表示すべき地形の優先度を保管する */
 static byte display_autopick; /*!< 自動拾い状態の設定フラグ */
@@ -1531,7 +1535,7 @@ static void prt_frame_extra(void)
 
 
 /*!
- * @brief サブウィンドウに所持品一覧を表示する / Hack -- display inventory in sub-windows
+ * @brief サブウィンドウに所持品一覧を表示する / Hack -- display p_ptr->inventory_list in sub-windows
  * @return なし
  */
 static void fix_inven(void)
@@ -1552,7 +1556,7 @@ static void fix_inven(void)
                /* Activate */
                Term_activate(angband_term[j]);
 
-               /* Display inventory */
+               /* Display p_ptr->inventory_list */
                display_inven();
                Term_fresh();
                Term_activate(old);
@@ -2260,7 +2264,7 @@ static void window_stuff(void)
        /* Nothing to do */
        if (!p_ptr->window) return;
 
-       /* Display inventory */
+       /* Display p_ptr->inventory_list */
        if (p_ptr->window & (PW_INVEN))
        {
                p_ptr->window &= ~(PW_INVEN);