OSDN Git Service

[Refactor] #37353 MAX_BLDG 定義を bldg.h へ移動.
authordeskull <deskull@users.sourceforge.jp>
Thu, 23 May 2019 15:12:41 +0000 (00:12 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Thu, 23 May 2019 15:12:41 +0000 (00:12 +0900)
src/bldg.h
src/defines.h

index 9f06dea..91e0024 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "realm.h"
 
+#define MAX_BLDG 32 /*!< 施設の種類最大数 / Number of buildings */
+
 /*
  * A structure to describe a building.
  * From Kamband
index 9d9e73f..631ac20 100644 (file)
 #define MAX_ARENA_MONS 41 /*<! 闘技場のイベント件数 -KMW- */
 #define ARENA_DEFEATED_OLD_VER (-(MAX_SHORT)) /*<! 旧バージョンの闘技場敗北定義 */
 
-
-#define MAX_BLDG 32 /*!< 施設の種類最大数 / Number of buildings */
-
-
 #define BUILDING_NON_MEMBER 0 /*!< 不明(現在未使用) */
 #define BUILDING_MEMBER     1 /*!< 不明(現在未使用) */
 #define BUILDING_OWNER      2 /*!< 施設の種族/職業条件が一致している状態値 */