• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revisionfb118c65b5e10635857d757e4aeffbe532a0285b (tree)
Time2019-06-08 20:31:49
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

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

Change Summary

Incremental Difference

--- a/src/defines.h
+++ b/src/defines.h
@@ -39,15 +39,6 @@
3939 */
4040
4141 /*!
42- * @brief 再描画処理用配列サイズ / Maximum size of the "redraw" array (see "current_floor_ptr->grid_array.c")
43- * @details We must be large for proper functioning of delayed redrawing.
44- * We must also be as large as two times of the largest view area.
45- * Note that maximum view grids are 1149 entries.
46- */
47-#define REDRAW_MAX 2298
48-
49-
50-/*!
5142 * @brief マクロ登録の最大数 / Maximum number of macros (see "io.c")
5243 * @note Default: assume at most 256 macros are used
5344 */
--- a/src/floor.h
+++ b/src/floor.h
@@ -71,6 +71,15 @@
7171 */
7272 #define VIEW_MAX 1536
7373
74+/*!
75+ * @brief 再描画処理用配列サイズ / Maximum size of the "redraw" array (see "current_floor_ptr->grid_array.c")
76+ * @details We must be large for proper functioning of delayed redrawing.
77+ * We must also be as large as two times of the largest view area.
78+ * Note that maximum view grids are 1149 entries.
79+ */
80+#define REDRAW_MAX 2298
81+
82+
7483 typedef struct {
7584 grid_type *grid_array[MAX_HGT];
7685 DEPTH dun_level; /*!< 現在の実ダンジョン階層base_levelの参照元となる / Current dungeon level */
Show on old repository browser