OSDN Git Service

[Refactor] #37353 today_mon (グローバル変数側の事実情報)を bldg.c/h へ移動.
[hengband/hengband.git] / src / variable.c
1 /*!
2  * @file variable.c
3  * @brief グローバル変数定義 / Angband variables
4  * @date 2014/10/05
5  * @author
6  * Copyright (c) 1997 Ben Harrison, James E. Wilson, Robert A. Koeneke<br>
7  * <br>
8  * This software may be copied and distributed for educational, research,<br>
9  * and not for profit purposes provided that this copyright and statement<br>
10  * are included in all such copies.  Other copyrights may also apply.<br>
11  */
12
13 #include "angband.h"
14 #include "geometry.h"
15
16
17 bool repair_monsters;   /* Hack -- optimize detect monsters */
18 bool repair_objects;    /* Hack -- optimize detect objects */
19
20
21 /*** Player information ***/
22
23 /*
24  * Static player info record
25  */
26 player_type p_body;
27
28 /*
29  * Pointer to the player info
30  */
31 player_type *p_ptr = &p_body;
32
33
34 MONSTER_IDX pet_t_m_idx;
35 MONSTER_IDX riding_t_m_idx;
36