OSDN Git Service

[Refactor] #37353 VIEW_MAX を floor.h へ移動.
authordeskull <deskull@users.sourceforge.jp>
Tue, 4 Jun 2019 14:33:33 +0000 (23:33 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Tue, 4 Jun 2019 14:33:33 +0000 (23:33 +0900)
src/defines.h
src/floor.h

index 6863be9..8e654f4 100644 (file)
 #define MAX_MIND_POWERS  21 /*!< 超能力の数 / Mindcraft */
 
 /*!
- * @brief 視界処理配列サイズ / Maximum size of the "view" array (see "current_floor_ptr->grid_array.c")
- * @details Note that the "view radius" will NEVER exceed 20, and even if the "view"
- * was octagonal, we would never require more than 1520 entries in the array.
- */
-#define VIEW_MAX 1536
-
-/*!
  * @brief 視界及び光源の過渡処理配列サイズ / Maximum size of the "temp" array (see "current_floor_ptr->grid_array.c")
  * @details We must be as large as "VIEW_MAX" and "LITE_MAX" for proper functioning
  * of "update_view()" and "update_lite()".  We must also be as large as the
index 73ac155..054b6ba 100644 (file)
  */
 #define MON_LITE_MAX 1536
 
+/*!
+ * @brief 視界処理配列サイズ / Maximum size of the "view" array (see "current_floor_ptr->grid_array.c")
+ * @details Note that the "view radius" will NEVER exceed 20, and even if the "view"
+ * was octagonal, we would never require more than 1520 entries in the array.
+ */
+#define VIEW_MAX 1536
+
 typedef struct {
        grid_type *grid_array[MAX_HGT];
        DEPTH dun_level;                /*!< 現在の実ダンジョン階層base_levelの参照元となる / Current dungeon level */