OSDN Git Service

[Refactor] #37353 player-move.h を追加。 / Add player-move.h.
authordeskull <deskull@users.sourceforge.jp>
Mon, 4 Mar 2019 05:17:43 +0000 (14:17 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Mon, 4 Mar 2019 05:17:43 +0000 (14:17 +0900)
20 files changed:
Hengband_vcs2017/Hengband/Hengband.vcxproj
src/autopick.c
src/cmd2.c
src/dungeon.c
src/effects.c
src/externs.h
src/files.c
src/melee1.c
src/monster-process.c
src/monster2.c
src/mspells1.c
src/mspells2.c
src/mspells4.c
src/object1.c
src/object2.c
src/player-move.c
src/player-move.h [new file with mode: 0644]
src/spells1.c
src/trap.c
src/xtra2.c

index a4215b8..8eef674 100644 (file)
     <ClInclude Include="..\..\src\objectkind-hook.h" />\r
     <ClInclude Include="..\..\src\patron.h" />\r
     <ClInclude Include="..\..\src\player-damage.h" />\r
+    <ClInclude Include="..\..\src\player-move.h" />\r
     <ClInclude Include="..\..\src\player-status.h" />\r
     <ClInclude Include="..\..\src\quest.h" />\r
     <ClInclude Include="..\..\src\readdib.h" />\r
index 85042d6..8235c8d 100644 (file)
@@ -14,6 +14,7 @@
 #include "angband.h"
 #include "store.h"
 #include "player-status.h"
+#include "player-move.h"
 #include "object-hook.h"
 
 #define MAX_LINELEN 1024
index 858c9b9..eedc244 100644 (file)
@@ -28,6 +28,7 @@
 #include "wild.h"
 #include "grid.h"
 #include "feature.h"
+#include "player-move.h"
 
 /*!
  * @brief フロア脱出時に出戻りが不可能だった場合に警告を加える処理
index a5b1fe7..05b2414 100644 (file)
@@ -35,6 +35,7 @@
 #include "quest.h"
 #include "artifact.h"
 #include "avatar.h"
+#include "player-move.h"
 #include "player-status.h"
 #include "cmd-spell.h"
 #include "realm-hex.h"
index a212a06..dd811c9 100644 (file)
@@ -22,6 +22,7 @@
 #include "object-hook.h"
 #include "wild.h"
 #include "spells-floor.h"
+#include "player-move.h"
 
 /*!
  * @brief プレイヤーの継続行動を設定する。
index 03c5192..742f247 100644 (file)
@@ -1396,5 +1396,3 @@ extern void kamaenaoshi(INVENTORY_IDX item);
 
 extern bool ang_sort_comp_hook(vptr u, vptr v, int a, int b);
 extern void ang_sort_swap_hook(vptr u, vptr v, int a, int b);
-
-extern void disturb(bool stop_search, bool flush_output);
\ No newline at end of file
index 9c32f60..fa1bf1e 100644 (file)
@@ -23,6 +23,7 @@
 #include "artifact.h"
 #include "avatar.h"
 #include "shoot.h"
+#include "player-move.h"
 
 
 /*
index 8df2852..d1df3f6 100644 (file)
@@ -24,6 +24,7 @@
 #include "realm-hex.h"
 #include "object-hook.h"
 #include "grid.h"
+#include "player-move.h"
 
 
 
index 2b5f64b..9dc4703 100644 (file)
@@ -25,6 +25,7 @@
 #include "object-hook.h"
 #include "feature.h"
 #include "grid.h"
+#include "player-move.h"
 
 
 /*!
index 20262bc..6851eff 100644 (file)
@@ -19,6 +19,7 @@
 #include "spells-summon.h"
 #include "quest.h"
 #include "grid.h"
+#include "player-move.h"
 
 #define HORDE_NOGOOD 0x01 /*!< (未実装フラグ)HORDE生成でGOODなモンスターの生成を禁止する? */
 #define HORDE_NOEVIL 0x02 /*!< (未実装フラグ)HORDE生成でEVILなモンスターの生成を禁止する? */
index b27388d..ce3abea 100644 (file)
@@ -43,6 +43,7 @@
 #include "projection.h"
 #include "quest.h"
 #include "realm-hex.h"
+#include "player-move.h"
 
 
 /*!
index 36d72db..aeb2b49 100644 (file)
@@ -15,6 +15,7 @@
 #include "projection.h"
 #include "quest.h"
 #include "realm-hex.h"
+#include "player-move.h"
 
 /*!
  * @brief モンスターが敵対モンスターにビームを当てること可能かを判定する /
index c995526..b6ffc23 100644 (file)
@@ -12,6 +12,7 @@
 #include "artifact.h"
 #include "player-status.h"
 #include "realm-hex.h"
+#include "player-move.h"
 
 /*!
 * @brief モンスターIDを取り、モンスター名をm_nameに代入する /
index 67a94d6..0a22c87 100644 (file)
@@ -15,6 +15,7 @@
 #include "artifact.h"
 #include "cmd-activate.h"
 #include "object-hook.h"
+#include "player-move.h"
 
 #if defined(MACINTOSH) || defined(MACH_O_CARBON)
 #ifdef verify
index 9b3065f..0b48025 100644 (file)
@@ -17,6 +17,7 @@
 #include "artifact.h"
 #include "player-status.h"
 #include "feature.h"
+#include "player-move.h"
 
 static void one_sustain(object_type *o_ptr);
 
index f3cbca0..ac0a04a 100644 (file)
 #include "projection.h"
 #include "quest.h"
 #include "artifact.h"
+#include "player-move.h"
 #include "player-status.h"
 #include "spells-floor.h"
 #include "feature.h"
diff --git a/src/player-move.h b/src/player-move.h
new file mode 100644 (file)
index 0000000..e1ad28f
--- /dev/null
@@ -0,0 +1,2 @@
+
+extern void disturb(bool stop_search, bool flush_output);
index 1f9087b..704869b 100644 (file)
@@ -31,6 +31,7 @@
 #include "artifact.h"
 #include "avatar.h"
 #include "player-status.h"
+#include "player-move.h"
 #include "realm-hex.h"
 #include "object-hook.h"
 #include "term.h"
index 7eccfce..aef866c 100644 (file)
@@ -2,6 +2,7 @@
 #include "floor.h"
 #include "trap.h"
 #include "player-damage.h"
+#include "player-move.h"
 #include "projection.h"
 #include "spells-summon.h"
 #include "quest.h"
index 2a3b51b..bd80108 100644 (file)
@@ -23,6 +23,7 @@
 #include "patron.h"
 #include "mutation.h"
 #include "floor-events.h"
+#include "player-move.h"
 
 #define REWARD_CHANCE 10