OSDN Git Service

[Refactor] #37353 MAX_DEPTH と MAX_SAVED_FLOORS を floor.h と floor-save.h へ移動.
authordeskull <deskull@users.sourceforge.jp>
Fri, 31 May 2019 15:48:35 +0000 (00:48 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Fri, 31 May 2019 15:48:35 +0000 (00:48 +0900)
src/defines.h
src/floor-save.h
src/floor.h
src/object-boost.c

index c7e7399..00bde75 100644 (file)
 
 #define MAX_HISCORES    999 /*!< スコア情報保存の最大数 / Maximum number of high scores in the high score file */
 
-
-
-/*!
- * @brief ダンジョンの最深層 / Maximum dungeon level. 
- * @details
- * The player can never reach this level
- * in the dungeon, and this value is used for various calculations
- * involving object and monster creation.  It must be at least 100.
- * Setting it below 128 may prevent the creation of some objects.
- */
-#define MAX_DEPTH       128 
-
-#define MAX_SAVED_FLOORS       20 /*!< 保存フロアの最大数 / Maximum number of saved floors. */
-
 /*!
  * @brief プレイヤー用光源処理配列サイズ / Maximum size of the "lite" array (see "current_floor_ptr->grid_array.c")
  * @details Note that the "lite radius" will NEVER exceed 14, and we would
index 4d741bd..55eb2e4 100644 (file)
@@ -1,5 +1,7 @@
 #pragma once
 
+#define MAX_SAVED_FLOORS       20 /*!< 保存フロアの最大数 / Maximum number of saved floors. */
+
 /*
  *  A structure type for the saved floor
  */
index eac919f..cfb28d4 100644 (file)
@@ -4,6 +4,16 @@
 #include "grid.h"
 
 /*!
+ * @brief ダンジョンの最深層 / Maximum dungeon level.
+ * @details
+ * The player can never reach this level
+ * in the dungeon, and this value is used for various calculations
+ * involving object and monster creation.  It must be at least 100.
+ * Setting it below 128 may prevent the creation of some objects.
+ */
+#define MAX_DEPTH       128 
+
+/*!
  * @brief generate.cで用いられる基本的なブロック数単位(垂直方向)
  * Number of grids in each block (vertically) Probably hard-coded to 11, see "generate.c"
  */
index 7dd3aa8..1807b3d 100644 (file)
@@ -1,4 +1,5 @@
 #include "angband.h"
+#include "floor.h"
 #include "object-boost.h"
 #include "object-boost.h"
 #include "cmd-activate.h"