OSDN Git Service

[Refactor] #37353 MAX_CLASS を player-class.h へ移動.
authordeskull <deskull@users.sourceforge.jp>
Thu, 6 Jun 2019 13:45:33 +0000 (22:45 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Thu, 6 Jun 2019 13:45:33 +0000 (22:45 +0900)
src/bldg.h
src/defines.h
src/player-class.h

index ac091c5..0c14c25 100644 (file)
@@ -2,6 +2,7 @@
 
 #include "realm.h"
 #include "player-race.h"
+#include "player-class.h"
 
 #define MAX_BLDG 32 /*!< 施設の種類最大数 / Number of buildings */
 #define MAX_ARENA_MONS 41 /*<! 闘技場のイベント件数 -KMW- */
index a2d4d08..b486ca4 100644 (file)
@@ -43,7 +43,6 @@
  */
 #define ARENA_DEFEATED_OLD_VER (-(MAX_SHORT)) /*<! 旧バージョンの闘技場敗北定義 */
 
-#define MAX_CLASS       28 /*!< 職業の最大定義数 Maximum number of player "class" types (see "table.c", etc) */
 #define MAX_SEIKAKU     13 /*!< 性格の最大定義数 */
 
 #define MAX_MIND_POWERS  21 /*!< 超能力の数 / Mindcraft */
index b65044b..a610a80 100644 (file)
@@ -55,6 +55,7 @@
 #define CLASS_MIRROR_MASTER     25
 #define CLASS_NINJA             26
 #define CLASS_SNIPER            27
+#define MAX_CLASS       28 /*!< 職業の最大定義数 Maximum number of player "class" types (see "table.c", etc) */
 
 #define IS_WIZARD_CLASS() \
        (p_ptr->pclass == CLASS_MAGE || p_ptr->pclass == CLASS_HIGH_MAGE || p_ptr->pclass == CLASS_SORCERER || p_ptr->pclass == CLASS_MAGIC_EATER || p_ptr->pclass == CLASS_BLUE_MAGE)