OSDN Git Service

[Refactor] #37353 command_* を util.c/h に移動.
[hengband/hengband.git] / src / variable.c
index 35f3720..8937073 100644 (file)
 #include "angband.h"
 #include "geometry.h"
 
-s16b command_cmd;              /* Current "Angband Command" */
-
-COMMAND_ARG command_arg;       /*!< 各種コマンドの汎用的な引数として扱う / Gives argument of current command */
-COMMAND_NUM command_rep;       /*!< 各種コマンドの汎用的なリピート数として扱う / Gives repetition of current command */
-DIRECTION command_dir;         /*!< 各種コマンドの汎用的な方向値処理として扱う/ Gives direction of current command */
-
-s16b command_see;              /* See "object1.c" */
-s16b command_wrk;              /* See "object1.c" */
-
-TERM_LEN command_gap = 999;         /* See "object1.c" */
-
-s16b command_new;              /* Command chaining from inven/equip view */
-
-bool msg_flag;                 /* Used in msg_print() for "buffering" */
-
-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 */
 
-MONSTER_IDX hack_m_idx = 0;    /* Hack -- see "process_monsters()" */
-MONSTER_IDX hack_m_idx_ii = 0;
-
-int total_friends = 0;
-
-bool reinit_wilderness = FALSE;
 
 /*
  * Dungeon size info
@@ -56,14 +34,6 @@ int player_uid;
 int player_euid;
 int player_egid;
 
-/*
- * Buffer to hold the current savefile name
- * 'savefile' holds full path name. 'savefile_base' holds only base name.
- */
-char savefile[1024];
-char savefile_base[40];
-
-
 pos_list tmp_pos;
 
 /*
@@ -100,8 +70,6 @@ player_type p_body;
  */
 player_type *p_ptr = &p_body;
 
-bool can_save = FALSE;        /* Game can be saved */
-
 
 MONSTER_IDX pet_t_m_idx;
 MONSTER_IDX riding_t_m_idx;
@@ -118,7 +86,6 @@ bool new_mane;
  */
 DEPTH *max_dlv;
 
-COMMAND_CODE now_message;
 bool use_menu;
 
 #ifdef CHUUKEI