OSDN Git Service

[Refactor] #37353 Moved inclusion of angband.h from *.c to *.h in feature and geometry
authorHourier <hourier@users.sourceforge.jp>
Sat, 23 May 2020 12:04:45 +0000 (21:04 +0900)
committerHourier <hourier@users.sourceforge.jp>
Sat, 23 May 2020 12:04:45 +0000 (21:04 +0900)
src/floor/geometry.c
src/floor/geometry.h
src/grid/feature.c
src/grid/feature.h

index 8e68cd7..3594b6a 100644 (file)
@@ -1,5 +1,4 @@
-#include "system/angband.h"
-#include "floor/floor.h"
+#include "floor/floor.h"
 #include "floor/geometry.h"
 
 /*!
index 6b4513f..c7852db 100644 (file)
@@ -1,5 +1,7 @@
 #pragma once
 
+#include "system/angband.h"
+
 typedef struct player_type player_type;
 
 extern const POSITION ddd[9];
index cc7511b..4fd3c7b 100644 (file)
@@ -1,5 +1,4 @@
-#include "system/angband.h"
-#include "grid/feature.h"
+#include "grid/feature.h"
 
 /*** Terrain feature variables ***/
 
index c5559f9..3182307 100644 (file)
@@ -1,5 +1,7 @@
 #pragma once
 
+#include "system/angband.h"
+
 /*
  * Number of feats we change to (Excluding default). Used in f_info.txt.
  */