• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revision77e97b02dfb49fe1c99c8b34dc674b0ebf074b92 (tree)
Time2020-05-23 21:04:45
AuthorHourier <hourier@user...>
CommiterHourier

Log Message

[Refactor] #37353 Moved inclusion of angband.h from *.c to *.h in feature and geometry

Change Summary

Incremental Difference

--- a/src/floor/geometry.c
+++ b/src/floor/geometry.c
@@ -1,5 +1,4 @@
1-#include "system/angband.h"
2-#include "floor/floor.h"
1+#include "floor/floor.h"
32 #include "floor/geometry.h"
43
54 /*!
--- a/src/floor/geometry.h
+++ b/src/floor/geometry.h
@@ -1,5 +1,7 @@
11 #pragma once
22
3+#include "system/angband.h"
4+
35 typedef struct player_type player_type;
46
57 extern const POSITION ddd[9];
--- a/src/grid/feature.c
+++ b/src/grid/feature.c
@@ -1,5 +1,4 @@
1-#include "system/angband.h"
2-#include "grid/feature.h"
1+#include "grid/feature.h"
32
43 /*** Terrain feature variables ***/
54
--- a/src/grid/feature.h
+++ b/src/grid/feature.h
@@ -1,5 +1,7 @@
11 #pragma once
22
3+#include "system/angband.h"
4+
35 /*
46 * Number of feats we change to (Excluding default). Used in f_info.txt.
57 */
Show on old repository browser