OSDN Git Service

ガラスの地形であることを示す地形フラグGLASSを実装. ガラスの地形は以下
[hengband/hengband.git] / src / variable.c
index 2af1b74..bb3242a 100644 (file)
@@ -121,7 +121,7 @@ s16b base_level;        /* Base dungeon level */
 
 s32b turn;                             /* Current game turn */
 s32b dungeon_turn;                     /* Game turn in dungeon */
-s32b old_turn;                 /* Turn when level began (feelings) */
+s32b old_turn;                 /* Turn when level began */
 s32b old_battle;
 
 bool use_sound;                        /* The "sound" mode is enabled */
@@ -216,6 +216,9 @@ bool view_yellow_lite;      /* Use special colors for torch-lit grids */
 bool view_bright_lite; /* Use special colors for 'viewable' grids */
 bool view_granite_lite;        /* Use special colors for wall grids (slow) */
 bool view_special_lite;        /* Use special colors for floor grids (slow) */
+bool view_perma_grids; /* Map remembers all perma-lit grids */
+bool view_torch_grids; /* Map remembers all torch-lit grids */
+bool view_unsafe_grids;        /* Map marked by detect traps */
 bool view_reduce_view; /* Reduce view-radius in town */
 bool fresh_before;     /* Flush output while continuous command */
 bool fresh_after;      /* Flush output after monster's move */
@@ -239,6 +242,7 @@ bool compress_savefile;     /* Compress messages in savefiles */
 bool abbrev_extra;     /* Describe obj's extra resistances by abbreviation */
 bool abbrev_all;       /* Describe obj's all resistances by abbreviation */
 bool exp_need; /* Show the experience needed for next level */
+bool ignore_unview;    /* Ignore whenever any monster does */
 
 
 /*** Game-Play Options ***/
@@ -246,9 +250,6 @@ bool exp_need;      /* Show the experience needed for next level */
 bool stack_force_notes;        /* Merge inscriptions when stacking */
 bool stack_force_costs;        /* Merge discounts when stacking */
 bool expand_list;      /* Expand the power of the list commands */
-bool view_perma_grids; /* Map remembers all perma-lit grids */
-bool view_torch_grids; /* Map remembers all torch-lit grids */
-bool view_unsafe_grids;        /* Map marked by detect traps */
 bool small_levels;     /* Allow unusually small dungeon levels */
 bool always_small_levels;      /* Always create unusually small dungeon levels */
 bool empty_levels;     /* Allow empty 'arena' levels */
@@ -260,7 +261,6 @@ bool send_score;    /* Send score dump to the world score server */
 #endif
 
 bool allow_debug_opts; /* Allow use of debug/cheat options */
-bool autoload_pref_files;
 
 
 /*** Disturbance Options ***/
@@ -325,7 +325,7 @@ bool record_rand_art;       /* Record random artifacts */
 bool record_destroy_uniq;      /* Record when destroy unique monster */
 bool record_fix_quest; /* Record fixed quests */
 bool record_rand_quest;        /* Record random quests */
-bool record_maxdeapth; /* Record movements to deepest level */
+bool record_maxdepth;  /* Record movements to deepest level */
 bool record_stair;     /* Record recall and stair movements */
 bool record_buy;       /* Record purchased items */
 bool record_sell;      /* Record sold items */
@@ -362,11 +362,6 @@ s16b autosave_freq;     /* Autosave frequency */
  * Dungeon variables
  */
 
-byte feeling;                  /* Most recent feeling */
-s16b rating;                   /* Level's current rating */
-
-bool good_item_flag;           /* True if "Artifact" on this level */
-
 bool closing_flag;             /* Dungeon is closing */
 
 
@@ -651,6 +646,7 @@ char angband_sound_name[SOUND_MAX][16] =
        "show",
        "unused",
        "explode",
+       "glass",
 };
 
 
@@ -691,6 +687,12 @@ object_type *o_list;
  */
 monster_type *m_list;
 
+/*
+ * The array to process dungeon monsters [max_m_idx]
+ */
+s16b *mproc_list[MAX_MTIMED];
+s16b mproc_max[MAX_MTIMED]; /* Number of monsters to be processed */
+
 
 /*
  * Maximum number of towns
@@ -1034,7 +1036,7 @@ bool record_rand_art;
 bool record_destroy_uniq;
 bool record_fix_quest;
 bool record_rand_quest;
-bool record_maxdeapth;
+bool record_maxdepth;
 bool record_stair;
 bool record_buy;
 bool record_sell;
@@ -1169,8 +1171,6 @@ int riding_t_m_idx;
 s16b kubi_r_idx[MAX_KUBI];
 s16b today_mon;
 
-monster_type party_mon[MAX_PARTY_MON];
-
 bool write_level;
 
 u32b playtime;