OSDN Git Service

[Refactor] #37353 賭け闘技場に関する定義を bldg.c/h へ移動.
[hengband/hengband.git] / src / variable.c
index 56ef45a..1599975 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# で指定されるマクロトリガーに関する情報を記録する文字列ポインタ */
@@ -35,42 +22,6 @@ concptr macro_trigger_keycode[2][MAX_MACRO_TRIG];  /*!< マクロの内容 */
 
 int level_up = 0; /*!< レベルアップの際に遅延してcalc_mana()関数上で上昇量を表示するかどうかの判定フラグ */
 
-
-/*
- * Savefile version
- */
-byte h_ver_major; /* Savefile version for Hengband 1.1.1 and later */
-byte h_ver_minor;
-byte h_ver_patch;
-byte h_ver_extra;
-
-byte sf_extra;         /* Savefile's encoding key */
-
-byte z_major;           /* Savefile version for Hengband */
-byte z_minor;
-byte z_patch;
-
-/*
- * Savefile information
- */
-u32b sf_system;                        /* Operating system info */
-u32b sf_when;                  /* Time when savefile created */
-u16b sf_lives;                 /* Number of past "lives" with this file */
-u16b sf_saves;                 /* Number of "saves" during this life */
-
-/*
- * 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
  */
@@ -101,15 +52,8 @@ bool msg_flag;                      /* Used in msg_print() for "buffering" */
 
 s16b running;                  /* Current counter for running, if any */
 
-bool invoking_midnight_curse; /*!< 悪夢モード時の真夜中太古の呪い発生処理フラグ */
-
 GAME_TURN old_battle;
 
-bool use_sound;                        /* The "sound" mode is enabled */
-bool use_music;                        /* The "music" mode is enabled */
-bool use_graphics;             /* The "graphics" mode is enabled */
-bool use_bigtile = FALSE;
-
 s16b signal_count;             /* Hack -- Count interupts */
 
 bool inkey_base;               /* See the "inkey()" function */
@@ -120,21 +64,13 @@ 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 */
 
-bool is_loading_now;   /*!< ロード直後にcalc_bonus()時の徳変化、及びsanity_blast()による異常を抑止する */
-
 MONSTER_IDX hack_m_idx = 0;    /* Hack -- see "process_monsters()" */
 MONSTER_IDX hack_m_idx_ii = 0;
 
 bool multi_rew = FALSE;
-char summon_kin_type;   /* Hack, by Julian Lighton: summon 'relatives' */
 
 int total_friends = 0;
 int leaving_quest = 0;
@@ -217,42 +153,6 @@ STR_OFFSET quark__num;
  */
 concptr *quark__str;
 
-
-/*
- * The next "free" index to use
- */
-u32b message__next;
-
-/*
- * The index of the oldest message (none yet)
- */
-u32b message__last;
-
-/*
- * The next "free" offset
- */
-u32b message__head;
-
-/*
- * The offset to the oldest used char (none yet)
- */
-u32b message__tail;
-
-/*
- * The array of offsets, by index [MESSAGE_MAX]
- */
-u32b *message__ptr;
-
-/*
- * The array of chars, by offset [MESSAGE_BUF]
- */
-char *message__buf;
-
-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
  */
@@ -412,21 +312,6 @@ FLOOR_IDX max_floor_id;
  */
 u32b saved_floor_file_sign;
 
-/*
- * Specify attr/char pairs for visual special effects
- * Be sure to use "index & 0x7F" to avoid illegal access
- */
-TERM_COLOR misc_to_attr[256];
-SYMBOL_CODE misc_to_char[256];
-
-
-/*
- * Specify attr/char pairs for p_ptr->inventory_list items (by tval)
- * Be sure to use "index & 0x7F" to avoid illegal access
- */
-TERM_COLOR tval_to_attr[128];
-SYMBOL_CODE tval_to_char[128];
-
 
 /*
  * Keymaps for each "mode" associated with each keypress.
@@ -496,17 +381,6 @@ EGO_IDX max_e_idx;
  */
 DUNGEON_IDX max_d_idx;
 
-
-/*
- * Quest text
- */
-char quest_text[10][80];
-
-/*
- * Current line of the quest text
- */
-int quest_text_line;
-
 /*
  * Flags for initialization
  */
@@ -521,18 +395,6 @@ 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;
 
@@ -545,8 +407,6 @@ u32b start_time;
 bool sukekaku;
 bool new_mane;
 
-bool mon_fight;
-
 bool generate_encounter;
 
 concptr screen_dump = NULL;
@@ -557,11 +417,6 @@ concptr screen_dump = NULL;
  */
 DEPTH *max_dlv;
 
-FEAT_IDX feat_wall_outer;
-FEAT_IDX feat_wall_inner;
-FEAT_IDX feat_wall_solid;
-FEAT_IDX feat_ground_type[100], feat_wall_type[100];
-
 COMMAND_CODE now_message;
 bool use_menu;