OSDN Git Service

[Refactor] #37353 MAX_ARENA_MONS 定義を bldg.h へ移動.
authordeskull <deskull@users.sourceforge.jp>
Thu, 23 May 2019 15:17:40 +0000 (00:17 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Thu, 23 May 2019 15:17:40 +0000 (00:17 +0900)
src/bldg.h
src/cmd-dump.c
src/defines.h
src/player-status.c
src/view-mainwindow.c

index 91e0024..c8ee9af 100644 (file)
@@ -3,6 +3,7 @@
 #include "realm.h"
 
 #define MAX_BLDG 32 /*!< 施設の種類最大数 / Number of buildings */
+#define MAX_ARENA_MONS 41 /*<! 闘技場のイベント件数 -KMW- */
 
 /*
  * A structure to describe a building.
index 2b4f686..99cc7a5 100644 (file)
@@ -48,6 +48,7 @@
 
 #include "autopick.h"
 
+#include "bldg.h"
 #include "birth.h"
 #include "cmd-pet.h"
 #include "cmd-spell.h"
index 48aec77..0a3d8a2 100644 (file)
 /*
  * Arena constants
  */
-#define MAX_ARENA_MONS 41 /*<! 闘技場のイベント件数 -KMW- */
 #define ARENA_DEFEATED_OLD_VER (-(MAX_SHORT)) /*<! 旧バージョンの闘技場敗北定義 */
 
 #define BUILDING_NON_MEMBER 0 /*!< 不明(現在未使用) */
 #define MAX_CLASS       28 /*!< 職業の最大定義数 Maximum number of player "class" types (see "table.c", etc) */
 #define MAX_SEIKAKU     13 /*!< 性格の最大定義数 */
 
-/* カオスの変異 / Chaos mutations */
-
 
 #define MAX_MA 17 /*!< 修行僧マーシャルアーツの技数 / Monk martial arts... */
 #define MA_KNEE 1 /*!< 金的効果ID */
index a9880cb..ed9e8ab 100644 (file)
@@ -2,6 +2,7 @@
 #include "core.h"
 #include "util.h"
 
+#include "bldg.h"
 #include "quest.h"
 #include "player-move.h"
 #include "player-status.h"
index 2e8608b..732568d 100644 (file)
@@ -15,6 +15,7 @@
 #include "autopick.h"
 #include "term.h"
 
+#include "bldg.h"
 #include "core.h"
 #include "files.h"
 #include "world.h"