OSDN Git Service

[Refactor] #37353 get_com_no_macros を util.c/h へ移動.
authordeskull <deskull@users.sourceforge.jp>
Thu, 16 May 2019 14:50:05 +0000 (23:50 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Thu, 16 May 2019 14:50:05 +0000 (23:50 +0900)
src/externs.h
src/util.c
src/util.h
src/variable.c

index 5d610dc..8143ec9 100644 (file)
@@ -54,8 +54,6 @@ extern TERM_LEN command_gap;
 extern s16b command_wrk;
 extern s16b command_new;
 
-extern bool get_com_no_macros;
-
 extern bool repair_monsters;
 extern bool repair_objects;
 extern MONSTER_IDX hack_m_idx;
index 68c1f39..1b5edd8 100644 (file)
@@ -90,6 +90,9 @@ bool *macro__cmd;
  */
 char *macro__buf;
 
+bool get_com_no_macros = FALSE;        /* Expand macros in "get_com" or not */
+
+
 
 bool inkey_base;               /* See the "inkey()" function */
 bool inkey_xtra;               /* See the "inkey()" function */
index 5b2e5f8..6507c3a 100644 (file)
@@ -48,6 +48,8 @@ extern concptr *macro__act;
 extern bool *macro__cmd;
 extern char *macro__buf;
 
+extern bool get_com_no_macros;
+
 extern bool inkey_base;
 extern bool inkey_xtra;
 extern bool inkey_scan;
index b203e70..6bf3323 100644 (file)
@@ -26,8 +26,6 @@ TERM_LEN command_gap = 999;         /* See "object1.c" */
 
 s16b command_new;              /* Command chaining from inven/equip view */
 
-bool get_com_no_macros = FALSE;        /* Expand macros in "get_com" or not */
-
 bool repair_monsters;  /* Hack -- optimize detect monsters */
 bool repair_objects;   /* Hack -- optimize detect objects */