• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revision327810376a5038f40a61bbe0b026837d502440c4 (tree)
Time2019-06-08 20:26:27
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 TEMP_MAX を geometry.h へ移動.

Change Summary

Incremental Difference

--- a/src/defines.h
+++ b/src/defines.h
@@ -37,15 +37,6 @@
3737 *\n
3838 * You have been warned.\n
3939 */
40-/*!
41- * @brief 視界及び光源の過渡処理配列サイズ / Maximum size of the "temp" array (see "current_floor_ptr->grid_array.c")
42- * @details We must be as large as "VIEW_MAX" and "LITE_MAX" for proper functioning
43- * of "update_view()" and "update_lite()". We must also be as large as the
44- * largest illuminatable room, but no room is larger than 800 grids. We
45- * must also be large enough to allow "good enough" use as a circular queue,
46- * to calculate monster flow, but note that the flow code is "paranoid".
47- */
48-#define TEMP_MAX 2298
4940
5041 /*!
5142 * @brief 再描画処理用配列サイズ / Maximum size of the "redraw" array (see "current_floor_ptr->grid_array.c")
--- a/src/geometry.h
+++ b/src/geometry.h
@@ -42,6 +42,16 @@ extern void mmove2(POSITION *y, POSITION *x, POSITION y1, POSITION x1, POSITION
4242 extern bool player_can_see_bold(POSITION y, POSITION x);
4343 extern bool no_lite(void);
4444
45+/*!
46+ * @brief 視界及び光源の過渡処理配列サイズ / Maximum size of the "temp" array (see "current_floor_ptr->grid_array.c")
47+ * @details We must be as large as "VIEW_MAX" and "LITE_MAX" for proper functioning
48+ * of "update_view()" and "update_lite()". We must also be as large as the
49+ * largest illuminatable room, but no room is larger than 800 grids. We
50+ * must also be large enough to allow "good enough" use as a circular queue,
51+ * to calculate monster flow, but note that the flow code is "paranoid".
52+ */
53+#define TEMP_MAX 2298
54+
4555 //!< 対象グリッドの一覧をまとめる構造体
4656 typedef struct
4757 {
Show on old repository browser