From 09aa2bde5f1f1774b1b7721c4aaa027fca0579ca Mon Sep 17 00:00:00 2001 From: deskull Date: Wed, 15 May 2019 00:20:02 +0900 Subject: [PATCH] =?utf8?q?[Refactor]=20#37353=20check=5Fscore()=20?= =?utf8?q?=E3=82=92=20scores.c/h=20=E3=81=B8=E7=A7=BB=E5=8B=95=EF=BC=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/externs.h | 1 - src/floor-save.c | 6 ++++++ src/floor-save.h | 2 ++ src/variable.c | 7 ------- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/externs.h b/src/externs.h index f5c275aaf..da80df3a3 100644 --- a/src/externs.h +++ b/src/externs.h @@ -89,7 +89,6 @@ extern concptr *quark__str; extern term *angband_term[8]; -extern u32b saved_floor_file_sign; extern concptr keymap_act[KEYMAP_MODES][256]; extern player_type *p_ptr; diff --git a/src/floor-save.c b/src/floor-save.c index 2dd4e2f2f..71597b685 100644 --- a/src/floor-save.c +++ b/src/floor-save.c @@ -44,6 +44,12 @@ static u32b latest_visit_mark; /*!<フロアを渡った回数?(確認中) / */ FLOOR_IDX max_floor_id; +/* + * Sign for current process used in temporal files. + * Actually it is the start time of current process. + */ +u32b saved_floor_file_sign; + /*! * @brief 保存フロア配列を初期化する / Initialize saved_floors array. * @param force テンポラリファイルが残っていた場合も警告なしで強制的に削除する。 diff --git a/src/floor-save.h b/src/floor-save.h index 7de0bdfdc..4d741bdbf 100644 --- a/src/floor-save.h +++ b/src/floor-save.h @@ -14,6 +14,8 @@ typedef struct FLOOR_IDX lower_floor_id; /* a floor connected with level tel. and trap door */ } saved_floor_type; +extern u32b saved_floor_file_sign; + extern void init_saved_floors(bool force); extern void change_floor(void); extern void leave_floor(void); diff --git a/src/variable.c b/src/variable.c index 19354460f..f22de53ee 100644 --- a/src/variable.c +++ b/src/variable.c @@ -90,13 +90,6 @@ concptr *quark__str; term *angband_term[8]; /* - * Sign for current process used in temporal files. - * Actually it is the start time of current process. - */ -u32b saved_floor_file_sign; - - -/* * Keymaps for each "mode" associated with each keypress. */ concptr keymap_act[KEYMAP_MODES][256]; -- 2.11.0