• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision5ff30a5309b3c155424ed45279a08ed48137af25 (tree)
Time2019-06-04 23:33:33
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 VIEW_MAX を floor.h へ移動.

Change Summary

Incremental Difference

--- a/src/defines.h
+++ b/src/defines.h
@@ -87,13 +87,6 @@
8787 #define MAX_MIND_POWERS 21 /*!< 超能力の数 / Mindcraft */
8888
8989 /*!
90- * @brief 視界処理配列サイズ / Maximum size of the "view" array (see "current_floor_ptr->grid_array.c")
91- * @details Note that the "view radius" will NEVER exceed 20, and even if the "view"
92- * was octagonal, we would never require more than 1520 entries in the array.
93- */
94-#define VIEW_MAX 1536
95-
96-/*!
9790 * @brief 視界及び光源の過渡処理配列サイズ / Maximum size of the "temp" array (see "current_floor_ptr->grid_array.c")
9891 * @details We must be as large as "VIEW_MAX" and "LITE_MAX" for proper functioning
9992 * of "update_view()" and "update_lite()". We must also be as large as the
--- a/src/floor.h
+++ b/src/floor.h
@@ -40,6 +40,13 @@
4040 */
4141 #define MON_LITE_MAX 1536
4242
43+/*!
44+ * @brief 視界処理配列サイズ / Maximum size of the "view" array (see "current_floor_ptr->grid_array.c")
45+ * @details Note that the "view radius" will NEVER exceed 20, and even if the "view"
46+ * was octagonal, we would never require more than 1520 entries in the array.
47+ */
48+#define VIEW_MAX 1536
49+
4350 typedef struct {
4451 grid_type *grid_array[MAX_HGT];
4552 DEPTH dun_level; /*!< 現在の実ダンジョン階層base_levelの参照元となる / Current dungeon level */
Show on old repository browser