OSDN Git Service

[Refactor] #39912 不要インクルードファイル整理中. / Refactoring unused include files.
authordeskull <deskull@users.sourceforge.jp>
Mon, 10 Feb 2020 15:39:53 +0000 (00:39 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Mon, 10 Feb 2020 15:39:53 +0000 (00:39 +0900)
src/angband.h
src/cmd/cmd-gameoption.h
src/cmd/cmd-pet.h
src/floor-save.h
src/floor.h
src/rooms.h
src/view-mainwindow.h
src/wild.h

index 21765dd..f394aa6 100644 (file)
@@ -21,7 +21,6 @@
  * First, include the low-level includes.  Be sure to edit "h-config.h"
  * to reflect any hardware, operating system, or compiler nuances.
  */
-#include "h-basic.h"
 
 
 /*
@@ -40,9 +39,6 @@
 #include "gamevalue.h"
 #include "cmd-gameoption.h"
 
-#include "geometry.h"
-#include "grid.h"
-#include "floor-save.h"
 #include "monster.h"
 #include "monsterrace.h"
 #include "object.h"
index 73893fb..3ff4d87 100644 (file)
@@ -1,5 +1,4 @@
 #pragma once
-#include "h-type.h"
 
 /*** Option Definitions ***/
 
index e0ba531..6065f61 100644 (file)
@@ -1,5 +1,4 @@
 #pragma once
-#include "grid.h"
 
 extern bool do_cmd_riding(player_type *creature_ptr, bool force);
 extern PERCENTAGE calculate_upkeep(player_type *creature_ptr);
index 911b0d9..22038ee 100644 (file)
@@ -2,6 +2,9 @@
 
 #define MAX_SAVED_FLOORS       20 /*!< 保存フロアの最大数 / Maximum number of saved floors. */
 
+struct player_type;
+typedef struct player_type player_type;
+
 /*
  *  A structure type for the saved floor
  */
index 30aca92..f5b7554 100644 (file)
@@ -3,6 +3,8 @@
 #include "feature.h"
 #include "grid.h"
 #include "object.h"
+#include "floor-save.h"
+
 
 /*!
  * @brief ダンジョンの最深層 / Maximum dungeon level.
index 4e96ec5..a950dec 100644 (file)
@@ -10,7 +10,6 @@
  */
 
 #pragma once
-#include "floor.h"
 
 #define ALLOW_CAVERNS_AND_LAKES
 
index 5b856a8..3db21f9 100644 (file)
@@ -1,5 +1,4 @@
 #pragma once
-#include "feature.h"
 
 extern void get_screen_size(TERM_LEN *wid_p, TERM_LEN *hgt_p);
 extern int panel_col_of(int col);
index 8e6adfc..225e55c 100644 (file)
@@ -1,5 +1,4 @@
 #pragma once
-#include "floor.h"
 
 #define NO_TOWN 6
 #define SECRET_TOWN 5