From 11c2426e03d62a8da33acacd963725440ece39f6 Mon Sep 17 00:00:00 2001 From: deskull Date: Sat, 1 Jun 2019 00:44:04 +0900 Subject: [PATCH] =?utf8?q?[Refactor]=20#37353=20BLOCK=5FHGT=20=E3=81=A8=20?= =?utf8?q?BLOCK=5FWID=20=E3=82=92=20floor.h=20=E3=81=B8=E7=A7=BB=E5=8B=95?= =?utf8?q?=EF=BC=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/defines.h | 12 ------------ src/floor.h | 12 ++++++++++++ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/defines.h b/src/defines.h index 5b1517587..c7e7399cd 100644 --- a/src/defines.h +++ b/src/defines.h @@ -40,18 +40,6 @@ /*! - * @brief generate.cで用いられる基本的なブロック数単位(垂直方向) - * Number of grids in each block (vertically) Probably hard-coded to 11, see "generate.c" - */ -#define BLOCK_HGT 11 - -/*! - * @brief generate.cで用いられる基本的なブロック数単位(水平方向) - * Number of grids in each block (horizontally) Probably hard-coded to 11, see "generate.c" - */ -#define BLOCK_WID 11 - -/*! * @brief 表示上の基本的なパネル単位(垂直方向、BLOCK_HGTの倍数で設定すること) * Number of grids in each panel (vertically) Must be a multiple of BLOCK_HGT */ diff --git a/src/floor.h b/src/floor.h index a6a018fc9..eac919f8c 100644 --- a/src/floor.h +++ b/src/floor.h @@ -3,6 +3,18 @@ #include "feature.h" #include "grid.h" +/*! + * @brief generate.cで用いられる基本的なブロック数単位(垂直方向) + * Number of grids in each block (vertically) Probably hard-coded to 11, see "generate.c" + */ +#define BLOCK_HGT 11 + + /*! + * @brief generate.cで用いられる基本的なブロック数単位(水平方向) + * Number of grids in each block (horizontally) Probably hard-coded to 11, see "generate.c" + */ +#define BLOCK_WID 11 + typedef struct { grid_type *grid_array[MAX_HGT]; DEPTH dun_level; /*!< 現在の実ダンジョン階層base_levelの参照元となる / Current dungeon level */ -- 2.11.0