• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision5fcbd08c6c3c85683716c15a06ba4db3f2b52253 (tree)
Time2019-05-19 15:40:05
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 reinit_wilderness を bldg.h へ移動.

Change Summary

Incremental Difference

--- a/src/bldg.c
+++ b/src/bldg.c
@@ -67,6 +67,8 @@ int battle_odds;
6767 PRICE kakekin;
6868 int sel_monster;
6969
70+bool reinit_wilderness = FALSE;
71+
7072 /*!
7173 * @brief 闘技場のモンスターID及び報酬アイテムテーブル
7274 */
--- a/src/bldg.h
+++ b/src/bldg.h
@@ -25,6 +25,7 @@ struct building_type
2525 };
2626
2727 extern building_type building[MAX_BLDG];
28+extern bool reinit_wilderness;
2829
2930 /*
3031 * Buildings actions
--- a/src/externs.h
+++ b/src/externs.h
@@ -57,7 +57,6 @@ extern s16b command_new;
5757 extern bool repair_monsters;
5858 extern bool repair_objects;
5959 extern int total_friends;
60-extern bool reinit_wilderness;
6160
6261 extern bool reset_concent;
6362
--- a/src/floor-save.c
+++ b/src/floor-save.c
@@ -11,6 +11,7 @@
1111 */
1212
1313 #include "angband.h"
14+#include "bldg.h"
1415 #include "load.h"
1516 #include "util.h"
1617
--- a/src/variable.c
+++ b/src/variable.c
@@ -31,8 +31,6 @@ bool repair_objects; /* Hack -- optimize detect objects */
3131
3232 int total_friends = 0;
3333
34-bool reinit_wilderness = FALSE;
35-
3634 /*
3735 * Dungeon size info
3836 */
Show on old repository browser