• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision09aa2bde5f1f1774b1b7721c4aaa027fca0579ca (tree)
Time2019-05-15 00:20:02
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 check_score() を scores.c/h へ移動.

Change Summary

Incremental Difference

--- a/src/externs.h
+++ b/src/externs.h
@@ -89,7 +89,6 @@ extern concptr *quark__str;
8989
9090 extern term *angband_term[8];
9191
92-extern u32b saved_floor_file_sign;
9392 extern concptr keymap_act[KEYMAP_MODES][256];
9493 extern player_type *p_ptr;
9594
--- a/src/floor-save.c
+++ b/src/floor-save.c
@@ -44,6 +44,12 @@ static u32b latest_visit_mark; /*!<フロアを渡った回数?(確認中) /
4444 */
4545 FLOOR_IDX max_floor_id;
4646
47+/*
48+ * Sign for current process used in temporal files.
49+ * Actually it is the start time of current process.
50+ */
51+u32b saved_floor_file_sign;
52+
4753 /*!
4854 * @brief 保存フロア配列を初期化する / Initialize saved_floors array.
4955 * @param force テンポラリファイルが残っていた場合も警告なしで強制的に削除する。
--- a/src/floor-save.h
+++ b/src/floor-save.h
@@ -14,6 +14,8 @@ typedef struct
1414 FLOOR_IDX lower_floor_id; /* a floor connected with level tel. and trap door */
1515 } saved_floor_type;
1616
17+extern u32b saved_floor_file_sign;
18+
1719 extern void init_saved_floors(bool force);
1820 extern void change_floor(void);
1921 extern void leave_floor(void);
--- a/src/variable.c
+++ b/src/variable.c
@@ -90,13 +90,6 @@ concptr *quark__str;
9090 term *angband_term[8];
9191
9292 /*
93- * Sign for current process used in temporal files.
94- * Actually it is the start time of current process.
95- */
96-u32b saved_floor_file_sign;
97-
98-
99-/*
10093 * Keymaps for each "mode" associated with each keypress.
10194 */
10295 concptr keymap_act[KEYMAP_MODES][256];
Show on old repository browser