OSDN Git Service

[Refactor] #37353 screen_dump を report.c/h へ移動.
[hengband/hengband.git] / src / variable.c
index a1eb363..ccdbe16 100644 (file)
 #include "angband.h"
 #include "geometry.h"
 
-/*!
- * コピーライト情報 /
- * Hack -- Link a copyright message into the executable
- */
-const concptr copyright[5] =
-{
-       "Copyright (c) 1989 James E. Wilson, Robert A. Keoneke",
-       "",
-       "This software may be copied and distributed for educational, research,",
-       "and not for profit purposes provided that this copyright and statement",
-       "are included in all such copies."
-};
-
-int max_macrotrigger = 0; /*!< 現在登録中のマクロ(トリガー)の数 */
-concptr macro_template = NULL; /*!< Angband設定ファイルのT: タグ情報から読み込んだ長いTコードを処理するために利用する文字列ポインタ */
-concptr macro_modifier_chr; /*!< &x# で指定されるマクロトリガーに関する情報を記録する文字列ポインタ */
-concptr macro_modifier_name[MAX_MACRO_MOD]; /*!< マクロ上で取り扱う特殊キーを文字列上で表現するためのフォーマットを記録した文字列ポインタ配列 */
-concptr macro_trigger_name[MAX_MACRO_TRIG]; /*!< マクロのトリガーコード */
-concptr macro_trigger_keycode[2][MAX_MACRO_TRIG];  /*!< マクロの内容 */
-
-int level_up = 0; /*!< レベルアップの際に遅延してcalc_mana()関数上で上昇量を表示するかどうかの判定フラグ */
-
-/*
- * Run-time arguments
- */
-bool arg_fiddle;                       /* Command arg -- Request fiddle mode */
-bool arg_wizard;                       /* Command arg -- Request wizard mode */
-bool arg_sound;                                /* Command arg -- Request special sounds */
-bool arg_music;                                /* Command arg -- Request special musics */
-byte arg_graphics;                     /* Command arg -- Request graphics mode */
-bool arg_monochrome;           /* Command arg -- Request monochrome mode */
-bool arg_force_original;       /* Command arg -- Request original keyset */
-bool arg_force_roguelike;      /* Command arg -- Request roguelike keyset */
-bool arg_bigtile = FALSE;      /* Command arg -- Request big tile mode */
-
-/*
- * Various things
- */
-bool character_generated;      /* The character exists */
-bool character_dungeon;                /* The character has a dungeon */
-bool character_loaded;         /* The character was loaded from a savefile */
-bool character_saved;          /* The character was just saved to a savefile */
-
-bool character_icky;           /* The game is in an icky full screen mode */
-bool character_xtra;           /* The game is in an icky startup mode */
-
-bool creating_savefile;                /* New savefile is currently created */
-
 s16b command_cmd;              /* Current "Angband Command" */
 
 COMMAND_ARG command_arg;       /*!< 各種コマンドの汎用的な引数として扱う / Gives argument of current command */
@@ -90,11 +42,6 @@ bool get_com_no_macros = FALSE;      /* Expand macros in "get_com" or not */
 
 OBJECT_SUBTYPE_VALUE coin_type;        /* Hack -- force coin type */
 
-bool opening_chest;            /* Hack -- prevent chest generation */
-
-bool shimmer_monsters; /* Hack -- optimize multi-hued monsters */
-bool shimmer_objects;  /* Hack -- optimize multi-hued objects */
-
 bool repair_monsters;  /* Hack -- optimize detect monsters */
 bool repair_objects;   /* Hack -- optimize detect objects */
 
@@ -184,11 +131,6 @@ STR_OFFSET quark__num;
  */
 concptr *quark__str;
 
-BIT_FLAGS option_flag[8]; //!< The array of normal options
-BIT_FLAGS option_mask[8]; //!< The array of normal options
-BIT_FLAGS window_flag[8]; //!< The array of window options
-BIT_FLAGS window_mask[8]; //!< The array of window options
-
 /*
  * The array of window pointers
  */
@@ -398,26 +340,6 @@ monsterrace_hook_type get_mon_num2_hook;
 bool (*get_obj_num_hook)(KIND_OBJECT_IDX k_idx);
 
 /*
- * Maximum number of vaults in v_info.txt
- */
-VAULT_IDX max_v_idx;
-
-/*
- * Maximum number of terrain features in f_info.txt
- */
-FEAT_IDX max_f_idx;
-
-/*
- * Maximum number of ego-items in e_info.txt
- */
-EGO_IDX max_e_idx;
-
-/*
- * Maximum number of dungeon in e_info.txt
- */
-DUNGEON_IDX max_d_idx;
-
-/*
  * Flags for initialization
  */
 int init_flags;
@@ -431,37 +353,16 @@ int highscore_fd = -1;
 bool can_save = FALSE;        /* Game can be saved */
 
 
-int cap_mon;
-int cap_mspeed;
-HIT_POINT cap_hp;
-HIT_POINT cap_maxhp;
-STR_OFFSET cap_nickname;
-
-MONRACE_IDX battle_mon[4];
-int sel_monster;
-int battle_odds;
-PRICE kakekin;
-u32b mon_odds[4];
-
 MONSTER_IDX pet_t_m_idx;
 MONSTER_IDX riding_t_m_idx;
 
 MONSTER_IDX today_mon;
 
-bool write_level;
-
 u32b start_time;
 
 bool sukekaku;
 bool new_mane;
 
-bool mon_fight;
-
-bool generate_encounter;
-
-concptr screen_dump = NULL;
-
-
 /*
  * Which dungeon ?
  */
@@ -483,5 +384,5 @@ bool browsing_movie;
 
 /* for snipers */
 bool reset_concent = FALSE;   /* Concentration reset flag */
-bool is_fired = FALSE;
+