OSDN Git Service

[Refactor] #37353 monsterrace_hook_type 定義を monster.h へ移動.
authordeskull <deskull@users.sourceforge.jp>
Thu, 2 May 2019 14:25:50 +0000 (23:25 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Thu, 2 May 2019 14:25:50 +0000 (23:25 +0900)
src/monster.h
src/types.h

index 60a5fea..e38f76e 100644 (file)
@@ -1,6 +1,8 @@
 #pragma once
 #include "monsterrace.h"
 
+typedef bool(*monsterrace_hook_type)(MONRACE_IDX r_idx);
+
 /*
  * Monster information, for a specific monster.
  * Note: fy, fx constrain dungeon size to 256x256
index 4194b14..07a0cfa 100644 (file)
@@ -65,5 +65,3 @@ struct magic_type
        PERCENTAGE sfail;               /* Minimum chance of failure */
        EXP sexp;                               /* Encoded experience bonus */
 };
-
-typedef bool (*monsterrace_hook_type)(MONRACE_IDX r_idx);