• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revisionb625314b576d2cb7bd307a091ac642befe219899 (tree)
Time2019-06-10 23:27:59
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 today_mon (グローバル変数側の事実情報)を bldg.c/h へ移動.

Change Summary

Incremental Difference

--- a/src/bldg.c
+++ b/src/bldg.c
@@ -71,6 +71,7 @@ PRICE kakekin;
7171 int sel_monster;
7272
7373 bool reinit_wilderness = FALSE;
74+MONSTER_IDX today_mon;
7475
7576 /*!
7677 * @brief 闘技場のモンスターID及び報酬アイテムテーブル
--- a/src/bldg.h
+++ b/src/bldg.h
@@ -44,6 +44,7 @@ struct building_type
4444
4545 extern building_type building[MAX_BLDG];
4646 extern bool reinit_wilderness;
47+extern MONRACE_IDX today_mon;
4748
4849 /*
4950 * Buildings actions
--- a/src/externs.h
+++ b/src/externs.h
@@ -59,4 +59,3 @@ extern player_type *p_ptr;
5959
6060 extern MONSTER_IDX pet_t_m_idx;
6161 extern MONSTER_IDX riding_t_m_idx;
62-extern MONRACE_IDX today_mon;
--- a/src/variable.c
+++ b/src/variable.c
@@ -34,4 +34,3 @@ player_type *p_ptr = &p_body;
3434 MONSTER_IDX pet_t_m_idx;
3535 MONSTER_IDX riding_t_m_idx;
3636
37-MONSTER_IDX today_mon;
Show on old repository browser