OSDN Git Service

[Refactor] #37353 TEMP_MAX を geometry.h へ移動.
authordeskull <deskull@users.sourceforge.jp>
Sat, 8 Jun 2019 11:26:27 +0000 (20:26 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Sat, 8 Jun 2019 11:26:27 +0000 (20:26 +0900)
src/defines.h
src/geometry.h

index e9936ff..1577674 100644 (file)
  *\n
  * You have been warned.\n
  */
-/*!
- * @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
- * largest illuminatable room, but no room is larger than 800 grids.  We
- * must also be large enough to allow "good enough" use as a circular queue,
- * to calculate monster flow, but note that the flow code is "paranoid".
- */
-#define TEMP_MAX 2298
 
 /*!
  * @brief 再描画処理用配列サイズ / Maximum size of the "redraw" array (see "current_floor_ptr->grid_array.c")
index 75a28ce..0887f82 100644 (file)
@@ -42,6 +42,16 @@ extern void mmove2(POSITION *y, POSITION *x, POSITION y1, POSITION x1, POSITION
 extern bool player_can_see_bold(POSITION y, POSITION x);
 extern bool no_lite(void);
 
+/*!
+ * @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
+ * largest illuminatable room, but no room is larger than 800 grids.  We
+ * must also be large enough to allow "good enough" use as a circular queue,
+ * to calculate monster flow, but note that the flow code is "paranoid".
+ */
+#define TEMP_MAX 2298
+
 //!< 対象グリッドの一覧をまとめる構造体
 typedef struct
 {