• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision500cad7b90ab82bfa671b9dd8284c70e0204b7fd (tree)
Time2019-06-10 23:03:54
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 use_menu を util.c/h へ移動.

Change Summary

Incremental Difference

--- a/src/externs.h
+++ b/src/externs.h
@@ -65,5 +65,3 @@ extern MONSTER_IDX riding_t_m_idx;
6565 extern MONRACE_IDX today_mon;
6666 extern bool sukekaku;
6767 extern bool new_mane;
68-
69-extern bool use_menu;
--- a/src/util.c
+++ b/src/util.c
@@ -104,6 +104,8 @@ bool inkey_xtra; /* See the "inkey()" function */
104104 bool inkey_scan; /* See the "inkey()" function */
105105 bool inkey_flag; /* See the "inkey()" function */
106106
107+bool use_menu;
108+
107109 static int num_more = 0;
108110
109111 /* Save macro trigger string for use in inkey_special() */
--- a/src/util.h
+++ b/src/util.h
@@ -124,6 +124,8 @@ extern bool inkey_xtra;
124124 extern bool inkey_scan;
125125 extern bool inkey_flag;
126126
127+extern bool use_menu;
128+
127129 /*
128130 * Automatically generated "variable" declarations
129131 */
--- a/src/variable.c
+++ b/src/variable.c
@@ -53,8 +53,6 @@ MONSTER_IDX today_mon;
5353 bool sukekaku;
5454 bool new_mane;
5555
56-bool use_menu;
57-
5856 #ifdef CHUUKEI
5957 bool chuukei_server;
6058 bool chuukei_client;
Show on old repository browser